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

#
# spec file for package python-clutter-gtk (Version 0.10.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-gtk
%define _name   pyclutter-gtk
Version:        0.10.0
Release:        1
License:        LGPL v2 or later
Summary:        Python bindings for GTK+ integration for Clutter
Group:          Development/Libraries/Python
Url:            http://clutter-project.org/
Source:         %{_name}-%{version}.tar.bz2
BuildRequires:  clutter-devel
BuildRequires:  clutter-gtk-devel
BuildRequires:  fdupes
BuildRequires:  python-clutter-devel
BuildRequires:  python-devel
BuildRequires:  python-gobject2-devel
BuildRequires:  python-gtk-devel
Requires:       python-clutter
Requires:       python-gtk
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 GTK+ enables the use of GTK+ with Clutter.

%package devel
License:        LGPL v2 or later
Summary:        Python bindings for GTK+ 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 GTK+ enables the use of GTK+ 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}/cluttergtk/

%clean
rm -rf %{buildroot}

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

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/pyclutter-gtk-0.10.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