File farsight2.spec of Package farsight2
#
# spec file for package farsight2 (Version 0.0.16)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: farsight2
BuildRequires: fdupes
BuildRequires: gcc-c++
%if 0%{?suse_version} > 1030
BuildRequires: gstreamer-0_10-devel >= 0.10.20
BuildRequires: gstreamer-0_10-plugins-base-devel >= 0.10.20
%else
BuildRequires: gstreamer010-devel >= 0.10.20
BuildRequires: gstreamer010-plugins-base-devel >= 0.10.20
%endif
BuildRequires: libgupnp-igd-devel
BuildRequires: libnice-devel
BuildRequires: python-gobject2-devel
BuildRequires: python-gstreamer-0_10-devel
BuildRequires: python-xml
Version: 0.0.16
Release: 1
License: LGPL v2.1 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: gstreamer-0_10-plugins-bad
Requires: libgstfarsight-0_10-0 = %{version}
Url: http://farsight.freedesktop.org/
Group: Productivity/Multimedia/Other
Summary: Framework for Audio/Video Conferencing Protocols
Source: http://farsight.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.bz2
%description
The Farsight project is an effort to create a framework to deal with
all known audio/video conferencing protocols. On one side it offers a
generic API that makes it possible to write plugins for different
streaming protocols, on the other side it offers an API for clients to
use those plugins.
Authors:
--------
Anatoly Yakovenko <aeyakovenko@yahoo.com>
Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>
Philippe Khalaf <burgerman@users.sourceforge.net>
Zhanglei Wang <filamoon@users.sourceforge.net>
Ole Andre Vadla Ravn.s <oleavr@users.sourceforge.net>
Rob Taylor <robtaylor@users.sourceforge.net>
Stephen Welch <swelch53@users.sourceforge.net>
%package -n libgstfarsight-0_10-0
License: LGPL v2.1 only
Summary: Framework for Audio/Video Conferencing Protocols
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libgstfarsight-0_10-0
The Farsight project is an effort to create a framework to deal with
all known audio/video conferencing protocols. On one side it offers a
generic API that makes it possible to write plugins for different
streaming protocols, on the other side it offers an API for clients to
use those plugins.
%package devel
License: LGPL v2.1 only
Requires: %{name} = %{version} pkgconfig glibc-devel glib2-devel
%if 0%{?suse_version} > 1030
Requires: gstreamer-0_10-devel
%else
Requires: gstreamer010-devel
%endif
Summary: Framework for Audio/Video Conferencing Protocols
Group: Development/Libraries/C and C++
Provides: %{name}-doc = %{version}
Obsoletes: %{name}-doc < %{version}
%description devel
The Farsight project is an effort to create a framework to deal with
all known audio/video conferencing protocols. On one side it offers a
generic API that makes it possible to write plugins for different
streaming protocols, on the other side it offers an API for clients to
use those plugins.
%package -n python-farsight2
License: LGPL v2.1 only
Summary: Framework for Audio/Video Conferencing Protocols
Group: Development/Libraries/Python
Requires: libgstfarsight-0_10-0 = %{version}
%py_requires
%description -n python-farsight2
The Farsight project is an effort to create a framework to deal with
all known audio/video conferencing protocols. On one side it offers a
generic API that makes it possible to write plugins for different
streaming protocols, on the other side it offers an API for clients to
use those plugins.
Authors:
--------
Anatoly Yakovenko <aeyakovenko@yahoo.com>
Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>
Philippe Khalaf <burgerman@users.sourceforge.net>
Zhanglei Wang <filamoon@users.sourceforge.net>
Ole Andre Vadla Ravn.s <oleavr@users.sourceforge.net>
Rob Taylor <robtaylor@users.sourceforge.net>
Stephen Welch <swelch53@users.sourceforge.net>
%prep
%setup -q
%build
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libgstfarsight-0_10-0 -p /sbin/ldconfig
%postun -n libgstfarsight-0_10-0 -p /sbin/ldconfig
%files -n libgstfarsight-0_10-0
%defattr(-,root,root)
# NEWS is empty
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/*.so.*
%{_libdir}/farsight2-0.0
%{_libdir}/gstreamer-0.10
%files devel
%defattr(-,root,root)
%{_includedir}/gstreamer-0.10
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/
%files -n python-farsight2
%defattr(-,root,root)
%{py_sitedir}/*
%changelog