libzrtpcpp/libzrtpcpp.spec

Sat, 21 Feb 2009 16:33:28 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 21 Feb 2009 16:33:28 +0100
changeset 5
974f3946908a
permissions
-rw-r--r--

Import custom package specs to build for undistributed platforms.
This allows installation of twinkle and its dependencies on some
operating systems not providing it in default package repositories.

     1 %define _libname libzrtpcpp
     2 %define _devname libzrtpcpp-devel
     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
    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
    26 This implementation was tested to work with Phil's Zfone implementation
    27 of the ZRTP spefication. 
    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.
    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. 
    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}
    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}
    50 %description -n %{_libname}
    51 This package contains the runtime library needed by applications that use 
    52 the GNU ZRTP stack.
    54 %description -n %{_devname}
    55 This package provides the header files, link libraries, and
    56 documentation for building applications that use libzrtpcpp.
    58 %prep
    59 %setup -n libzrtpcpp-%{version}
    60 %build
    61 %configure
    62 %{__make} %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS"
    64 %install
    66 %makeinstall
    67 %{__strip} %{buildroot}/%{_libdir}/lib*.so.*.*
    68 %{__rm} -rf %{buildroot}/%{_infodir} 
    70 %clean
    71 %{__rm} -rf %{buildroot}
    73 %files -n %{_libname}
    74 %defattr(-,root,root)
    75 %doc AUTHORS COPYING README NEWS INSTALL
    76 %{_libdir}/*.so.*
    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
    86 %post -n %{_libname} -p /sbin/ldconfig
    88 %postun -n %{_devname} -p /sbin/ldconfig
    90 %changelog
    91 * Wed Feb 18 2009 - michael@schloh.com
    92 - Update to version 1.4.3 and reformat packaging
    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
    98 * Fri Aug 22 2008 - dyfet@gnutelephony.org
    99 - Adapted for newer library naming conventions.
   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
   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