X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ccrtp.spec;h=f68ace0208d203024c1ba95d3a6dbfceb05e4167;hb=30b0987c8dca1c1517fa81190db6644d4ec9c226;hp=724fb334b17eec48a7e51d24a3345a44f140e9e4;hpb=d122b3bba44fa8084c30ac8e7e30e580a508ee43;p=packages%2Fccrtp.git diff --git a/ccrtp.spec b/ccrtp.spec index 724fb33..f68ace0 100644 --- a/ccrtp.spec +++ b/ccrtp.spec @@ -1,15 +1,29 @@ -Summary: Common C++ class framework for RTP/RTCP -Summary(pl): Szkielet klas C++ dla RTP/RTCP +# +# Conditional build: +%bcond_with gcrypt # use libgcrypt instead of OpenSSL (ucommon in PLD uses OpenSSL by default) +# +Summary: Common C++ class framework for RTP packets +Summary(pl.UTF-8): Szkielet klas C++ dla pakietów RTP Name: ccrtp -Version: 1.3.6 +Version: 2.0.6 Release: 1 -License: GPL +License: GPL v2+ with runtime exception Group: Libraries -Source0: ftp://ftp.gnu.org/pub/gnu/ccrtp/%{name}-%{version}.tar.gz -# Source0-md5: 5dddefbbc9c455a05816ded8e56adda6 +Source0: http://ftp.gnu.org/gnu/ccrtp/%{name}-%{version}.tar.gz +# Source0-md5: ca0a7a184b242d660d81caf6101a2c0c +Patch0: %{name}-info.patch +Patch1: %{name}-openssl.patch +Patch2: %{name}-am.patch URL: http://www.gnu.org/software/ccrtp/ -BuildRequires: commoncpp2-devel -BuildRequires: doxygen +BuildRequires: autoconf >= 2.50 +BuildRequires: automake +BuildRequires: doxygen >= 1.8.0 +%{?with_gcrypt:BuildRequires: libgcrypt-devel >= 1.2.3} +BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:1.5 +%{!?with_gcrypt:BuildRequires: openssl-devel} +BuildRequires: pkgconfig +BuildRequires: ucommon-devel >= 5.0.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -22,46 +36,59 @@ multi-unicast and multicast, manages multiple sources, handles RTCP automatically, supports different threading models and is generic as for underlying network and transport protocols. -%description -l pl -ccRTP jest ogólnym, rozszerzalnym i efektywnym szkieletem C++ do -rozwijania aplikacji bazuj±cych na transporcie czasu rzeczywistego -(RTP) z IETF. Bazuje na Common C++ i udostêpnia pe³en stos RTP/RTCP do -wysy³ania i odbierania danych w czasie rzeczywistym z u¿yciem kolejek -wysy³ania i odbierania pakietów. ccRTP obs³uguje unicasty, -multi-unicasty i multicasty, zarz±dza wieloma ¼ród³ami, obs³uguje -automatycznie RTCP, wspiera ró¿ne modele w±tkowania i jest ogólny dla -podstawowych sieci i protoko³ów transportowych. +%description -l pl.UTF-8 +ccRTP jest ogólnym, rozszerzalnym i efektywnym szkieletem C++ do +rozwijania aplikacji bazujących na transporcie czasu rzeczywistego +(RTP) z IETF. Bazuje na Common C++ i udostępnia pełen stos RTP/RTCP do +wysyłania i odbierania danych w czasie rzeczywistym z użyciem kolejek +wysyłania i odbierania pakietów. ccRTP obsługuje unicasty, +multi-unicasty i multicasty, zarządza wieloma źródłami, obsługuje +automatycznie RTCP, wspiera różne modele wątkowania i jest ogólny dla +podstawowych sieci i protokołów transportowych. %package devel Summary: Header files for ccrtp library -Summary(pl): Pliki nag³ówkowe biblioteki ccrtp +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ccrtp Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: commoncpp2-devel +%{?with_gcrypt:Requires: libgcrypt-devel >= 1.2.3} +Requires: libstdc++-devel +%{!?with_gcrypt:Requires: openssl-devel} +Requires: ucommon-devel >= 5.0.0 %description devel Header files for ccrtp library. -%description devel -l pl -Pliki nag³ówkowe biblioteki ccrtp. +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki ccrtp. %package static Summary: Static ccrtp library -Summary(pl): Statyczna biblioteka ccrtp +Summary(pl.UTF-8): Statyczna biblioteka ccrtp Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static Static ccrtp library. -%description static -l pl +%description static -l pl.UTF-8 Statyczna biblioteka ccrtp. %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build -%configure +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} +# LIBGCRYPT_CONFIG is a hack to disable libgcrypt and pass to openssl detection +%configure \ + %{!?with_gcrypt:LIBGCRYPT_CONFIG=/nonexisting} %{__make} %install @@ -78,18 +105,19 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS COPYING COPYING.addendum README -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%doc AUTHORS COPYING.addendum ChangeLog NEWS README TODO +%attr(755,root,root) %{_libdir}/libccrtp.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libccrtp.so.0 %files devel %defattr(644,root,root,755) -%doc doc/html/*.html doc/html/*.*g* -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la +%doc doc/html/*.{css,html,js,png} +%attr(755,root,root) %{_libdir}/libccrtp.so +%{_libdir}/libccrtp.la %{_includedir}/ccrtp -%{_pkgconfigdir}/*.pc -%{_infodir}/*.info* +%{_pkgconfigdir}/libccrtp.pc +%{_infodir}/ccrtp.info* %files static %defattr(644,root,root,755) -%{_libdir}/lib*.a +%{_libdir}/libccrtp.a