1a8a8bd
Summary: Common C++ class framework for RTP/RTCP
1a8a8bd
Name: ccrtp
0d0ff35
Version: 1.7.1
9ad03af
Release: 2%{?dist}
6759455
License: GPLv2+
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)
0d0ff35
BuildRequires: commoncpp2-devel >= 1.7.0, 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
6759455
# Some of the headers are LGPLv2+
6759455
License: GPLv2+ and LGPLv2+
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
5fb92f0
%{__make} # %{?_smp_mflags} smp builds disabled
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
9ad03af
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1-2
9ad03af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9ad03af
0d0ff35
* Mon Apr 07 2009 Andreas Thienemann <andreas@bawue.net> - 1.7.1-1
0d0ff35
- Update to upstream release 1.7.1
0d0ff35
a1874ce
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-3
a1874ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a1874ce
6759455
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-2
6759455
- fix license tag
6759455
a8e41bc
* Wed Feb 06 2008 Andreas Thienemann <andreas@bawue.net> - 1.6.0-1
a8e41bc
- Updated to upstream version 1.6.0
5fb92f0
- Added patch enabling build with gcc-4.3
a8e41bc
db866c3
* Wed Feb 06 2008 Dennis Gilmore <dennis@ausil.us> - 1.5.1-2
db866c3
- rebuild for new commoncpp2
db866c3
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.