srtp/srtp.spec

91 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: srtp
Version: 1.6.0
Release: 1mamba
Summary: An implementation of the Secure Real-time Transport Protocol (SRTP)
Group: System/Libraries
Vendor: openmamba
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/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
%description
This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel. These mechanisms are documented in the Internet Drafts in the doc/ subdirectory. The SRTP API is documented in include/srtp.h, and the library is in libsrtp.a (after compilation).
%package -n lib%{name}
Group: System/Libraries
Summary: An implementation of the Secure Real-time Transport Protocol (SRTP)
%description -n lib%{name}
This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel. These mechanisms are documented in the Internet Drafts in the doc/ subdirectory. The SRTP API is documented in include/srtp.h, and the library is in libsrtp.a (after compilation).
This package contains shared library for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: An implementation of the Secure Real-time Transport Protocol (SRTP)
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n libsrtp-%{version}
#%patch0 -p1
%build
%configure
%make all shared_library
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsrtp.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/srtp
%{_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
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4_20140620cvs-1mamba
- update to 1.4.4_20140620cvs
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
- update to 1.4.4
* Fri Jun 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- package created using the webbuild interface