From bada591b1f2924e1aba1e8a5152d725a5aa9477e9529822e39e86b54ce9703bf Mon Sep 17 00:00:00 2001 From: Werner Dittmann Date: Mon, 1 Aug 2011 15:59:26 +0000 Subject: [PATCH] Update to version 2, use new GNU uCommon and GNU ccRTP v2.0 libraries OBS-URL: https://build.opensuse.org/package/show/network:telephony/libzrtpcpp?expand=0&rev=9 --- libzrtpcpp-1.6.0.tar.bz2 | 3 -- libzrtpcpp-2.0.0.tar.bz2 | 3 ++ libzrtpcpp.changes | 6 +++ libzrtpcpp.spec | 82 +++++++++++----------------------------- 4 files changed, 31 insertions(+), 63 deletions(-) delete mode 100644 libzrtpcpp-1.6.0.tar.bz2 create mode 100644 libzrtpcpp-2.0.0.tar.bz2 diff --git a/libzrtpcpp-1.6.0.tar.bz2 b/libzrtpcpp-1.6.0.tar.bz2 deleted file mode 100644 index 7e83028..0000000 --- a/libzrtpcpp-1.6.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f23bede7665a5b99aa979b0b784c2218789417cb3a42bbc77b487d77a0c044c2 -size 328876 diff --git a/libzrtpcpp-2.0.0.tar.bz2 b/libzrtpcpp-2.0.0.tar.bz2 new file mode 100644 index 0000000..ec74339 --- /dev/null +++ b/libzrtpcpp-2.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:013e51f95ba4b8b4b01ecb9d41179182356ecbece11de4eb06110245d8ce5abd +size 160310 diff --git a/libzrtpcpp.changes b/libzrtpcpp.changes index dfd4068..392819a 100644 --- a/libzrtpcpp.changes +++ b/libzrtpcpp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 1 15:54:33 UTC 2011 - Werner.Dittmann@t-online.de + +- update to version 2.0 to be in sync with version number of GNU ccRTP + * Update configuration to use the new GNU uCommon library + ------------------------------------------------------------------- Sat Jan 8 09:10:00 MEZ 2011 - Werner.Dittmann@t-online.de diff --git a/libzrtpcpp.spec b/libzrtpcpp.spec index e5ee72e..b6b9c4c 100644 --- a/libzrtpcpp.spec +++ b/libzrtpcpp.spec @@ -1,5 +1,5 @@ # -# spec file for package libzrtpcpp (Version 1.6.0) +# spec file for package libzrtpcpp (Version 2.0.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -16,16 +16,19 @@ # Name: libzrtpcpp -Summary: A ccrtp extension for ZRTP support -BuildRequires: gcc-c++ libgcrypt-devel pkgconfig cmake -BuildRequires: libccrtp-devel >= 1.8.0 -Version: 1.6.0 +Version: 2.0.0 Release: 0 -License: GPL v3 or later -Group: Development/Libraries/Other +License: GPLv3+ +Summary: A ccrtp extension for ZRTP support Url: http://www.gnu.org/software/commoncpp/commoncpp.html +Group: Development/Libraries/Other Source0: %{name}-%{version}.tar.bz2 Source1: rpmlintrc +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libccrtp-devel >= 2.0.0 +BuildRequires: libopenssl-devel >= 0.9.8 +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -34,27 +37,17 @@ that offers compatibility with Phil Zimmermann's zrtp/Zfone voice encryption, and which can be directly embedded into telephony applications. - -%description -n libzrtpcpp -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 +License: GPLv3+ +Summary: Headers and link library for libzrtpcpp Group: Development/Libraries/Other -Summary: Headers and static link library for libzrtpcpp -Requires: libzrtpcpp = %{version} libccrtp-devel +Requires: libccrtp-devel >= 2.0.0 +Requires: libzrtpcpp = %{version} %description devel This package provides the header files, link libraries, and documentation for building applications that use libzrtpcpp. - - %prep %setup -q @@ -66,19 +59,20 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DSYSCONFDIR=%{_sysconfdir} \ -DMANDIR=%{_mandir} \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ - -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ - -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ - .. + -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \ + .. make %{?_smp_mflags} %install cd build -make install DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot} +%make_install %clean -rm -rf "$RPM_BUILD_ROOT" +rm -rf %{buildroot} %files -n libzrtpcpp %defattr(-,root,root,0755) @@ -92,40 +86,8 @@ rm -rf "$RPM_BUILD_ROOT" %{_includedir}/libzrtpcpp/*.h %dir %{_includedir}/libzrtpcpp -%post -n libzrtpcpp -p /sbin/ldconfig +%post -p /sbin/ldconfig -%postun -n libzrtpcpp -p /sbin/ldconfig +%postun -p /sbin/ldconfig %changelog -* Mon Dec 27 2010 - Werner Dittmann -- Add Skein MAC authentication algorithm -- lots of documentation added (doxygen ready) -- some code cleanup - -* Sun Oct 11 2009 - Werner Dittmann -- Fix multistream problem -- add DH2048 mode -- update cipher selection to match latest draft (15x) -- Test with zfone3 with Ping packet mode enabled -- some code cleanup - -* Wed Jun 24 2009 - David Sugar -- Spec updated per current Fedora & CentOS policies. -- Updated release 1.4.5 has all mandatory IETF interop requirements. - -* Fri Jan 26 2009 - Werner Dittmann -- Update to version 1.4.2 to support the latest ZRTP - specification draft-zimmermann-avt-zrtp-12 - -* Fri Aug 22 2008 - David Sugar -- Adapted for newer library naming conventions. - -* Tue Dec 11 2007 - Werner Dittmann -- this is the first spec file for version 1.x.x -- remove the .la file in devel package -- use default file atttribute instead of 755 - -* Sat Apr 18 2007 - Werner Dittmann -- set version to 1.1.0 -- GNU ZRTP is compatible with the latest Zfone Beta - from April 2 2007