]> git.pld-linux.org Git - packages/ortp.git/blobdiff - ortp.spec
- release 3
[packages/ortp.git] / ortp.spec
index 841cdfc2590c4f39f27e67ffa4afb7718ecec8a6..5dbcd8acc3943554ad781f5d143c019d6ec284b2 100644 (file)
--- a/ortp.spec
+++ b/ortp.spec
@@ -1,58 +1,63 @@
-# TODO:
-#      - fix gtk-doc
 Summary:       RTP/RTCP protocol library
-Summary(pl):   Biblioteka obs³uguj±ca protokó³ RTP/RTCP
+Summary(pl.UTF-8):     Biblioteka obsługująca protokół RTP/RTCP
 Name:          ortp
-Version:       0.11.0
-Release:       1
-License:       LGPL
+Version:       0.16.1
+Release:       3
+License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://download.savannah.nongnu.org/releases/linphone/ortp/sources/%{name}-%{version}.tar.gz
-# Source0-md5: c2595b0caf99f922946fcb16e3250787
-URL:           http://www.linphone.org/index.php/v2/code_review/ortp
-BuildRequires: autoconf
+# Source0-md5: bc96cdcb9c139d366a720a94200f92dd
+Patch0:                %{name}-i486.patch
+Patch1:                %{name}-Werror.patch
+Patch2:                %{name}-libssl-not-required.patch
+URL:           http://www.linphone.org/index.php/eng/code_review/ortp
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: glib2-devel >= 2.0.0
-BuildRequires: gtk-doc
+BuildRequires: doxygen
 BuildRequires: libtool
+BuildRequires: openssl-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define specflags -fno-strict-aliasing
+%define                specflags       -fno-strict-aliasing
 
 %description
 ortp is a library for handling RTP/RTCP packets. (See RFC 1889 and
 1890 for more information about the protocol)
 
-%description -l pl
-ortp to biblioteka obs³uguj±ca pakiety RTP/RTCP. Wiêcej informacji o
-protokole znajduje siê w RFC 1889 i 1890.
+%description -l pl.UTF-8
+ortp to biblioteka obsługująca pakiety RTP/RTCP. Więcej informacji o
+protokole znajduje się w RFC 1889 i 1890.
 
 %package devel
 Summary:       Header files to develop applications using ortp
-Summary(pl):   Pliki nag³ówkowe do tworzenia aplikacji u¿ywaj±cych ortp
+Summary(pl.UTF-8):     Pliki nagłówkowe do tworzenia aplikacji używających ortp
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      openssl-devel
 
 %description devel
 Header files for the ortp library.
 
-%description devel -l pl
-Pliki nag³ówkowe dla biblioteki ortp.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla biblioteki ortp.
 
 %package static
 Summary:       Static ortp library
-Summary(pl):   Statyczna biblioteka ortp
+Summary(pl.UTF-8):     Statyczna biblioteka ortp
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static ortp library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka ortp.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -60,7 +65,12 @@ Statyczna biblioteka ortp.
 %{__autoconf}
 %{__automake}
 %configure \
-       --with-html-dir=%{_gtkdocdir}
+%if "%{_lib}" == "lib64"
+       --enable-mode64bit=yes \
+%else
+       --enable-mode64bit=no \
+%endif
+       --enable-ipv6
 %{__make}
 
 %install
@@ -77,17 +87,17 @@ rm -fr $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README NEWS AUTHORS ChangeLog
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc README NEWS AUTHORS ChangeLog doc/html
+%attr(755,root,root) %{_libdir}/libortp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libortp.so.8
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/libortp.so
+%{_libdir}/libortp.la
 %{_includedir}/ortp
-%{_gtkdocdir}/ortp
-%{_pkgconfigdir}/*
+%{_pkgconfigdir}/ortp.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libortp.a
This page took 0.042474 seconds and 4 git commands to generate.