1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libzrtpcpp/libzrtpcpp.spec Sat Feb 21 16:33:28 2009 +0100 1.3 @@ -0,0 +1,109 @@ 1.4 +%define _libname libzrtpcpp 1.5 +%define _devname libzrtpcpp-devel 1.6 + 1.7 +Summary: A ccrtp extension for zrtp/zfone support 1.8 +Name: zrtpcpp 1.9 +Version: 1.4.3 1.10 +Release: 0 1.11 +License: GPL 1.12 +Group: Development/Libraries 1.13 +URL: http://www.gnutelephony.org/index.php/GNU_ZRTP 1.14 +Source0: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz 1.15 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 1.16 +Packager: Michael Schloh von Bennewitz 1.17 +BuildRequires: libccrtp-devel >= 1.5.0 1.18 +BuildRequires: pkgconfig 1.19 +BuildRequires: libstdc++-devel 1.20 + 1.21 +%description 1.22 +This library is a GPL licensed extension to the GNU RTP Stack (GNU ccrtp). 1.23 +This extension offers a C++ implementation of Phil Zimmermann's ZRTP 1.24 +specification. The current release is based on 1.25 +draft-zimmermann-avt-zrtp-12.txt which is intended to become the 1.26 +RFC. Phil's Zfone site provides more 1.27 +information, see http://zfoneproject.com/index.html 1.28 + 1.29 +This implementation was tested to work with Phil's Zfone implementation 1.30 +of the ZRTP spefication. 1.31 + 1.32 +Applications that use GNU ccrtp can use this library to use ZRTP and to 1.33 +encrypt any RTP (not RTCP) communication. See the demo programs how to 1.34 +use this. 1.35 + 1.36 +This release supports the basic ZRTP features, it does not support 1.37 +preshared specified in the draft. Also the specified Asterisk PBX mode 1.38 +is not supported. 1.39 + 1.40 +%package -n %{_libname} 1.41 +Group: System/Libraries 1.42 +Summary: Runtime library for GNU ZRTP Stack 1.43 +Requires: libccrtp >= 1.5.0 1.44 +Provides: %{name} = %{version}-%{release} 1.45 + 1.46 +%package -n %{_devname} 1.47 +Group: Development/Libraries 1.48 +Summary: Headers and static link library for libzrtpcpp. 1.49 +Requires: %{name} = %{version} 1.50 +Requires: libccrtp-devel >= 1.5.0 1.51 +Provides: %{name}-devel = %{version}-%{release} 1.52 + 1.53 +%description -n %{_libname} 1.54 +This package contains the runtime library needed by applications that use 1.55 +the GNU ZRTP stack. 1.56 + 1.57 +%description -n %{_devname} 1.58 +This package provides the header files, link libraries, and 1.59 +documentation for building applications that use libzrtpcpp. 1.60 + 1.61 +%prep 1.62 +%setup -n libzrtpcpp-%{version} 1.63 +%build 1.64 +%configure 1.65 +%{__make} %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" 1.66 + 1.67 +%install 1.68 + 1.69 +%makeinstall 1.70 +%{__strip} %{buildroot}/%{_libdir}/lib*.so.*.* 1.71 +%{__rm} -rf %{buildroot}/%{_infodir} 1.72 + 1.73 +%clean 1.74 +%{__rm} -rf %{buildroot} 1.75 + 1.76 +%files -n %{_libname} 1.77 +%defattr(-,root,root) 1.78 +%doc AUTHORS COPYING README NEWS INSTALL 1.79 +%{_libdir}/*.so.* 1.80 + 1.81 +%files -n %{_devname} 1.82 +%defattr(-,root,root) 1.83 +%{_libdir}/*.a 1.84 +%{_libdir}/*.so 1.85 +%{_libdir}/*.la 1.86 +%{_libdir}/pkgconfig/*.pc 1.87 +%{_includedir}/libzrtpcpp/*.h 1.88 + 1.89 +%post -n %{_libname} -p /sbin/ldconfig 1.90 + 1.91 +%postun -n %{_devname} -p /sbin/ldconfig 1.92 + 1.93 +%changelog 1.94 +* Wed Feb 18 2009 - michael@schloh.com 1.95 +- Update to version 1.4.3 and reformat packaging 1.96 + 1.97 +* Fri Jan 26 2009 - werner.dittmann@t-online.de 1.98 +- Update to version 1.4.2 to support the latest ZRTP 1.99 + specification draft-zimmermann-avt-zrtp-12 1.100 + 1.101 +* Fri Aug 22 2008 - dyfet@gnutelephony.org 1.102 +- Adapted for newer library naming conventions. 1.103 + 1.104 +* Tue Dec 11 2007 - werner.dittmann@t-online.de 1.105 +- this is the first spec file for version 1.x.x 1.106 +- remove the .la file in devel package 1.107 +- use default file atttribute instead of 755 1.108 + 1.109 +* Sat Apr 18 2007 - werner.dittmann@t-online.de 1.110 +- set version to 1.1.0 1.111 +- GNU ZRTP is compatible with the latest Zfone Beta 1.112 + from April 2 2007