Jan Engelhardt 2015-03-17 20:01:35 +00:00 committed by Git OBS Bridge
parent 2ad24976d7
commit 81d4d88c17
4 changed files with 37 additions and 25 deletions

3
V4.3.1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Mar 17 19:57:23 UTC 2015 - jengelh@inai.de
- Update to new upstream release 4.3.1
* This version adds some new API that provide to set retry timer
values and to get some retry counters.
* Application may now set some values of the retry counters during
the discovery (Hello) and the negotiation phase. Applications may
increase the number of retries or modify the capping to support
slow or bad networks.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 25 12:46:04 UTC 2014 - jengelh@inai.de Sat Oct 25 12:46:04 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libzrtpcpp # spec file for package libzrtpcpp
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: libzrtpcpp Name: libzrtpcpp
%define lname libzrtpcpp4 %define lname libzrtpcpp4
Version: 4.2.4 Version: 4.3.1
Release: 0 Release: 0
Summary: A ccrtp extension for ZRTP support Summary: A ccrtp extension for ZRTP support
License: GPL-3.0+ License: GPL-3.0+
@ -26,15 +26,13 @@ Group: Development/Libraries/C and C++
Url: http://www.gnutelephony.org/index.php/GNU_ZRTP Url: http://www.gnutelephony.org/index.php/GNU_ZRTP
#Git-Clone: git://github.com/wernerd/ZRTPCPP #Git-Clone: git://github.com/wernerd/ZRTPCPP
#Snapshot: V4.2.4 #Git-Web: https://github.com/wernerd/ZRTPCPP
# No longer produces release tarballs since 3.x. Source: https://github.com/wernerd/ZRTPCPP/archive/V%version.tar.gz
Source: %name-%version.tar.xz
Source2: %name.keyring Source2: %name.keyring
Patch1: 0001-pkg-config-add-includedir-libzrtcpp-to-CFLAGS.patch Patch1: 0001-pkg-config-add-includedir-libzrtcpp-to-CFLAGS.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ >= 4.7 BuildRequires: gcc-c++ >= 4.7
BuildRequires: pkgconfig BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: pkgconfig(libccrtp) >= 2 BuildRequires: pkgconfig(libccrtp) >= 2
BuildRequires: pkgconfig(libcrypto) >= 0.9.8 BuildRequires: pkgconfig(libcrypto) >= 0.9.8
BuildRequires: pkgconfig(sqlite3) >= 3.7 BuildRequires: pkgconfig(sqlite3) >= 3.7
@ -59,7 +57,7 @@ applications.
%package devel %package devel
Summary: Headers and link library for libzrtpcpp Summary: Headers and link library for libzrtpcpp
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %lname = %version
Requires: ccrtp-devel >= 2.0.0 Requires: ccrtp-devel >= 2.0.0
%description devel %description devel
@ -67,46 +65,49 @@ 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 -qn ZRTPCPP %setup -qn ZRTPCPP-%version
%patch -P 1 -p1 %patch -P 1 -p1
chmod a-x NEWS
%build %build
mkdir build mkdir build
cd build pushd build/
# libzrtpcpp changed its API (apparently - can't tell whether aes_init # libzrtpcpp changed its API (apparently - can't tell whether aes_init
# was meant to be exported or not), but failed to bump the SO version. # was meant to be exported or not), but failed to bump the SO version.
# So now, add explicit symbol versions to ensure programs with wrong # So now, add explicit symbol versions to ensure programs with wrong
# ABI combinations are caught. # ABI combinations are caught.
echo "V_%version { global: *; };" >version.map echo "V_%version { global: *; };" >version.map
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ cmake -DCMAKE_INSTALL_PREFIX=%_prefix \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \ -DCMAKE_C_FLAGS:STRING="%optflags" \
-DCMAKE_CXX_FLAGS:STRING="%{optflags}" \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_LD_FLAGS:STRING="-Wl,--version-script=$PWD/version.map" \ -DCMAKE_LD_FLAGS:STRING="-Wl,--version-script=$PWD/version.map" \
-DCRYPTO_STANDALONE:BOOL=false \ -DCRYPTO_STANDALONE:BOOL=false \
%if "%{_lib}" == "lib64" %if "%_lib" == "lib64"
-DLIB_SUFFIX=64 \ -DLIB_SUFFIX=64 \
%endif %endif
.. ..
make %{?_smp_mflags} VERBOSE=1 make %{?_smp_mflags} VERBOSE=1
popd
%install %install
cd build pushd build/
make install DESTDIR="%buildroot" %make_install
popd
%post -p /sbin/ldconfig -n %lname %post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig -n %lname %postun -p /sbin/ldconfig -n %lname
%files -n %lname %files -n %lname
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc AUTHORS COPYING README.md %doc AUTHORS COPYING NEWS README.md
%_libdir/libzrtpcpp.so.4* %_libdir/libzrtpcpp.so.4*
%files devel %files devel
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%{_libdir}/libzrtpcpp.so %_libdir/libzrtpcpp.so
%{_libdir}/pkgconfig/libzrtpcpp.pc %_libdir/pkgconfig/libzrtpcpp.pc
%{_includedir}/libzrtpcpp/ %_includedir/libzrtpcpp/
%changelog %changelog