2011-09-27 10:07:29 +02:00
|
|
|
#
|
|
|
|
# spec file for package ccrtp
|
|
|
|
#
|
2016-11-30 11:12:02 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-09-27 10:07:29 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ccrtp
|
2015-01-02 13:09:20 +01:00
|
|
|
%define lname libccrtp3
|
2015-08-14 10:06:34 +02:00
|
|
|
Version: 2.1.2
|
2013-03-23 22:19:14 +01:00
|
|
|
Release: 0
|
2011-09-27 10:07:29 +02:00
|
|
|
Summary: A Common C++ Class Framework for RTP Packets
|
2013-03-23 22:19:14 +01:00
|
|
|
License: SUSE-GPL-2.0+-with-openssl-exception
|
2016-11-30 11:12:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-06-07 12:56:31 +02:00
|
|
|
Url: http://gnu.org/software/ccrtp/
|
|
|
|
|
|
|
|
#Git-Clone: git://git.sv.gnu.org/ccrtp
|
2015-01-03 19:15:28 +01:00
|
|
|
Source: http://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz
|
|
|
|
Source2: http://ftp.gnu.org/pub/gnu/ccrtp/%name-%version.tar.gz.sig
|
2013-06-07 12:56:31 +02:00
|
|
|
Source3: %name.keyring
|
2013-06-14 00:07:39 +02:00
|
|
|
BuildRequires: doxygen
|
2011-09-27 10:07:29 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libgcrypt-devel
|
2015-08-14 10:06:34 +02:00
|
|
|
BuildRequires: pkg-config
|
2015-01-03 19:15:28 +01:00
|
|
|
BuildRequires: ucommon-devel >= 6.2.2
|
2013-06-14 00:07:39 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
2011-09-27 10:07:29 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The ccrtp package offers a generic framework for sending and receiving
|
|
|
|
real-time streaming data over UDP packets using sending and receiving
|
|
|
|
packet queues.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: A Common C++ Class Framework for RTP Packets
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
The ccrtp package offers a generic framework for sending and receiving
|
|
|
|
real-time streaming data over UDP packets using sending and receiving
|
|
|
|
packet queues.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Include-files and documentation for ccrtp
|
2016-11-30 11:12:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-09-27 10:07:29 +02:00
|
|
|
PreReq: %install_info_prereq
|
2015-08-14 10:06:34 +02:00
|
|
|
Requires: %lname = %version
|
2011-09-27 10:07:29 +02:00
|
|
|
Requires: libgcrypt-devel
|
|
|
|
Requires: ucommon-devel >= 5.0.0
|
|
|
|
Provides: %lname-devel = %version
|
2013-03-23 22:19:14 +01:00
|
|
|
Provides: libccrtp-devel = %version
|
2011-09-27 10:07:29 +02:00
|
|
|
Obsoletes: libccrtp-devel < %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains files needed when developing applications using
|
2013-06-07 12:56:31 +02:00
|
|
|
ccrtp.
|
2011-09-27 10:07:29 +02:00
|
|
|
|
2013-06-14 00:07:39 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Generated class documentation for ccrtp
|
|
|
|
Group: Documentation/HTML
|
|
|
|
%if 0%{?suse_version} >= 1130 || 0%{?fedora_version}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Generated class documentation for the ccrtp library from header
|
|
|
|
files, html browsable.
|
|
|
|
|
2011-09-27 10:07:29 +02:00
|
|
|
%prep
|
2013-06-07 12:56:31 +02:00
|
|
|
%setup -q
|
2011-09-27 10:07:29 +02:00
|
|
|
|
|
|
|
%build
|
2013-06-07 12:56:31 +02:00
|
|
|
%configure --disable-static
|
2014-06-28 03:31:49 +02:00
|
|
|
make %{?_smp_mflags}
|
2011-09-27 10:07:29 +02:00
|
|
|
|
|
|
|
%install
|
2016-11-30 11:12:02 +01:00
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2013-06-14 00:07:39 +02:00
|
|
|
%fdupes %buildroot/%_prefix
|
2011-09-27 10:07:29 +02:00
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2013-06-14 00:07:39 +02:00
|
|
|
%post devel
|
2015-08-14 10:06:34 +02:00
|
|
|
%install_info --info-dir=%_infodir %_infodir/ccrtp.info.gz
|
2013-06-14 00:07:39 +02:00
|
|
|
|
|
|
|
%postun devel
|
2015-08-14 10:06:34 +02:00
|
|
|
%install_info_delete --info-dir=%_infodir %_infodir/ccrtp.info.gz
|
2013-06-14 00:07:39 +02:00
|
|
|
|
2011-09-27 10:07:29 +02:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root,0755)
|
2013-06-14 00:07:39 +02:00
|
|
|
%doc COPYING
|
2015-08-14 10:06:34 +02:00
|
|
|
%_libdir/libccrtp*.so.3*
|
2011-09-27 10:07:29 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,0755)
|
2013-06-14 00:07:39 +02:00
|
|
|
%doc AUTHORS NEWS README TODO ChangeLog
|
2015-08-14 10:06:34 +02:00
|
|
|
%_libdir/libccrtp*.so
|
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_includedir/ccrtp/
|
|
|
|
%_infodir/ccrtp.info*
|
2011-09-27 10:07:29 +02:00
|
|
|
|
2013-06-14 00:07:39 +02:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/html/
|
2011-09-27 10:07:29 +02:00
|
|
|
|
|
|
|
%changelog
|