#
# 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.1.1
-Release: 2
+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: 4c3c3a63191602ddb05dedc798ae4300
+# Source0-md5: e6792cbd8b705901c205a509bd7f812f
Patch0: %{name}-info.patch
Patch1: %{name}-openssl.patch
Patch2: %{name}-am.patch
%{!?with_gcrypt:BuildRequires: openssl-devel}
BuildRequires: pkgconfig
BuildRequires: ucommon-devel >= 6.2.2
+Requires: ucommon >= 6.2.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%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