srtp/srtp.spec

96 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: srtp
Version: 2.4.2
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: 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
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}/libsrtp2.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/srtp2
%{_includedir}/srtp2/*.h
%{_libdir}/libsrtp2.a
%{_libdir}/libsrtp2.so
%{_libdir}/pkgconfig/libsrtp2.pc
%doc CHANGES
%changelog
* Tue Sep 21 2021 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Fri Sep 10 2021 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* 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