File python-goocanvas.spec of Package python-goocanvas

#
# spec file for package python-goocanvas
#
# Copyright (c) 2011 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-goocanvas
BuildRequires:  gtk-doc
BuildRequires:  pkgconfig(goocanvas)
BuildRequires:  pkgconfig(pycairo)
BuildRequires:  pkgconfig(pygobject-2.0)
BuildRequires:  pkgconfig(pygtk-2.0)
Summary:        Python bindings for goocanvas
Version:        0.14.1
Release:        13
License:        LGPL v2.0 or later; LGPL v2.1 or later
Group:          Development/Libraries/GNOME
Source0:        pygoocanvas-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM python-goocanvas-revert-svn229.patch bgo576198 vuntz@novell.com -- This svn commit makes things crash on "import goocanvas"...
Patch1:         python-goocanvas-revert-svn229.patch
Url:            https://developer.berlios.de/projects/pygoocanvas/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-cairo python-gobject2 python-gtk
%py_requires

%description
Python bindings for goocanvas.

%package devel
Summary:        Python bindings for goocanvas - Development pack
License:        LGPL v2.0 or later; LGPL v2.1 or later
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}

%description devel
Python bindings for goocanvas.

This file contains development information.


%prep
%setup -q -n pygoocanvas-%{version}
%patch1 -p1

%build
autoreconf -fi
%configure --disable-docs
make %{?jobs:-j%jobs}

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{py_sitedir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS NEWS
%{py_sitedir}/*.so

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

%changelog
openSUSE Build Service is sponsored by