File python-goocanvas.spec of Package python-goocanvas
#
# spec file for package python-goocanvas (Version 0.14.1)
#
# 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-goocanvas
BuildRequires: goocanvas-devel
BuildRequires: gtk-doc
BuildRequires: python-cairo-devel
BuildRequires: python-gobject2-devel
BuildRequires: python-gtk-devel
Summary: Python bindings for goocanvas
Version: 0.14.1
Release: 1
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.
%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
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon May 18 2009 vuntz@novell.com
- Update to version 0.14.1:
+ Fix a segfault due to an API change in PycCairo
+ Autogenerate the ChangeLog from git logs
+ Fix the build when using libtool 2.x
+ Make the required changes after the switch to git
- Drop python-goocanvas-pycairo-api.patch: fixed upstream.
* Sat Mar 21 2009 vuntz@novell.com
- Add python-goocanvas-revert-svn229.patch to fix crash when just
importing the python module.
* Fri Mar 20 2009 vuntz@novell.com
- Update to version 0.14.0:
+ Update the docs with new goocanvas API and some random fixes
+ Add an export SVG function in the demo
- Changes from version 0.13.1:
+ Fix a bug in docs bgo#565710
+ Some more code for the demo
+ Fix goocanvas.Grid and goocanvas.GridModel constructors
- Changes from version 0.13.0:
+ Update docs with new API.
+ Update build system in order to compile on Windows
+ wrap new goocanvas.Canvas methods
+ add goocanvas.Grid and goocanvas.GridModel
- Changes from version 0.12.0:
+ wrap goocanvas.Points fields
+ add a gradient demo to test fill_pattern
+ wrap Item.get_requested_area() and Item.update()
+ wrap Item.get_transform_for_child()
+ manually wrap Item.set_transform() and
ItemModel.set_transform(). It' is now possible to use None to
unset the matrix
+ manually wrap goocanvas.create_cairo_context() and fix a bad
API change in Pycairo.
+ demo play (and drag around...) a flash file into a canvas item.
+ some docs fixes.
- Remove unneeded BuildRequires: gtk2-devel, python-devel.
- Remove AutoReqProv: it's default now.
- Add python-gtk Requires.
- Use parallel make.
- Add python-goocanvas-pycairo-api.patch to fix build with latest
python-cairo.
- Do not package empty README.
- Use py_requires.
* Mon Jun 30 2008 maw@suse.de
- Update to version 0.10.0:
+ Install a .pc file
+ Add goocanvas.ItemSimple.bounds getsets
+ Prevent PYGTK from being imported into goocanvasmodule
(bln##150412)
o fix object registration TYPE_CAIRO_PATTERN (Gian Mario)
o New custom example for SVG images. (Gian Mario)
o update with new goocanvas 0.10 API (Gian Mario)
o fix a bug introduced by pycairo API change, see LP#222503
reported by David Boucher (Gian Mario)
o Update docs according to new API (Gian Mario)
* Wed Dec 05 2007 maw@suse.de
- Import into autobuild.
* Thu Nov 01 2007 maw@suse.de
- Require python-gobject2
* Thu Nov 01 2007 maw@suse.de
- Require python-cairo.
* Thu Nov 01 2007 maw@suse.de
- Don't require the -lang subpackage, since it doesn't exist.
* Thu Nov 01 2007 maw@suse.de
- Initial package.