2012-02-27 10:30:51 +00:00
|
|
|
#
|
|
|
|
# spec file for package farstream
|
|
|
|
#
|
2016-03-15 11:32:43 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-02-27 10:30:51 +00: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: farstream
|
2016-03-15 11:32:43 +00:00
|
|
|
Version: 0.2.8
|
2012-03-26 08:01:30 +00:00
|
|
|
Release: 0
|
2012-03-15 07:00:29 +00:00
|
|
|
# License note: the only GPL-2.0+ files are farstream-0.1.1/common/coverage/*
|
|
|
|
# and common/gstdoc-scangobj; those are just used during the build and do not
|
|
|
|
# affect the license of the binary packages
|
2012-02-27 10:30:51 +00:00
|
|
|
Summary: GStreamer modules and libraries for videoconferencing
|
2012-03-26 08:01:30 +00:00
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: Productivity/Multimedia/Other
|
2012-03-26 08:01:30 +00:00
|
|
|
Url: http://farsight.freedesktop.org/
|
2012-09-21 19:40:11 +00:00
|
|
|
Source: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
|
2014-09-10 18:35:32 +00:00
|
|
|
Source1: baselibs.conf
|
2015-04-03 12:08:17 +00:00
|
|
|
# PATCH-FEATURE-OPENSUSE farstream-plugin-path.patch fcrozat@suse.com -- Use library policy compliant path for plugin
|
|
|
|
Patch0: farstream-plugin-path.patch
|
|
|
|
#needed by patch0
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2012-02-27 10:30:51 +00:00
|
|
|
BuildRequires: fdupes
|
2012-09-25 22:12:39 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.32
|
2012-02-27 10:30:51 +00:00
|
|
|
BuildRequires: gobject-introspection-devel >= 0.10.1
|
2014-11-13 23:30:45 +00:00
|
|
|
BuildRequires: gstreamer-devel >= 1.4
|
2012-02-27 10:30:51 +00:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.16
|
2014-11-13 23:30:45 +00:00
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.4
|
2012-09-07 15:23:59 +00:00
|
|
|
BuildRequires: pkgconfig(gupnp-igd-1.0) >= 0.2
|
2014-11-13 23:30:45 +00:00
|
|
|
BuildRequires: pkgconfig(nice) >= 0.1.8
|
2012-02-27 10:30:51 +00:00
|
|
|
BuildRequires: pkgconfig(pygobject-2.0) >= 2.16.0
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-09-07 15:23:59 +00:00
|
|
|
%define gst_pluginsdir %(pkg-config --variable pluginsdir gstreamer-1.0)
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%package -n libfarstream-0_2-5
|
2012-02-27 10:30:51 +00:00
|
|
|
Summary: GStreamer modules and libraries for videoconferencing
|
2012-03-26 08:01:30 +00:00
|
|
|
License: LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-data
|
2012-02-27 10:32:40 +00:00
|
|
|
# While not strictly needed, apps using farstream will need the gstreamer
|
|
|
|
# plugins, so simply put a Requires here instead of in all apps
|
2012-09-07 15:23:59 +00:00
|
|
|
Requires: gstreamer-plugins-farstream
|
2012-02-27 10:30:51 +00:00
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%description -n libfarstream-0_2-5
|
2012-02-27 10:30:51 +00:00
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
2012-09-07 15:23:59 +00:00
|
|
|
%package -n typelib-1_0-Farstream-0_2
|
2012-02-27 10:30:51 +00:00
|
|
|
Summary: GStreamer modules and libraries for videoconferencing -- Introspection bindings
|
2012-03-26 08:01:30 +00:00
|
|
|
License: LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2012-09-07 15:23:59 +00:00
|
|
|
%description -n typelib-1_0-Farstream-0_2
|
2012-02-27 10:30:51 +00:00
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for Farstream.
|
|
|
|
|
2012-09-07 15:23:59 +00:00
|
|
|
%package -n gstreamer-plugins-farstream
|
2012-02-27 10:30:51 +00:00
|
|
|
Summary: GStreamer Plug-Ins for videoconferencing
|
2012-03-26 08:01:30 +00:00
|
|
|
License: LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: Productivity/Multimedia/Other
|
2012-09-07 15:23:59 +00:00
|
|
|
Requires: gstreamer-plugins-bad >= 0.11
|
|
|
|
Requires: gstreamer-plugins-good >= 0.11
|
2012-03-26 08:01:30 +00:00
|
|
|
# Unfortunately, the gstreamer elements have the same name; since we're
|
|
|
|
# dropping farsight, let's Obsolete the old package for a smooth transition
|
|
|
|
Obsoletes: libgstfarsight-0_10-0
|
2012-02-27 10:30:51 +00:00
|
|
|
|
2012-09-07 15:23:59 +00:00
|
|
|
%description -n gstreamer-plugins-farstream
|
2012-02-27 10:30:51 +00:00
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: GStreamer modules and libraries for videoconferencing -- Codec preferences
|
2012-03-26 08:01:30 +00:00
|
|
|
License: LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description data
|
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
|
|
|
This package contains data (codec preferences, element properties)
|
|
|
|
used by the library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: GStreamer modules and libraries for videoconferencing -- Development files
|
2012-03-26 08:01:30 +00:00
|
|
|
License: LGPL-2.1+
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-01-30 10:16:50 +00:00
|
|
|
Requires: libfarstream-0_2-5 = %{version}
|
2012-09-07 15:23:59 +00:00
|
|
|
Requires: typelib-1_0-Farstream-0_2 = %{version}
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Farstream is a collection of GStreamer modules and libraries for
|
|
|
|
videoconferencing.
|
|
|
|
|
|
|
|
%prep
|
2012-09-21 19:40:11 +00:00
|
|
|
%setup -q
|
2015-04-03 12:08:17 +00:00
|
|
|
%patch0 -p1
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%build
|
2015-04-03 12:08:17 +00:00
|
|
|
#needed by patch0
|
|
|
|
autoreconf -f
|
|
|
|
|
2012-02-27 10:30:51 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name '*.la' -delete -print
|
|
|
|
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/
|
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%post -n libfarstream-0_2-5 -p /sbin/ldconfig
|
2012-02-27 10:30:51 +00:00
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%postun -n libfarstream-0_2-5 -p /sbin/ldconfig
|
2012-02-27 10:30:51 +00:00
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%files -n libfarstream-0_2-5
|
2012-02-27 10:30:51 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
2012-09-07 15:23:59 +00:00
|
|
|
%{_libdir}/libfarstream-0.2.so.*
|
2015-04-03 12:08:17 +00:00
|
|
|
%dir %{_libdir}/farstream-0.2-5/
|
|
|
|
%{_libdir}/farstream-0.2-5/libmulticast-transmitter.so
|
|
|
|
%{_libdir}/farstream-0.2-5/libnice-transmitter.so
|
|
|
|
%{_libdir}/farstream-0.2-5/librawudp-transmitter.so
|
|
|
|
%{_libdir}/farstream-0.2-5/libshm-transmitter.so
|
2012-09-07 15:23:59 +00:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Farstream-0_2
|
2012-02-27 10:30:51 +00:00
|
|
|
%defattr(-, root, root)
|
2012-09-07 15:23:59 +00:00
|
|
|
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
|
2012-02-27 10:30:51 +00:00
|
|
|
|
2012-09-07 15:23:59 +00:00
|
|
|
%files -n gstreamer-plugins-farstream
|
2012-02-27 10:30:51 +00:00
|
|
|
%defattr(-,root,root)
|
2012-09-07 15:23:59 +00:00
|
|
|
%{gst_pluginsdir}/libfsmsnconference.so
|
|
|
|
%{gst_pluginsdir}/libfsrawconference.so
|
|
|
|
%{gst_pluginsdir}/libfsrtpconference.so
|
2014-11-13 23:30:45 +00:00
|
|
|
%{gst_pluginsdir}/libfsrtpxdata.so
|
2012-09-07 15:23:59 +00:00
|
|
|
%{gst_pluginsdir}/libfsvideoanyrate.so
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%dir %{_datadir}/farstream/
|
2012-09-07 15:23:59 +00:00
|
|
|
%dir %{_datadir}/farstream/0.2/
|
|
|
|
%dir %{_datadir}/farstream/0.2/fsrawconference/
|
|
|
|
%{_datadir}/farstream/0.2/fsrawconference/default-element-properties
|
|
|
|
%dir %{_datadir}/farstream/0.2/fsrtpconference/
|
|
|
|
%{_datadir}/farstream/0.2/fsrtpconference/default-codec-preferences
|
|
|
|
%{_datadir}/farstream/0.2/fsrtpconference/default-element-properties
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2012-09-07 15:23:59 +00:00
|
|
|
%{_includedir}/farstream-0.2/
|
|
|
|
%{_libdir}/libfarstream-0.2.so
|
|
|
|
%{_libdir}/pkgconfig/farstream-0.2.pc
|
|
|
|
%{_datadir}/gir-1.0/Farstream-0.2.gir
|
2014-05-10 19:25:44 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/farstream-libs-0.2/
|
2012-09-07 15:23:59 +00:00
|
|
|
%doc %{_datadir}/gtk-doc/html/farstream-plugins-0.2/
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%changelog
|