1a8a8bd
Summary: Common C++ class framework for RTP/RTCP
1a8a8bd
Name: ccrtp
d20f3d4
Version: 1.5.1
8c44dc9
Release: 1%{?dist}
1a8a8bd
License: GPL
1a8a8bd
Group: System Environment/Libraries
d20f3d4
Source0: http://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-%{version}.tar.gz
1a8a8bd
URL: http://www.gnu.org/software/commoncpp/
1a8a8bd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8c44dc9
BuildRequires: commoncpp2-devel, doxygen, libgcrypt-devel
1a8a8bd
1a8a8bd
%description
1a8a8bd
ccRTP is a generic, extensible and efficient C++ framework for
1a8a8bd
developing applications based on the Real-Time Transport Protocol
1a8a8bd
(RTP) from the IETF. It is based on Common C++ and provides a full
1a8a8bd
RTP/RTCP stack for sending and receiving of realtime data by the use
1a8a8bd
of send and receive packet queues. ccRTP supports unicast,
1a8a8bd
multi-unicast and multicast, manages multiple sources, handles RTCP
1a8a8bd
automatically, supports different threading models and is generic as
1a8a8bd
for underlying network and transport protocols.
1a8a8bd
1a8a8bd
%package devel
1a8a8bd
Summary: Header files and libraries for %{name} development
1a8a8bd
Group: Development/Libraries
1a8a8bd
Requires: %{name} = %{version}-%{release}
1a8a8bd
Requires: pkgconfig, commoncpp2-devel
1a8a8bd
Requires(post): /sbin/install-info
1a8a8bd
Requires(preun): /sbin/install-info
1a8a8bd
1a8a8bd
%description devel
1a8a8bd
The %{name}-devel package contains the header files and libraries needed
1a8a8bd
to develop programs that use the %{name} library.
1a8a8bd
1a8a8bd
1a8a8bd
%prep
1a8a8bd
%setup -q
1a8a8bd
chmod 644 src/ccrtp/rtp.h
1a8a8bd
1a8a8bd
%build
1a8a8bd
%configure \
1a8a8bd
	--disable-static
1a8a8bd
%{__make} %{?_smp_mflags}
1a8a8bd
1a8a8bd
%install
1a8a8bd
rm -rf $RPM_BUILD_ROOT
1a8a8bd
make install DESTDIR=%{buildroot}
1a8a8bd
rm -f %{buildroot}%{_infodir}/dir
1a8a8bd
find %{buildroot} -name '*.la' -exec rm -f {} \;
1a8a8bd
1a8a8bd
%clean
1a8a8bd
rm -rf $RPM_BUILD_ROOT
1a8a8bd
1a8a8bd
%post -p /sbin/ldconfig
1a8a8bd
1a8a8bd
%post devel
4ade322
/sbin/install-info %{_infodir}/ccrtp.info* %{_infodir}/dir || :
1a8a8bd
1a8a8bd
%preun devel
1a8a8bd
if [ $1 = 0 ]; then
4ade322
    /sbin/install-info --delete %{_infodir}/ccrtp.info* %{_infodir}/dir || :
1a8a8bd
fi
1a8a8bd
1a8a8bd
%postun -p /sbin/ldconfig
1a8a8bd
1a8a8bd
%files
1a8a8bd
%defattr(-,root,root,-)
1a8a8bd
%doc COPYING README COPYING.addendum
1a8a8bd
%{_libdir}/*.so.*
1a8a8bd
1a8a8bd
%files devel
1a8a8bd
%defattr(-,root,root,-)
1a8a8bd
%doc doc/html
1a8a8bd
%dir %{_includedir}/ccrtp
1a8a8bd
%{_includedir}/ccrtp/*
1a8a8bd
%{_libdir}/*.so
1a8a8bd
%{_libdir}/pkgconfig/libccrtp1.pc
1a8a8bd
%{_infodir}/ccrtp.info*
1a8a8bd
d20f3d4
1a8a8bd
%changelog
d20f3d4
* Wed Mar 07 2007 Andreas Thienemann <andreas@bawue.net> - 1.5.1-1
d20f3d4
- Updated package to 1.5.1
4ade322
- Fixed #219396
d20f3d4
8c44dc9
* Fri Nov 10 2006 Andreas Thienemann <andreas@bawue.net> - 1.5.0-1
8c44dc9
- Updated package to 1.5.0, fixing #209026
8c44dc9
f2b56bc
* Sun Sep 10 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.1-2
f2b56bc
- *bump*
f2b56bc
e9c21f5
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 1.4.1-1
e9c21f5
- Updated to 1.4.1
e9c21f5
e9c21f5
* Sun Jul 23 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.7-2
e34591b
- Added doxygen BuildRequire
e34591b
e9c21f5
* Mon Apr 24 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.7-1
1a8a8bd
- Updated to 1.3.7
1a8a8bd
e9c21f5
* Fri Feb 03 2006 Andreas Thienemann <andreas@bawue.net> - 1.3.6-1
1a8a8bd
- Initial spec.