michael@5: %define _libname libzrtpcpp michael@5: %define _devname libzrtpcpp-devel michael@5: michael@5: Summary: A ccrtp extension for zrtp/zfone support michael@5: Name: zrtpcpp michael@5: Version: 1.4.3 michael@5: Release: 0 michael@5: License: GPL michael@5: Group: Development/Libraries michael@5: URL: http://www.gnutelephony.org/index.php/GNU_ZRTP michael@5: Source0: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz michael@5: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@5: Packager: Michael Schloh von Bennewitz michael@5: BuildRequires: libccrtp-devel >= 1.5.0 michael@5: BuildRequires: pkgconfig michael@5: BuildRequires: libstdc++-devel michael@5: michael@5: %description michael@5: This library is a GPL licensed extension to the GNU RTP Stack (GNU ccrtp). michael@5: This extension offers a C++ implementation of Phil Zimmermann's ZRTP michael@5: specification. The current release is based on michael@5: draft-zimmermann-avt-zrtp-12.txt which is intended to become the michael@5: RFC. Phil's Zfone site provides more michael@5: information, see http://zfoneproject.com/index.html michael@5: michael@5: This implementation was tested to work with Phil's Zfone implementation michael@5: of the ZRTP spefication. michael@5: michael@5: Applications that use GNU ccrtp can use this library to use ZRTP and to michael@5: encrypt any RTP (not RTCP) communication. See the demo programs how to michael@5: use this. michael@5: michael@5: This release supports the basic ZRTP features, it does not support michael@5: preshared specified in the draft. Also the specified Asterisk PBX mode michael@5: is not supported. michael@5: michael@5: %package -n %{_libname} michael@5: Group: System/Libraries michael@5: Summary: Runtime library for GNU ZRTP Stack michael@5: Requires: libccrtp >= 1.5.0 michael@5: Provides: %{name} = %{version}-%{release} michael@5: michael@5: %package -n %{_devname} michael@5: Group: Development/Libraries michael@5: Summary: Headers and static link library for libzrtpcpp. michael@5: Requires: %{name} = %{version} michael@5: Requires: libccrtp-devel >= 1.5.0 michael@5: Provides: %{name}-devel = %{version}-%{release} michael@5: michael@5: %description -n %{_libname} michael@5: This package contains the runtime library needed by applications that use michael@5: the GNU ZRTP stack. michael@5: michael@5: %description -n %{_devname} michael@5: This package provides the header files, link libraries, and michael@5: documentation for building applications that use libzrtpcpp. michael@5: michael@5: %prep michael@5: %setup -n libzrtpcpp-%{version} michael@5: %build michael@5: %configure michael@5: %{__make} %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" michael@5: michael@5: %install michael@5: michael@5: %makeinstall michael@5: %{__strip} %{buildroot}/%{_libdir}/lib*.so.*.* michael@5: %{__rm} -rf %{buildroot}/%{_infodir} michael@5: michael@5: %clean michael@5: %{__rm} -rf %{buildroot} michael@5: michael@5: %files -n %{_libname} michael@5: %defattr(-,root,root) michael@5: %doc AUTHORS COPYING README NEWS INSTALL michael@5: %{_libdir}/*.so.* michael@5: michael@5: %files -n %{_devname} michael@5: %defattr(-,root,root) michael@5: %{_libdir}/*.a michael@5: %{_libdir}/*.so michael@5: %{_libdir}/*.la michael@5: %{_libdir}/pkgconfig/*.pc michael@5: %{_includedir}/libzrtpcpp/*.h michael@5: michael@5: %post -n %{_libname} -p /sbin/ldconfig michael@5: michael@5: %postun -n %{_devname} -p /sbin/ldconfig michael@5: michael@5: %changelog michael@5: * Wed Feb 18 2009 - michael@schloh.com michael@5: - Update to version 1.4.3 and reformat packaging michael@5: michael@5: * Fri Jan 26 2009 - werner.dittmann@t-online.de michael@5: - Update to version 1.4.2 to support the latest ZRTP michael@5: specification draft-zimmermann-avt-zrtp-12 michael@5: michael@5: * Fri Aug 22 2008 - dyfet@gnutelephony.org michael@5: - Adapted for newer library naming conventions. michael@5: michael@5: * Tue Dec 11 2007 - werner.dittmann@t-online.de michael@5: - this is the first spec file for version 1.x.x michael@5: - remove the .la file in devel package michael@5: - use default file atttribute instead of 755 michael@5: michael@5: * Sat Apr 18 2007 - werner.dittmann@t-online.de michael@5: - set version to 1.1.0 michael@5: - GNU ZRTP is compatible with the latest Zfone Beta michael@5: from April 2 2007