File python-gstreamer-0_10.spec of Package python-gstreamer-0_10

#
# spec file for package python-gstreamer-0_10 (Version 0.10.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:           python-gstreamer-0_10
%define _name gst-python
BuildRequires:  fdupes
BuildRequires:  gstreamer-0_10-plugins-base-devel python-devel python-gtk-devel
%ifarch %ix86 ppc x86_64
BuildRequires:  valgrind
%endif
Url:            http://www.gstreamer.net/
Summary:        Python Bindings for GStreamer
Version:        0.10.16
Release:        1
License:        LGPL v2.1 or later
Group:          Development/Languages/Python
Source:         %{_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-gtk python-gnome
Requires:       gstreamer-0_10 >= 0.10.24
# Name up to 10.3:
Provides:       python-gstreamer010 = %{version}
Obsoletes:      python-gstreamer010 < %{version}
Provides:       %{name}-devel = %{version}-%{release}
%{py_requires}

%description
This module contains a wrapper that allows GStreamer applications to be
written in Python.



Authors:
--------
    David I. Lehn <dlehn@users.sourceforge.net>
    Kenichi Sato <ksato@users.sourceforge.net>
    Thomas Vander Stichele <thomas@apestaart.org>
    Johan Dahlin <jdahlin@telia.com>
    Andy Wingo <andy@fluendo.com>
    Edward Hervey <edward@fluendo.com>

%package devel
License:        LGPL v2.1 or later
Summary:        Python Bindings for GStreamer
Group:          Development/Languages/Python
Requires:       %{name} = %{version}
Requires:       python-gtk-devel gstreamer-0_10-devel

%description devel
This module contains a wrapper that allows GStreamer applications to be
written in Python.



Authors:
--------
    David I. Lehn <dlehn@users.sourceforge.net>
    Kenichi Sato <ksato@users.sourceforge.net>
    Thomas Vander Stichele <thomas@apestaart.org>
    Johan Dahlin <jdahlin@telia.com>
    Andy Wingo <andy@fluendo.com>
    Edward Hervey <edward@fluendo.com>

%prep
%setup -q -n %{_name}-%{version}

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -v
%fdupes $RPM_BUILD_ROOT/%{py_sitedir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README RELEASE TODO
%{_libdir}/gstreamer-0.10/*.so
%{py_sitedir}/gst-0.10
%{py_sitedir}/pygst.*
%{py_sitedir}/*.so
%{_datadir}/%{_name}

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

%changelog
openSUSE Build Service is sponsored by