---- ortp-0.16.5/src/stun.c~ 2010-11-19 11:32:47.000000000 +0100
-+++ ortp-0.16.5/src/stun.c 2011-07-26 13:00:04.172190285 +0200
-@@ -1184,7 +1184,7 @@
- read(fd,&tick,sizeof(tick));
- closesocket(fd);
+--- 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__) )
-+#elif defined(__GNUC__) && ( defined(__i686__) || defined(__i386__) || defined(__pentium4__) || defined(__athlon__) )
- asm("rdtsc" : "=A" (tick));
- #elif defined(__GNUC__) && defined(__amd64__)
- asm("rdtsc" : "=A" (tick));
+-#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();
#
# Conditional build:
-%bcond_without zrtp # ZRTP (RFC 6189: Media Path Key Agreement for Unicast Secure RTP) support; GPL v3
+%bcond_without zrtp # ZRTP (RFC 6189: Media Path Key Agreement for Unicast Secure RTP) support
#
Summary: RTP/RTCP protocol library
Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
Name: ortp
-Version: 0.22.0
-Release: 2
-%if %{with zrtp}
-License: GPL v3+
-%else
+Version: 0.23.0
+Release: 1
License: LGPL v2.1+
-%endif
Group: Libraries
-Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
-# Source0-md5: 119357e1d904be0289e57c80e5ad90ba
+#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
URL: http://www.linphone.org/eng/documentation/dev/ortp.html
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libtool >= 2:2.0
-%{?with_zrtp:BuildRequires: libzrtpcpp-devel >= 2.0.0}
+%{?with_zrtp:BuildRequires: libzrtpcpp-core-devel >= 4.0.0}
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: srtp-devel
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-devel >= 2.0.0}
+%{?with_zrtp:Requires: libzrtpcpp-core-devel >= 4.0.0}
Requires: openssl-devel
Requires: srtp-devel