# # spec file for package libzrtpcpp (Version 1.0.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libzrtpcpp Summary: a ccrtp extension for zrtp/Zfone support Requires: ccrtp >= 1.5.0 BuildRequires: ccrtp-devel >= 1.5.0 gcc gcc-c++ libgcc libgcrypt-devel libstdc++-devel openssl-devel pkgconfig Version: 1.0.1 Release: 1 License: GPL v3 or later Group: Development/Libraries/Other Url: http://www.gnu.org/software/commoncpp/commoncpp.html Source0: ftp://ftp.gnu.org/gnu/cccrtp/%{name}-%{version}.tar.bz2 Patch1: %name-%version-compiler_warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %package -n libzrtpcpp1 License: GPL v2 or later; LGPL v2.1 or later Group: Development/Libraries/Other Summary: a ccrtp extension for zrtp/Zfone support Requires: ccrtp >= 1.5.0 Provides: %{name} = %{version} Obsoletes: %{name} <= %{version} %description -n libzrtpcpp1 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. %package devel License: GPL v3 or later Group: Development/Libraries/Other Summary: Headers and static link library for libzrtpcpp Requires: %{name} = %{version} Requires: ccrtp-devel >= 1.5.0 Requires: libgcrypt-devel commoncpp2-devel openssl-devel %description devel This package provides the header files, link libraries, and documentation for building applications that use libzrtpcpp. %prep %setup -q %patch1 %build %configure make %{?jobs:-j%jobs} %install %makeinstall %clean rm -rf %{buildroot} %files -n libzrtpcpp1 %defattr(-,root,root,0755) %doc AUTHORS COPYING README %{_libdir}/*.so.* %files devel %defattr(-,root,root,0755) %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/pkgconfig/*.pc %{_includedir}/libzrtpcpp/*.h %dir %{_includedir}/libzrtpcpp %post -n libzrtpcpp1 -p /sbin/ldconfig %postun -n libzrtpcpp1 -p /sbin/ldconfig %changelog * Wed Apr 02 2008 hvogel@suse.de - update to version 1.0.1 * various bugfixes - add libzrtpcpp1 sub-package * Tue Mar 27 2007 mskibbe@suse.de - fix compiler warnings - fix changlog date problems * Fri Mar 02 2007 mskibbe@suse.de - libzrtpcpp-devel has a broken epoch and packaging bugs (#249532) * Thu Feb 15 2007 mskibbe@suse.de - change package for SuSE * Sun Oct 15 2006 cs@linux-administrator.com - initial package build for SuSE 10.1