1
0
forked from pool/libzrtpcpp

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
This commit is contained in:
Werner Dittmann 2011-08-01 15:59:26 +00:00 committed by Git OBS Bridge
parent 44463f3aa6
commit bada591b1f
4 changed files with 31 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f23bede7665a5b99aa979b0b784c2218789417cb3a42bbc77b487d77a0c044c2
size 328876

3
libzrtpcpp-2.0.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:013e51f95ba4b8b4b01ecb9d41179182356ecbece11de4eb06110245d8ce5abd
size 160310

View File

@ -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 Sat Jan 8 09:10:00 MEZ 2011 - Werner.Dittmann@t-online.de

View File

@ -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. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -16,16 +16,19 @@
# #
Name: libzrtpcpp Name: libzrtpcpp
Summary: A ccrtp extension for ZRTP support Version: 2.0.0
BuildRequires: gcc-c++ libgcrypt-devel pkgconfig cmake
BuildRequires: libccrtp-devel >= 1.8.0
Version: 1.6.0
Release: 0 Release: 0
License: GPL v3 or later License: GPLv3+
Group: Development/Libraries/Other Summary: A ccrtp extension for ZRTP support
Url: http://www.gnu.org/software/commoncpp/commoncpp.html Url: http://www.gnu.org/software/commoncpp/commoncpp.html
Group: Development/Libraries/Other
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Source1: rpmlintrc 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -34,27 +37,17 @@ that offers compatibility with Phil Zimmermann's zrtp/Zfone voice
encryption, and which can be directly embedded into telephony encryption, and which can be directly embedded into telephony
applications. 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 %package devel
License: GPL v3 or later License: GPLv3+
Summary: Headers and link library for libzrtpcpp
Group: Development/Libraries/Other Group: Development/Libraries/Other
Summary: Headers and static link library for libzrtpcpp Requires: libccrtp-devel >= 2.0.0
Requires: libzrtpcpp = %{version} libccrtp-devel Requires: libzrtpcpp = %{version}
%description devel %description devel
This package provides the header files, link libraries, and This package provides the header files, link libraries, and
documentation for building applications that use libzrtpcpp. documentation for building applications that use libzrtpcpp.
%prep %prep
%setup -q %setup -q
@ -66,8 +59,8 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DSYSCONFDIR=%{_sysconfdir} \ -DSYSCONFDIR=%{_sysconfdir} \
-DMANDIR=%{_mandir} \ -DMANDIR=%{_mandir} \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
.. ..
make %{?_smp_mflags} make %{?_smp_mflags}
@ -75,10 +68,11 @@ make %{?_smp_mflags}
%install %install
cd build cd build
make install DESTDIR=$RPM_BUILD_ROOT rm -rf %{buildroot}
%make_install
%clean %clean
rm -rf "$RPM_BUILD_ROOT" rm -rf %{buildroot}
%files -n libzrtpcpp %files -n libzrtpcpp
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
@ -92,40 +86,8 @@ rm -rf "$RPM_BUILD_ROOT"
%{_includedir}/libzrtpcpp/*.h %{_includedir}/libzrtpcpp/*.h
%dir %{_includedir}/libzrtpcpp %dir %{_includedir}/libzrtpcpp
%post -n libzrtpcpp -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -n libzrtpcpp -p /sbin/ldconfig %postun -p /sbin/ldconfig
%changelog %changelog
* Mon Dec 27 2010 - Werner Dittmann <werner.dittmann@t-online.de>
- Add Skein MAC authentication algorithm
- lots of documentation added (doxygen ready)
- some code cleanup
* Sun Oct 11 2009 - Werner Dittmann <werner.dittmann@t-online.de>
- 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 <dyfet@gnutelephony.org>
- Spec updated per current Fedora & CentOS policies.
- Updated release 1.4.5 has all mandatory IETF interop requirements.
* Fri Jan 26 2009 - Werner Dittmann <werner.dittmann@t-online.de>
- Update to version 1.4.2 to support the latest ZRTP
specification draft-zimmermann-avt-zrtp-12
* Fri Aug 22 2008 - David Sugar <dyfet@gnutelephony.org>
- Adapted for newer library naming conventions.
* Tue Dec 11 2007 - Werner Dittmann <werner.dittmann@t-online.de>
- 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 <werner.dittmann@t-online.de>
- set version to 1.1.0
- GNU ZRTP is compatible with the latest Zfone Beta
from April 2 2007