Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 1 | # Copyright (c) 2014 David Sugar, Tycho Softworks. |
| 2 | # This file is free software; as a special exception the author gives |
| 3 | # unlimited permission to copy and/or distribute it, with or without |
| 4 | # modifications, as long as this notice is preserved. |
| 5 | # |
| 6 | # This program is distributed in the hope that it will be useful, |
| 7 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 8 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 9 | # PARTICULAR PURPOSE. |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 10 | |
| 11 | Summary: A Common C++ Class Framework for RTP Packets |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 12 | Name: ccrtp |
| 13 | Version: @VERSION@ |
| 14 | Release: 0%{?dist} |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 15 | License: LGPL v2 or later |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 16 | Group: System/Library |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 17 | URL: http://www.gnu.org/software/commoncpp/commoncpp.html |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 18 | Source0: ccrtp-%{version}.tar.gz |
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 20 | BuildRequires: ucommon-devel >= 6.0.0 |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 21 | BuildRequires: pkgconfig |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 22 | BuildRequires: libgcrypt-devel |
| 23 | BuildRequires: gcc-c++ |
| 24 | |
| 25 | %description |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 26 | GNU ccRTP is a generic, extensible and efficient C++ framework for |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 27 | developing applications based on the Real-Time Transport Protocol |
| 28 | (RTP) from the IETF. It is based on Common C++ and provides a full |
| 29 | RTP/RTCP stack for sending and receiving of realtime data by the use |
| 30 | of send and receive packet queues. ccRTP supports unicast, |
| 31 | multi-unicast and multicast, manages multiple sources, handles RTCP |
| 32 | automatically, supports different threading models and is generic as |
| 33 | for underlying network and transport protocols. |
| 34 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 35 | %package devel |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 36 | Group: Development/Libraries/C and C++ |
| 37 | Summary: Headers and static link library for ccrtp |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 38 | Requires: %{name} = %{version} |
| 39 | Requires: ucommon-devel >= 6.0.0 |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 40 | Requires: libgcrypt-devel |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 41 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 42 | %description devel |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 43 | This package provides the header files, link libraries, and |
| 44 | documentation for building applications that use GNU ccrtp. |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 45 | |
| 46 | %prep |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 47 | %setup -q |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 48 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 49 | %build |
| 50 | %configure \ |
| 51 | --with-pkg-config \ |
| 52 | --disable-static \ |
| 53 | |
| 54 | %{__make} %{?_smp_mflags} |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 55 | |
| 56 | %install |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 57 | %{__rm} -rf %{buildroot} |
| 58 | %{__make} DESTDIR=%{buildroot} INSTALL="install -p" install |
| 59 | %{__rm} %{buildroot}%{_libdir}/*.la |
| 60 | %{__rm} -rf %{buildroot}/%{_infodir} |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 61 | |
| 62 | %clean |
| 63 | rm -rf %{buildroot} |
| 64 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 65 | %files |
| 66 | %defattr(-,root,root,-) |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 67 | %doc AUTHORS COPYING ChangeLog README COPYING.addendum |
| 68 | %{_libdir}/*.so.* |
| 69 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 70 | %files devel |
| 71 | %defattr(-,root,root,-) |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 72 | %{_libdir}/*.a |
| 73 | %{_libdir}/*.so |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 74 | %{_libdir}/*.la |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 75 | %{_libdir}/pkgconfig/*.pc |
| 76 | %dir %{_includedir}/ccrtp |
| 77 | %{_includedir}/ccrtp/*.h |
| 78 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 79 | %post -p /sbin/ldconfig |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 80 | |
Alexandre Lision | 81ecad6 | 2014-04-04 14:11:58 -0400 | [diff] [blame] | 81 | %postun -p /sbin/ldconfig |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 82 | |
| 83 | %changelog |
Alexandre Lision | e41ecd4 | 2014-02-27 15:51:10 -0500 | [diff] [blame] | 84 | * Thu Jan 06 2011 - Werner Dittmann <werner.dittmann@t-online.de> |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 85 | - Add Skein MAC authentication algorithm |