2012-02-27 10:30:51 +00:00
|
|
|
#
|
|
|
|
# spec file for package farstream
|
|
|
|
#
|
2022-02-15 11:05:21 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
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.
|
|
|
|
|
2020-03-07 21:56:33 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-27 10:30:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-03-09 10:07:03 +00:00
|
|
|
%define gst_pluginsdir %(pkg-config --variable pluginsdir gstreamer-1.0)
|
2012-02-27 10:30:51 +00:00
|
|
|
Name: farstream
|
2022-02-15 11:05:21 +00:00
|
|
|
Version: 0.2.9+5
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: Productivity/Multimedia/Other
|
2018-03-09 10:07:03 +00:00
|
|
|
URL: http://farsight.freedesktop.org/
|
2020-03-07 21:56:33 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2014-09-10 18:35:32 +00:00
|
|
|
Source1: baselibs.conf
|
2020-03-07 21:56:33 +00:00
|
|
|
|
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
|
2021-05-12 14:47:20 +00:00
|
|
|
# PATCH-FIX-UPSTREAM farstream-glib-non-volatile.patch boo#1185220 dimstar@opensuse.org -- Fix build against GCC11/glib2 without misusing 'volatile'
|
|
|
|
Patch1: farstream-glib-non-volatile.patch
|
2022-02-15 11:05:21 +00:00
|
|
|
# PATCH-FIX-OPENSUSE farstream-drop-examples.patch -- Drop building examples
|
|
|
|
Patch2: farstream-drop-examples.patch
|
2020-03-07 21:56:33 +00:00
|
|
|
|
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
|
2020-03-07 21:56:33 +00:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
#needed by patch0
|
|
|
|
BuildRequires: libtool
|
2018-03-09 10:07:03 +00:00
|
|
|
BuildRequires: pkgconfig
|
2020-04-17 22:41:35 +00:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.40
|
2014-11-13 23:30:45 +00:00
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.4
|
|
|
|
BuildRequires: pkgconfig(nice) >= 0.1.8
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: LGPL-2.1-or-later
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: LGPL-2.1-or-later
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2012-02-27 10:30:51 +00:00
|
|
|
Group: Productivity/Multimedia/Other
|
2020-03-07 21:56:33 +00:00
|
|
|
Requires: gstreamer-plugins-bad >= 1.4
|
|
|
|
Requires: gstreamer-plugins-good >= 1.4
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: LGPL-2.1-or-later
|
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
|
2018-03-09 10:07:03 +00:00
|
|
|
License: LGPL-2.1-or-later
|
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
|
2020-03-07 21:56:33 +00:00
|
|
|
%autosetup -p1
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%build
|
2020-03-07 21:56:33 +00:00
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
# Needed as we are using a git checkout and patching it.
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-04-03 12:08:17 +00:00
|
|
|
|
2012-02-27 10:30:51 +00:00
|
|
|
%configure \
|
2020-03-07 21:56:33 +00:00
|
|
|
--disable-static \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-introspection \
|
2022-09-13 07:32:32 +00:00
|
|
|
--disable-gupnp \
|
2020-03-07 21:56:33 +00:00
|
|
|
%{nil}
|
|
|
|
%make_build
|
2012-02-27 10:30:51 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2018-03-09 10:07:03 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-02-27 10:30:51 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/gtk-doc/html/
|
|
|
|
|
2015-01-30 10:16:50 +00:00
|
|
|
%post -n libfarstream-0_2-5 -p /sbin/ldconfig
|
|
|
|
%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
|
2018-03-09 10:07:03 +00:00
|
|
|
%license COPYING
|
2020-03-07 21:56:33 +00:00
|
|
|
%doc AUTHORS 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
|
|
|
|
%{_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
|
|
|
|
%{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
|
|
|
|
%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
|
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
|