File python-clutter-gst.spec of Package python-clutter-gst

#
# spec file for package python-clutter-gst (Version 1.0.0)
#
# Copyright (c) 2010 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-clutter-gst
%define _name   pyclutter-gst
Version:        1.0.0
Release:        1
License:        LGPL v2 or later
Summary:        Python bindings for GStreamer integration for Clutter
Group:          Development/Libraries/Python
Url:            http://clutter-project.org/
Source:         %{_name}-%{version}.tar.bz2
BuildRequires:  clutter-devel
BuildRequires:  clutter-gst-devel
BuildRequires:  fdupes
BuildRequires:  python-clutter-devel
BuildRequires:  python-devel
BuildRequires:  python-gobject2-devel
BuildRequires:  python-gstreamer-0_10-devel
Requires:       python-clutter
Requires:       python-gstreamer-0_10
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires

%description
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.

Clutter GStreamer enables the use of GStreamer with Clutter.

%package devel
License:        LGPL v2 or later
Summary:        Python bindings for GStreamer integration for Clutter - Development Files
Group:          Development/Libraries/Python
Requires:       %{name} = %{version}

%description devel
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces.

Clutter GStreamer enables the use of GStreamer with Clutter.

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

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

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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{python_sitearch}/cluttergst/

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/pyclutter-gst-1.0.pc
# we explicitly list the directories here to be sure we don't include something
# that should live in the main package
%dir %{_datadir}/pyclutter
%dir %{_datadir}/pyclutter/1.0
%{_datadir}/pyclutter/1.0/defs/

%changelog
openSUSE Build Service is sponsored by