%define major 0 %define libname %mklibname zrtpcpp %{major} %define develname %mklibname zrtpcpp -d Summary: A ccrtp extension for zrtp/Zfone support Name: libzrtpcpp Version: 1.3.0 Release: %mkrel 1 License: GPL Group: System/Libraries URL: http://www.gnu.org/software/commoncpp/commoncpp.html Source0: ftp://ftp.gnu.org/gnu/cccrtp/libzrtpcpp-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/cccrtp/libzrtpcpp-%{version}.tar.gz.sig Requires: ccrtp >= 1.6.1 BuildRequires: ccrtp-devel >= 1.6.1 BuildRequires: pkgconfig BuildRequires: libstdc++-devel BuildRequires: libgcrypt-devel BuildRequires: libtool BuildRequires: autoconf2.5 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This library is a GPL licensed extension to the GNU RTP Stack, ccrtp, that offers compatibility with Phil Zimmermann's zrtp/Zfone voice encryption, and which can be directly embedded into telephony applications. The current release is based on a beta draft of the zrtp spec. %package -n %{libname} Summary: Abstract asynchronous event notification library Group: System/Libraries Provides: %{name} = %{version}-%{release} %description -n %{libname} This library is a GPL licensed extension to the GNU RTP Stack, ccrtp, that offers compatibility with Phil Zimmermann's zrtp/Zfone voice encryption, and which can be directly embedded into telephony applications. The current release is based on a beta draft of the zrtp spec. %package -n %{develname} Summary: Static library and header files for the libzrtpcpp library Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} %description -n %{develname} This library is a GPL licensed extension to the GNU RTP Stack, ccrtp, that offers compatibility with Phil Zimmermann's zrtp/Zfone voice encryption, and which can be directly embedded into telephony applications. The current release is based on a beta draft of the zrtp spec. This package provides the header files, link libraries, and documentation for building applications that use libzrtpcpp. %prep %setup -q %build %configure2_5x %make LDFLAGS="-s" CXXFLAGS="%{optflags}" %install rm -rf %{buildroot} %makeinstall rm -rf %{buildroot}/%{_infodir} %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %clean rm -rf %{buildroot} %files -n %{libname} %defattr(-,root,root) %doc AUTHORS COPYING README %{_libdir}/*.so.%{major} %{_libdir}/*.so.%{major}.* %files -n %{develname} %defattr(-,root,root) %dir %{_includedir}/libzrtpcpp %{_includedir}/libzrtpcpp/*.h %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/pkgconfig/*.pc %changelog * Sun Aug 17 2008 Emmanuel Andry <eandry@mandriva.org> 1.3.0-1mdv2009.0 + Revision: 272980 - New version - fix major * Mon Jul 28 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.0-3mdv2009.0 + Revision: 250755 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun Feb 10 2008 Emmanuel Andry <eandry@mandriva.org> 1.0.0-1mdv2008.1 + Revision: 164816 - New version - new devel policy - new major * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.9.0-3mdv2008.1 + Revision: 136572 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Feb 25 2007 Emmanuel Andry <eandry@mandriva.org> 0.9.0-2mdv2007.0 + Revision: 125490 - rebuild * Tue Dec 12 2006 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-1mdv2007.1 + Revision: 95789 - Import libzrtpcpp * Tue Dec 12 2006 Oden Eriksson <oeriksson@mandriva.com> 0.9.0-1mdv2007.1 - initial Mandriva package