]> git.pld-linux.org Git - packages/ortp.git/commitdiff
- updated to 0.24.2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2015 19:58:56 +0000 (21:58 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 5 Jul 2015 19:58:56 +0000 (21:58 +0200)
- removed outdated i486 patch

ortp-i486.patch [deleted file]
ortp.spec

diff --git a/ortp-i486.patch b/ortp-i486.patch
deleted file mode 100644 (file)
index 6fc4a46..0000000
+++ /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();
index 43238ed57fea50df3751be25540c3a3137fdb520..04fec9637f7d98f79fd8df6282666516274859e3 100644 (file)
--- 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
This page took 0.185847 seconds and 4 git commands to generate.