2007-03-03 14:30:32 +01:00
|
|
|
#
|
2011-01-11 18:52:16 +01:00
|
|
|
# spec file for package libzrtpcpp (Version 1.6.0)
|
2007-03-03 14:30:32 +01:00
|
|
|
#
|
2011-01-11 18:52:16 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-03-03 14:30:32 +01:00
|
|
|
#
|
2008-09-09 19:11:37 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-03-03 14:30:32 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: libzrtpcpp
|
2011-01-11 18:52:16 +01:00
|
|
|
Summary: A ccrtp extension for ZRTP support
|
|
|
|
BuildRequires: gcc-c++ libgcrypt-devel pkgconfig cmake
|
|
|
|
BuildRequires: libccrtp-devel >= 1.8.0
|
|
|
|
Version: 1.6.0
|
|
|
|
Release: 0
|
|
|
|
License: GPL v3 or later
|
2007-03-03 14:30:32 +01:00
|
|
|
Group: Development/Libraries/Other
|
2008-04-02 22:20:22 +02:00
|
|
|
Url: http://www.gnu.org/software/commoncpp/commoncpp.html
|
2011-01-11 18:52:16 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2008-09-09 19:11:37 +02:00
|
|
|
Source1: rpmlintrc
|
2007-03-03 14:30:32 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2011-01-11 18:52:16 +01:00
|
|
|
%description -n libzrtpcpp
|
2008-04-02 22:20:22 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-03 14:30:32 +01:00
|
|
|
%package devel
|
2011-01-11 18:52:16 +01:00
|
|
|
License: GPL v3 or later
|
2007-03-03 14:30:32 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Summary: Headers and static link library for libzrtpcpp
|
2011-01-11 18:52:16 +01:00
|
|
|
Requires: libzrtpcpp = %{version} libccrtp-devel
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the header files, link libraries, and
|
|
|
|
documentation for building applications that use libzrtpcpp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-04-02 22:20:22 +02:00
|
|
|
%setup -q
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%build
|
2011-01-11 18:52:16 +01:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
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" \
|
|
|
|
..
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2008-05-13 12:35:00 +02:00
|
|
|
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%install
|
2011-01-11 18:52:16 +01:00
|
|
|
cd build
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%clean
|
2011-01-11 18:52:16 +01:00
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
2007-03-03 14:30:32 +01:00
|
|
|
|
2011-01-11 18:52:16 +01:00
|
|
|
%files -n libzrtpcpp
|
2007-03-03 14:30:32 +01:00
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/libzrtpcpp/*.h
|
|
|
|
%dir %{_includedir}/libzrtpcpp
|
|
|
|
|
2011-01-11 18:52:16 +01:00
|
|
|
%post -n libzrtpcpp -p /sbin/ldconfig
|
2007-03-03 14:30:32 +01:00
|
|
|
|
2011-01-11 18:52:16 +01:00
|
|
|
%postun -n libzrtpcpp -p /sbin/ldconfig
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2011-01-11 18:52:16 +01:00
|
|
|
* 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
|