update to 1.6.0 [release 1.6.0-1mamba;Fri Nov 17 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 18:06:38 +01:00
parent 80eea3d43c
commit e469dc3806

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.6.0-1mamba
- update to 1.6.0
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4_20140620git-1mamba
- update to 1.4.4_20140620git