File telepathy-farsight.spec of Package telepathy-farsight

#
# spec file for package telepathy-farsight (Version 0.0.11)
#
# 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/
#


Url:            http://telepathy.freedesktop.org/

Name:           telepathy-farsight
Version:        0.0.11
Release:        1
License:        LGPL v2.1 or later
Summary:        Telepathy media streaming framework
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  dbus-1-glib-devel >= 0.6.0
BuildRequires:  farsight2-devel >= 0.0.3
BuildRequires:  gstreamer-0_10-plugins-base-devel >= 0.10.18
BuildRequires:  libxslt
BuildRequires:  python-devel
BuildRequires:  python-gobject2-devel
BuildRequires:  python-gstreamer-0_10-devel
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel >= 0.7.8
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libtelepathy-farsight0 = %{version}-%{release}

%description
Telepathy Farsight is a Telepathy client that uses Farsight2 and
GStreamer to handle media streaming channels. It's used as a background
process by other Telepathy clients, rather than presenting any user
interface of its own.

%package -n libtelepathy-farsight0
License:        LGPL v2.1 or later
Summary:        Telepathy media streaming framework
Group:          System/Libraries

%description -n libtelepathy-farsight0
Telepathy Farsight is a Telepathy client that uses Farsight2 and
GStreamer to handle media streaming channels. It's used as a background
process by other Telepathy clients, rather than presenting any user
interface of its own.

%package devel
License:        LGPL v2.1 or later
Summary:        Telepathy media streaming framework
Group:          Development/Libraries/C and C++
Requires:       farsight2-devel > 0.0.3
Requires:       gstreamer-0_10-plugins-base-devel >= 0.10.18
Requires:       libtelepathy-farsight0 = %{version}

%description devel
Telepathy Farsight is a Telepathy client that uses Farsight2 and
GStreamer to handle media streaming channels. It's used as a background
process by other Telepathy clients, rather than presenting any user
interface of its own.

%package doc
License:        LGPL v2.1 or later
Summary:        Telepathy media streaming framework
Group:          Development/Libraries/C and C++

%description doc
Telepathy Farsight is a Telepathy client that uses Farsight2 and
GStreamer to handle media streaming channels. It's used as a background
process by other Telepathy clients, rather than presenting any user
interface of its own.

%package -n python-telepathy-farsight
License:        LGPL v2.1 or later
Summary:        Telepathy media streaming framework
Group:          Development/Libraries/Python
Requires:       python-gstreamer-0_10
%py_requires

%description -n python-telepathy-farsight
Telepathy Farsight is a Telepathy client that uses Farsight2 and
GStreamer to handle media streaming channels. It's used as a background
process by other Telepathy clients, rather than presenting any user
interface of its own.

%prep
%setup -q

%build
# autoreconf -f -i
%configure --disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print

%post -n libtelepathy-farsight0 -p /sbin/ldconfig

%postun -n libtelepathy-farsight0  -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files -n libtelepathy-farsight0
%defattr(-,root,root)
%{_libdir}/libtelepathy-farsight.so.*

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_includedir}/telepathy-1.0

%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc

%files -n python-telepathy-farsight
%defattr(-,root,root)
%{py_sitedir}/*.so

%changelog
openSUSE Build Service is sponsored by