X-Git-Url: http://git.pld-linux.org/?p=packages%2Fccrtp.git;a=blobdiff_plain;f=ccrtp.spec;h=d9e487bb714d32498c97488ef448806c9eed572c;hp=0917f0dcd7ab89524ff1091d1ad086279d70d5e2;hb=HEAD;hpb=6084ac897acffbdc6f086dcd499c9417bb113f14 diff --git a/ccrtp.spec b/ccrtp.spec index 0917f0d..d9e487b 100644 --- a/ccrtp.spec +++ b/ccrtp.spec @@ -1,28 +1,30 @@ # # Conditional build: -%bcond_with gcrypt # use libgcrypt instead of OpenSSL (ucommon in PLD uses OpenSSL by default) -# +%bcond_without 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: 2.0.3 -Release: 1 +Version: 2.1.2 +Release: 5 License: GPL v2+ with runtime exception Group: Libraries Source0: http://ftp.gnu.org/gnu/ccrtp/%{name}-%{version}.tar.gz -# Source0-md5: 0d57da1b8e212fb634b8951067fbc1e0 +# Source0-md5: e6792cbd8b705901c205a509bd7f812f Patch0: %{name}-info.patch Patch1: %{name}-openssl.patch +Patch2: %{name}-am.patch URL: http://www.gnu.org/software/ccrtp/ BuildRequires: autoconf >= 2.50 BuildRequires: automake -BuildRequires: doxygen +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 +BuildRequires: ucommon-devel >= 6.2.2 +Requires: ucommon >= 6.2.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -53,7 +55,7 @@ Requires: %{name} = %{version}-%{release} %{?with_gcrypt:Requires: libgcrypt-devel >= 1.2.3} Requires: libstdc++-devel %{!?with_gcrypt:Requires: openssl-devel} -Requires: ucommon-devel >= 5.0.0 +Requires: ucommon-devel >= 6.2.2 %description devel Header files for ccrtp library. @@ -77,6 +79,7 @@ Statyczna biblioteka ccrtp. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize} @@ -101,11 +104,17 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%post devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + +%postun devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + %files %defattr(644,root,root,755) %doc AUTHORS COPYING.addendum ChangeLog NEWS README TODO %attr(755,root,root) %{_libdir}/libccrtp.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libccrtp.so.0 +%attr(755,root,root) %ghost %{_libdir}/libccrtp.so.3 %files devel %defattr(644,root,root,755)