From e469dc3806dba364344089081cd605dc2b8b2470 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:06:38 +0100 Subject: [PATCH] update to 1.6.0 [release 1.6.0-1mamba;Fri Nov 17 2017] --- srtp.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/srtp.spec b/srtp.spec index aa48482..bbcc43a 100644 --- a/srtp.spec +++ b/srtp.spec @@ -1,5 +1,5 @@ Name: srtp -Version: 1.4.4_20140620git +Version: 1.6.0 Release: 1mamba Summary: An implementation of the Secure Real-time Transport Protocol (SRTP) Group: System/Libraries @@ -8,10 +8,12 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://srtp.sourceforge.net/srtp.html #Source: http://downloads.sourceforge.net/project/srtp/srtp/%{version}/srtp-%{version}.tar.gz -Source: https://github.com/cisco/libsrtp.git/master/libsrtp-%{version}.tar.bz2 +Source: https://github.com/cisco/libsrtp.git/v%{version}/libsrtp-%{version}.tar.bz2 Patch0: srtp-1.4.4_20140620git-soname.patch License: BSD ## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpcap-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -39,20 +41,17 @@ This package contains libraries and header files for developing applications tha %prep %setup -q -n libsrtp-%{version} -%patch0 -p1 +#%patch0 -p1 %build %configure -%make all libsrtp.so +%make all shared_library %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -ln -s libsrtp.so.0.0.0 %{buildroot}%{_libdir}/libsrtp.so.0 -ln -s libsrtp.so.0.0.0 %{buildroot}%{_libdir}/libsrtp.so - %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -70,10 +69,14 @@ ln -s libsrtp.so.0.0.0 %{buildroot}%{_libdir}/libsrtp.so %{_includedir}/srtp/*.h %{_libdir}/libsrtp.a %{_libdir}/libsrtp.so +%{_libdir}/pkgconfig/libsrtp.pc %doc CHANGES README TODO %changelog +* Fri Nov 17 2017 Silvan Calarco 1.6.0-1mamba +- update to 1.6.0 + * Fri Jun 20 2014 Silvan Calarco 1.4.4_20140620git-1mamba - update to 1.4.4_20140620git