[packages/ortp] - updated to 0.24.2 - removed outdated i486 patch
qboosh
qboosh at pld-linux.org
Sun Jul 5 21:56:57 CEST 2015
commit d51426f54f036c344f1dffc61212e22f3bd3f2e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 5 21:58:56 2015 +0200
- updated to 0.24.2
- removed outdated i486 patch
ortp-i486.patch | 11 -----------
ortp.spec | 24 ++++++++++--------------
2 files changed, 10 insertions(+), 25 deletions(-)
---
diff --git a/ortp.spec b/ortp.spec
index 43238ed..04fec96 100644
--- a/ortp.spec
+++ b/ortp.spec
@@ -1,25 +1,22 @@
#
# Conditional build:
-%bcond_without zrtp # ZRTP (RFC 6189: Media Path Key Agreement for Unicast Secure RTP) support
+%bcond_without static_libs # Static library
#
Summary: RTP/RTCP protocol library
Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
Name: ortp
-Version: 0.23.0
-Release: 2
+Version: 0.24.2
+Release: 1
License: LGPL v2.1+
Group: Libraries
-#Source0: http://download.savannah.gnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
-Source0: http://download.savannah.gnu.org/releases/linphone/ortp/%{name}-%{version}.tar.gz
-# Source0-md5: fb833cc7a66ec1a0c1b75016130e7e6d
-Patch0: %{name}-i486.patch
-Patch1: %{name}-libssl-not-required.patch
+Source0: http://download.savannah.gnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
+# Source0-md5: 9eb17e1e79f25acb06bbacc06ad3958f
+Patch0: %{name}-libssl-not-required.patch
URL: http://www.linphone.org/eng/documentation/dev/ortp.html
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libtool >= 2:2.0
-%{?with_zrtp:BuildRequires: libzrtpcpp-core-devel >= 4.0.0}
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: srtp-devel
@@ -38,7 +35,6 @@ Summary: Header files to develop applications using ortp
Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji używających ortp
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-%{?with_zrtp:Requires: libzrtpcpp-core-devel >= 4.0.0}
Requires: openssl-devel
Requires: srtp-devel
@@ -63,7 +59,6 @@ Statyczna biblioteka ortp.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__libtoolize}
@@ -74,14 +69,13 @@ Statyczna biblioteka ortp.
%configure \
--disable-silent-rules \
--disable-strict \
- --enable-ipv6 \
%if "%{_lib}" == "lib64"
--enable-mode64bit=yes \
%else
--enable-mode64bit=no \
%endif
- --enable-static \
- %{?with_zrtp:--enable-zrtp}
+ --enable-ssl-hmac \
+ %{?with_static_libs:--enable-static}
%{__make}
@@ -113,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/ortp
%{_pkgconfigdir}/ortp.pc
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libortp.a
+%endif
diff --git a/ortp-i486.patch b/ortp-i486.patch
deleted file mode 100644
index 6fc4a46..0000000
--- a/ortp-i486.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ortp-0.23.0/src/stun.c.orig 2014-03-01 14:32:05.431008206 +0100
-+++ ortp-0.23.0/src/stun.c 2014-03-01 14:33:23.847671582 +0100
-@@ -1234,7 +1234,7 @@
- read(fd,&tick,sizeof(tick));
- closesocket(fd);
- }
--#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__amd64__) )
-+#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__pentium4__) || defined(__athlon__) || defined(__amd64__) )
- asm("rdtsc" : "=A" (tick));
- #elif defined (__SUNPRO_CC) && defined( __sparc__ )
- tick = gethrtime();
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ortp.git/commitdiff/d51426f54f036c344f1dffc61212e22f3bd3f2e5
More information about the pld-cvs-commit
mailing list