summaryrefslogtreecommitdiff
path: root/packaging/libsrtp.spec
diff options
context:
space:
mode:
authorHyunil <hyunil46.park@samsung.com>2020-04-09 14:54:46 +0900
committerHyunil <hyunil46.park@samsung.com>2020-04-09 15:00:33 +0900
commit0dab280808ee678cf54364f9aabe3b9b70504540 (patch)
treedd2552a48cb910565cda79b823c356cccdc5717d /packaging/libsrtp.spec
parent14bb6c8aaf0d59ecc3588e547cc6ed66335943be (diff)
downloadlibsrtp-0dab280808ee678cf54364f9aabe3b9b70504540.tar.gz
libsrtp-0dab280808ee678cf54364f9aabe3b9b70504540.tar.bz2
libsrtp-0dab280808ee678cf54364f9aabe3b9b70504540.zip
Apply tizen patchessubmit/tizen/20200410.030609
- Install crypto_types.h to devel package for gstwebrtc-demo app Change-Id: Ie0e36aab7117f64f7d00081b489e7d2b61e93fae Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Diffstat (limited to 'packaging/libsrtp.spec')
-rw-r--r--packaging/libsrtp.spec53
1 files changed, 53 insertions, 0 deletions
diff --git a/packaging/libsrtp.spec b/packaging/libsrtp.spec
new file mode 100644
index 0000000..5c84a90
--- /dev/null
+++ b/packaging/libsrtp.spec
@@ -0,0 +1,53 @@
+Name: libsrtp
+Summary: This package provides an implementation of the Secure Real-time Transport Protocol (SRTP)
+Version: 2.3.0
+Release: 1
+Group: Multimedia/Libraries
+License: BSD-3-Clause
+Source0: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+BuildRequires: cmake
+BuildRequires: pkgconfig(glib-2.0)
+
+%description
+This package provides an implementation of the Secure Real-time Transport Protocol
+
+%package devel
+Summary: libsrtp headers and libraries for development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+libsrtp headers and libraries for development.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%cmake . -DFULLVER=%{version}
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_bindir}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{_libdir}/*.so
+%exclude %{_libdir}/debug
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/srtp2/*
+%{_libdir}/pkgconfig/*.pc
+