Jan Engelhardt 2014-09-06 18:37:31 +00:00 committed by Git OBS Bridge
parent 5bd41aaad3
commit c45ae5de31
4 changed files with 21 additions and 14 deletions

View File

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

3
libzrtpcpp-4.2.4.tar.xz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Sep 6 18:30:47 UTC 2014 - jengelh@inai.de
- Update to new upstream release 4.2.4
* Rename functions aes_init() to aes_init_zrtp() to avoid names
clashes with other libreries that may include own AES modules.
-------------------------------------------------------------------
Sat Jun 28 01:41:37 UTC 2014 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: libzrtpcpp
%define lname libzrtpcpp4
Version: 4.2.3
Version: 4.2.4
Release: 0
Summary: A ccrtp extension for ZRTP support
License: GPL-3.0+
@ -26,22 +26,17 @@ Group: Development/Libraries/C and C++
Url: http://www.gnutelephony.org/index.php/GNU_ZRTP
#Git-Clone: git://github.com/wernerd/ZRTPCPP
#Snapshot: V4.2.3
#Snapshot: V4.2.4
# No longer produces release tarballs since 3.x.
Source: %name-%version.tar.lz
Source: %name-%version.tar.xz
Source2: %name.keyring
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: lzip
BuildRequires: pkgconfig
%if 0%{?suse_version} >= 1130
BuildRequires: xz
BuildRequires: pkgconfig(libccrtp) >= 2
BuildRequires: pkgconfig(libcrypto) >= 0.9.8
BuildRequires: pkgconfig(sqlite3) >= 3.7
%else
BuildRequires: ccrtp-devel >= 2
BuildRequires: libopenssl-devel >= 0.9.8
BuildRequires: sqlite3-devel >= 3.7
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -77,16 +72,21 @@ documentation for building applications that use libzrtpcpp.
mkdir build
cd build
# 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.
# So now, add explicit symbol versions to ensure programs with wrong
# ABI combinations are caught.
echo "V_%version { global: *; };" >version.map
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
-DCMAKE_LD_FLAGS:STRING="-Wl,--version-script=$PWD/version.map" \
-DCRYPTO_STANDALONE:BOOL=false \
%if "%{_lib}" == "lib64"
-DLIB_SUFFIX=64 \
%endif
..
#perl -i -pe 's{@zrtplib@}{-lzrtpcpp}g' *.pc.cmake
make %{?_smp_mflags} VERBOSE=1
%install