# # spec file for package farstream # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 Version: 0.1.1 Release: 0 # 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 Summary: GStreamer modules and libraries for videoconferencing License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Multimedia/Other Url: http://farsight.freedesktop.org/ Source: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: glib2-devel >= 2.26 BuildRequires: gobject-introspection-devel >= 0.10.1 BuildRequires: gstreamer-0_10-devel >= 0.10.33 BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.33 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.16 BuildRequires: pkgconfig(gst-python-0.10) >= 0.10.10 BuildRequires: pkgconfig(gupnp-igd-1.0) BuildRequires: pkgconfig(nice) >= 0.1.0 BuildRequires: pkgconfig(pygobject-2.0) >= 2.16.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Farstream is a collection of GStreamer modules and libraries for videoconferencing. %package -n libfarstream-0_1-0 Summary: GStreamer modules and libraries for videoconferencing License: LGPL-2.1+ Group: System/Libraries Requires: %{name}-data # While not strictly needed, apps using farstream will need the gstreamer # plugins, so simply put a Requires here instead of in all apps Requires: gstreamer-0_10-plugins-farstream %description -n libfarstream-0_1-0 Farstream is a collection of GStreamer modules and libraries for videoconferencing. %package -n typelib-1_0-Farstream-0_1 Summary: GStreamer modules and libraries for videoconferencing -- Introspection bindings License: LGPL-2.1+ Group: System/Libraries %description -n typelib-1_0-Farstream-0_1 Farstream is a collection of GStreamer modules and libraries for videoconferencing. This package provides the GObject Introspection bindings for Farstream. %package -n gstreamer-0_10-plugins-farstream Summary: GStreamer Plug-Ins for videoconferencing License: LGPL-2.1+ Group: Productivity/Multimedia/Other Requires: gstreamer-0_10-plugins-bad >= 0.10.23 Requires: gstreamer-0_10-plugins-good >= 0.10.29 # 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 %description -n gstreamer-0_10-plugins-farstream Farstream is a collection of GStreamer modules and libraries for videoconferencing. %package data Summary: GStreamer modules and libraries for videoconferencing -- Codec preferences License: LGPL-2.1+ 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 License: LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: libfarstream-0_1-0 = %{version} Requires: typelib-1_0-Farstream-0_1 = %{version} %description devel Farstream is a collection of GStreamer modules and libraries for videoconferencing. %package -n python-farstream Summary: GStreamer modules and libraries for videoconferencing -- Python bindings License: LGPL-2.1+ Group: Development/Libraries/Python Requires: libfarstream-0_1-0 = %{version} %py_requires %description -n python-farstream Farstream is a collection of GStreamer modules and libraries for videoconferencing. %prep %setup -q %build %configure \ --disable-static make %{?_smp_mflags} %install %make_install find %{buildroot} -name '*.la' -delete -print %fdupes %{buildroot}%{_datadir}/gtk-doc/html/ %post -n libfarstream-0_1-0 -p /sbin/ldconfig %postun -n libfarstream-0_1-0 -p /sbin/ldconfig %files -n libfarstream-0_1-0 %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/libfarstream-0.1.so.* %dir %{_libdir}/farstream-0.1/ %{_libdir}/farstream-0.1/libmulticast-transmitter.so %{_libdir}/farstream-0.1/libnice-transmitter.so %{_libdir}/farstream-0.1/librawudp-transmitter.so %{_libdir}/farstream-0.1/libshm-transmitter.so %files -n typelib-1_0-Farstream-0_1 %defattr(-, root, root) %{_libdir}/girepository-1.0/Farstream-0.1.typelib %files -n gstreamer-0_10-plugins-farstream %defattr(-,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so %{_libdir}/gstreamer-0.10/libfsmsnconference.so %{_libdir}/gstreamer-0.10/libfsrawconference.so %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so %{_libdir}/gstreamer-0.10/libfsrtpconference.so %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so %files data %defattr(-, root, root) %dir %{_datadir}/farstream/ %dir %{_datadir}/farstream/0.1/ %dir %{_datadir}/farstream/0.1/fsrtpconference/ %{_datadir}/farstream/0.1/fsrtpconference/default-codec-preferences %{_datadir}/farstream/0.1/fsrtpconference/default-element-properties %files devel %defattr(-,root,root) %{_includedir}/farstream-0.1/ %{_libdir}/libfarstream-0.1.so %{_libdir}/pkgconfig/farstream-0.1.pc %{_datadir}/gir-1.0/Farstream-0.1.gir %doc %{_datadir}/gtk-doc/html/farstream-libs-0.10/ %doc %{_datadir}/gtk-doc/html/farstream-plugins-0.1/ %files -n python-farstream %defattr(-,root,root) %{py_sitedir}/farstream.so %changelog