SHA256
1
0
forked from pool/libzrtpcpp

Accepting request 292878 from network:telephony

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/292878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzrtpcpp?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2015-03-25 20:05:29 +00:00 committed by Git OBS Bridge
commit d9abae8c54
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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
Name: libzrtpcpp
%define lname libzrtpcpp4
Version: 4.2.4
Version: 4.3.1
Release: 0
Summary: A ccrtp extension for ZRTP support
License: GPL-3.0+
@ -26,15 +26,13 @@ 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.4
# No longer produces release tarballs since 3.x.
Source: %name-%version.tar.xz
#Git-Web: https://github.com/wernerd/ZRTPCPP
Source: https://github.com/wernerd/ZRTPCPP/archive/V%version.tar.gz
Source2: %name.keyring
Patch1: 0001-pkg-config-add-includedir-libzrtcpp-to-CFLAGS.patch
BuildRequires: cmake
BuildRequires: gcc-c++ >= 4.7
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: pkg-config
BuildRequires: pkgconfig(libccrtp) >= 2
BuildRequires: pkgconfig(libcrypto) >= 0.9.8
BuildRequires: pkgconfig(sqlite3) >= 3.7
@ -59,7 +57,7 @@ applications.
%package devel
Summary: Headers and link library for libzrtpcpp
Group: Development/Libraries/C and C++
Requires: %{lname} = %{version}
Requires: %lname = %version
Requires: ccrtp-devel >= 2.0.0
%description devel
@ -67,46 +65,49 @@ This package provides the header files, link libraries, and
documentation for building applications that use libzrtpcpp.
%prep
%setup -qn ZRTPCPP
%setup -qn ZRTPCPP-%version
%patch -P 1 -p1
chmod a-x NEWS
%build
mkdir build
cd build
pushd 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}" \
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"
%if "%_lib" == "lib64"
-DLIB_SUFFIX=64 \
%endif
..
make %{?_smp_mflags} VERBOSE=1
popd
%install
cd build
make install DESTDIR="%buildroot"
pushd build/
%make_install
popd
%post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig -n %lname
%files -n %lname
%defattr(-,root,root,0755)
%doc AUTHORS COPYING README.md
%doc AUTHORS COPYING NEWS README.md
%_libdir/libzrtpcpp.so.4*
%files devel
%defattr(-,root,root,0755)
%{_libdir}/libzrtpcpp.so
%{_libdir}/pkgconfig/libzrtpcpp.pc
%{_includedir}/libzrtpcpp/
%_libdir/libzrtpcpp.so
%_libdir/pkgconfig/libzrtpcpp.pc
%_includedir/libzrtpcpp/
%changelog