From 1a8a8bd758171a31856f6de897cbf1fe557d6b2e Mon Sep 17 00:00:00 2001 From: Andreas Thienemann Date: Apr 28 2006 22:02:16 +0000 Subject: auto-import ccrtp-1.3.7-1 on branch devel from ccrtp-1.3.7-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..ded7794 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ccrtp-1.3.7.tar.gz diff --git a/ccrtp.spec b/ccrtp.spec new file mode 100644 index 0000000..6f842f4 --- /dev/null +++ b/ccrtp.spec @@ -0,0 +1,84 @@ +Summary: Common C++ class framework for RTP/RTCP +Name: ccrtp +Version: 1.3.7 +Release: 1%{?dist} +License: GPL +Group: System Environment/Libraries +Source0: http://download.sourceforge.net/gnutelephony/ccrtp-%{version}.tar.gz +URL: http://www.gnu.org/software/commoncpp/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: commoncpp2-devel + +%description +ccRTP is a generic, extensible and efficient C++ framework for +developing applications based on the Real-Time Transport Protocol +(RTP) from the IETF. It is based on Common C++ and provides a full +RTP/RTCP stack for sending and receiving of realtime data by the use +of send and receive packet queues. ccRTP supports unicast, +multi-unicast and multicast, manages multiple sources, handles RTCP +automatically, supports different threading models and is generic as +for underlying network and transport protocols. + +%package devel +Summary: Header files and libraries for %{name} development +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig, commoncpp2-devel +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info + +%description devel +The %{name}-devel package contains the header files and libraries needed +to develop programs that use the %{name} library. + + +%prep +%setup -q +chmod 644 src/ccrtp/rtp.h + +%build +%configure \ + --disable-static +%{__make} %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_infodir}/dir +find %{buildroot} -name '*.la' -exec rm -f {} \; + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%post devel +/sbin/install-info %{_infodir}/ccrtp.info* %{_infodir}/dir + +%preun devel +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/ccrtp.info* %{_infodir}/dir +fi + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README COPYING.addendum +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc doc/html +%dir %{_includedir}/ccrtp +%{_includedir}/ccrtp/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libccrtp1.pc +%{_infodir}/ccrtp.info* + +%changelog +* Mon Apr 24 2006 Andreas Thienemann 1.3.7-1 +- Updated to 1.3.7 + +* Fri Feb 03 2006 Andreas Thienemann 1.3.6-1 +- Initial spec. diff --git a/sources b/sources index e69de29..c4808f3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6621be1852bd90c3dbbafa895618d8f0 ccrtp-1.3.7.tar.gz