libzrtpcpp/libzrtpcpp.spec

changeset 14
bc3cd9a53ab5
equal deleted inserted replaced
-1:000000000000 0:70a1d045afe7
1 %define _libname libzrtpcpp
2 %define _devname libzrtpcpp-devel
3
4 Summary: A ccrtp extension for zrtp/zfone support
5 Name: zrtpcpp
6 Version: 1.4.3
7 Release: 0
8 License: GPL
9 Group: Development/Libraries
10 URL: http://www.gnutelephony.org/index.php/GNU_ZRTP
11 Source0: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13 Packager: Michael Schloh von Bennewitz
14 BuildRequires: libccrtp-devel >= 1.5.0
15 BuildRequires: pkgconfig
16 BuildRequires: libstdc++-devel
17
18 %description
19 This library is a GPL licensed extension to the GNU RTP Stack (GNU ccrtp).
20 This extension offers a C++ implementation of Phil Zimmermann's ZRTP
21 specification. The current release is based on
22 draft-zimmermann-avt-zrtp-12.txt which is intended to become the
23 RFC. Phil's Zfone site provides more
24 information, see http://zfoneproject.com/index.html
25
26 This implementation was tested to work with Phil's Zfone implementation
27 of the ZRTP spefication.
28
29 Applications that use GNU ccrtp can use this library to use ZRTP and to
30 encrypt any RTP (not RTCP) communication. See the demo programs how to
31 use this.
32
33 This release supports the basic ZRTP features, it does not support
34 preshared specified in the draft. Also the specified Asterisk PBX mode
35 is not supported.
36
37 %package -n %{_libname}
38 Group: System/Libraries
39 Summary: Runtime library for GNU ZRTP Stack
40 Requires: libccrtp >= 1.5.0
41 Provides: %{name} = %{version}-%{release}
42
43 %package -n %{_devname}
44 Group: Development/Libraries
45 Summary: Headers and static link library for libzrtpcpp.
46 Requires: %{name} = %{version}
47 Requires: libccrtp-devel >= 1.5.0
48 Provides: %{name}-devel = %{version}-%{release}
49
50 %description -n %{_libname}
51 This package contains the runtime library needed by applications that use
52 the GNU ZRTP stack.
53
54 %description -n %{_devname}
55 This package provides the header files, link libraries, and
56 documentation for building applications that use libzrtpcpp.
57
58 %prep
59 %setup -n libzrtpcpp-%{version}
60 %build
61 %configure
62 %{__make} %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS"
63
64 %install
65
66 %makeinstall
67 %{__strip} %{buildroot}/%{_libdir}/lib*.so.*.*
68 %{__rm} -rf %{buildroot}/%{_infodir}
69
70 %clean
71 %{__rm} -rf %{buildroot}
72
73 %files -n %{_libname}
74 %defattr(-,root,root)
75 %doc AUTHORS COPYING README NEWS INSTALL
76 %{_libdir}/*.so.*
77
78 %files -n %{_devname}
79 %defattr(-,root,root)
80 %{_libdir}/*.a
81 %{_libdir}/*.so
82 %{_libdir}/*.la
83 %{_libdir}/pkgconfig/*.pc
84 %{_includedir}/libzrtpcpp/*.h
85
86 %post -n %{_libname} -p /sbin/ldconfig
87
88 %postun -n %{_devname} -p /sbin/ldconfig
89
90 %changelog
91 * Wed Feb 18 2009 - michael@schloh.com
92 - Update to version 1.4.3 and reformat packaging
93
94 * Fri Jan 26 2009 - werner.dittmann@t-online.de
95 - Update to version 1.4.2 to support the latest ZRTP
96 specification draft-zimmermann-avt-zrtp-12
97
98 * Fri Aug 22 2008 - dyfet@gnutelephony.org
99 - Adapted for newer library naming conventions.
100
101 * Tue Dec 11 2007 - werner.dittmann@t-online.de
102 - this is the first spec file for version 1.x.x
103 - remove the .la file in devel package
104 - use default file atttribute instead of 755
105
106 * Sat Apr 18 2007 - werner.dittmann@t-online.de
107 - set version to 1.1.0
108 - GNU ZRTP is compatible with the latest Zfone Beta
109 from April 2 2007

mercurial