SHA256
1
0
forked from pool/libsrtp

Accepting request 246714 from network:telephony

1

OBS-URL: https://build.opensuse.org/request/show/246714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsrtp?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2014-08-30 14:03:57 +00:00 committed by Git OBS Bridge
commit e790bdcddd
3 changed files with 30 additions and 7 deletions

View File

@ -5,6 +5,14 @@ Switch to stress-free automake with libtool library generation.
Also add a pkgconfig file for easy detection of presence and paths Also add a pkgconfig file for easy detection of presence and paths
by secondary projects. by secondary projects.
As libsrtp 1.4.5 has not yet officially been released (as a tarball,
on sf.net) and the API is still changing, using -release
${PACKAGE_VERSION} won't be of help. We really need to count ABI
versions ourselves. So far,
libsrtp.so.1: srtp 1.4.4
libsrtp.so.2: srtp 1.4.5-pre (7db9eb2c67ec8da7c016b7422885)
--- ---
Makefile.am | 99 +++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 99 +++++++++++++++++++++++++++++++++++++++++++++
configure.in | 13 ++++- configure.in | 13 ++++-
@ -136,7 +144,7 @@ Index: libsrtp/configure.in
dnl Checks for programs. dnl Checks for programs.
-AC_PROG_RANLIB -AC_PROG_RANLIB
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects no-dist-gzip dist-xz tar-pax]) +AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax])
AC_PROG_CC AC_PROG_CC
+AM_PROG_CC_C_O +AM_PROG_CC_C_O
AC_PROG_INSTALL AC_PROG_INSTALL

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Aug 28 06:03:05 UTC 2014 - jengelh@inai.de
- Relax build restrictions for SLE11 (needs BuildRequires xz to
even start, and we can drop dist-xz from the suggestive patch
so that automake ~1.10)
-------------------------------------------------------------------
Tue Aug 26 21:16:21 UTC 2014 - jengelh@inai.de
- Update project metadata, and patch description
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 18 18:46:49 CEST 2013 - sbrabec@suse.cz Wed Sep 18 18:46:49 CEST 2013 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package libsrtp # spec file for package libsrtp
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products 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
@ -25,15 +25,18 @@ Summary: Secure Real-Time Transport Protocol (SRTP) library
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://srtp.sourceforge.net/srtp.html Url: http://srtp.sourceforge.net/srtp.html
#Git-Clone: git://github.com/cisco/libsrtp
Source: %{name}-git%{git_snapshot}.tar.xz Source: %{name}-git%{git_snapshot}.tar.xz
# PATCH-FEATURE-OPENSUSE libsrtp-automake.patch jengelh@medozas.de -- Support for automake to easily build shared library. # PATCH-FEATURE-OPENSUSE libsrtp-automake.patch jengelh@inai.de -- Support for automake to easily build shared library.
Patch: %{name}-automake.patch Patch: %{name}-automake.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake >= 1.11 BuildRequires: automake
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz
Provides: srtp = %{version}-%{release} Provides: srtp = %{version}-%{release}
Obsoletes: srtp < %{version} Obsoletes: srtp < %{version}
@ -130,13 +133,13 @@ set -x
%postun -n %{library_name} -p /sbin/ldconfig %postun -n %{library_name} -p /sbin/ldconfig
%files -n %{library_name} %files -n %{library_name}
%defattr(-,root,root,-) %defattr(-,root,root)
%{_libdir}/libsrtp.so.2* %{_libdir}/libsrtp.so.2*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root)
%doc CHANGES LICENSE README TODO VERSION doc/*.pdf doc/*.txt %doc CHANGES LICENSE README TODO VERSION doc/*.pdf doc/*.txt
%{_includedir}/srtp %{_includedir}/srtp/
%{_libdir}/libsrtp.so %{_libdir}/libsrtp.so
%{_libdir}/pkgconfig/libsrtp.pc %{_libdir}/pkgconfig/libsrtp.pc