Name: srtp Version: 1.4.4 Release: 1%{?dist} Summary: Secure Real-Time Transport Protocol (SRTP) Library Group: Development/Libraries License: BSD URL: http://srtp.sourceforge.net/srtp.html Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: libsrtp-1.4.4-shared.patch BuildRequires: libtool %description :-) %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Summary: Secure Real-Time Transport Protocol (SRTP) Library %description devel The libSRTP library is an open source implementation of the Secure Real-time Transport Protocol (SRTP) originally authored by Cisco Systems, Inc. SRTP is a security profile for RTP that adds confidentiality, message authentication, and replay protection to that protocol. It is specified in RFC 3711. More information about the SRTP protocol itself can be found on the Secure RTP page. Author: -------- David A. McGrew , Cisco Systems, Inc. %package static Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Summary: Secure Real-Time Transport Protocol (SRTP) Library %description static The libSRTP library is an open source implementation of the Secure Real-time Transport Protocol (SRTP) originally authored by Cisco Systems, Inc. SRTP is a security profile for RTP that adds confidentiality, message authentication, and replay protection to that protocol. It is specified in RFC 3711. More information about the SRTP protocol itself can be found on the Secure RTP page. Author: -------- David A. McGrew , Cisco Systems, Inc. %prep %setup -q -n %{name} %patch0 -p2 for file in doc/draft-irtf-cfrg-icm-00.txt; do sed "s|\r||g" $file > $file.new && \ touch -r $file $file.new && \ mv $file.new $file done %build %{__autoconf} %{__autoheader} %configure \ --enable-pic \ --enable-generic-aesicm # --enable-gdoi # FIXME: Does not work: # --enable-kernel-linux make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc CHANGES LICENSE README TODO %files devel %defattr(-,root,root,-) %doc CHANGES LICENSE README TODO VERSION doc/*.pdf doc/*.txt %{_libdir}/*.la %{_includedir}/%{name} %{_libdir}/lib*.so* #%{_libdir}/lib*.so.*.*.* %files static %defattr(-,root,root,-) %{_libdir}/libsrtp.a %changelog * Fri Jul 03 2009 Itamar Reis Peixoto 1.4.4-1 - Initial RPM for fedora 11