1 Summary: RTP/RTCP protocol library
2 Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
8 Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
9 # Source0-md5: bc96cdcb9c139d366a720a94200f92dd
10 Patch0: %{name}-i486.patch
11 Patch1: %{name}-Werror.patch
12 Patch2: %{name}-libssl-not-required.patch
13 URL: http://www.linphone.org/index.php/eng/code_review/ortp
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: doxygen
17 BuildRequires: libtool
18 BuildRequires: openssl-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define specflags -fno-strict-aliasing
24 ortp is a library for handling RTP/RTCP packets. (See RFC 1889 and
25 1890 for more information about the protocol)
27 %description -l pl.UTF-8
28 ortp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o
29 protokole znajduje się w RFC 1889 i 1890.
32 Summary: Header files to develop applications using ortp
33 Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia aplikacji używających ortp
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: openssl-devel
39 Header files for the ortp library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe dla biblioteki ortp.
45 Summary: Static ortp library
46 Summary(pl.UTF-8): Statyczna biblioteka ortp
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{version}-%{release}
53 %description static -l pl.UTF-8
54 Statyczna biblioteka ortp.
68 %if "%{_lib}" == "lib64"
69 --enable-mode64bit=yes \
71 --enable-mode64bit=no \
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
90 %doc README NEWS AUTHORS ChangeLog doc/html
91 %attr(755,root,root) %{_libdir}/libortp.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libortp.so.8
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libortp.so
99 %{_pkgconfigdir}/ortp.pc
102 %defattr(644,root,root,755)