File python-gobject2.spec of Package python-gobject2
#
# spec file for package python-gobject2 (Version 2.15.4)
#
# Copyright (c) 2008 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-gobject2
%define _name pygobject
BuildRequires: glib2-devel python-devel
# Only for /usr/share/gtk-doc directory ownership:
BuildRequires: gtk-doc
Summary: Python bindings for GObject
Version: 2.15.4
Release: 2
License: LGPL v2.1 or later
Group: Development/Libraries/Python
Url: http://ftp.gnome.org/pub/GNOME/sources/pygobject/
Source: %{_name}-%{version}.tar.bz2
Source1: pygobject-acinclude.m4
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%{py_requires}
%description
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
Authors:
--------
James Henstridge <james@daa.com.au>
Johan Dahlin <johan@gnome.org>
%package devel
License: LGPL v2.1 or later
Summary: Python bindings for GObject
Group: Development/Libraries/Python
Requires: %{name} = %{version} glib2-devel
%description devel
This package contains files required to build wrappers for gobject
addon libraries such as pygtk.
Authors:
--------
James Henstridge <james@daa.com.au>
Johan Dahlin <johan@gnome.org>
%package doc
License: LGPL v2.1 or later
Summary: Python bindings for GObject
Group: Development/Libraries/Python
Requires: %{name} = %{version}
%description doc
Pygobjects is an extension module for python that gives you access to
GLib's GObjects.
Authors:
--------
James Henstridge <james@daa.com.au>
Johan Dahlin <johan@gnome.org>
%prep
%setup -q -n %{_name}-%{version}
cp -a %{S:1} acinclude.m4
%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
rm examples/Makefile*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS NEWS README ChangeLog examples
%{_bindir}/pygobject-codegen-2.0
%{py_sitedir}/gtk-2.0
%{py_sitedir}/pygtk.*
%{_datadir}/%{_name}
%{_libdir}/libpyglib-2.0.*
%files devel
%defattr(-,root,root)
%{_includedir}/pygtk-2.0
%{_libdir}/pkgconfig/pygobject-2.0.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/*
%changelog
* Fri Sep 05 2008 mboman@novell.com
- Update to version 2.15.4:
+ Too many changes and fixes to list. Please see NEWS for full details.
* Tue Jul 01 2008 maw@suse.de
- Update to version 2.14.2:
+ Allow gobject.property work with subclasses (bgo#523352)
+ Unbreak Source.prepare (bgo#523075)
+ Never override customly set 'tp_new' and 'tp_alloc'
+ Don't link against libffi if we cannot find libffi on the
system (bgo#496006)
+ Dist .m4 files (bgo#496011)
+ Don't return NULL after warning of enum comparsion
(bgo#519631).
* Thu Apr 03 2008 hpj@suse.de
- Upgraded to version 2.14.1:
* Avoid wakeups when using Python trunk.
* Add an uninstalled.pc.
* Thu Sep 20 2007 sbrabec@suse.cz
- Updated to version 2.14.0:
* Fix a Python 2.6 deprecation warning
* Wrap g_timeout_add_seconds, when compiling with glib 2.14
* Always fully initialize the PyGObject
* Fix compilation in Solaris, again
* Fix check for default value in boolean type
* Fix new style properties with subclasses
* Docs generation fixes
* Tue Jan 09 2007 sbrabec@suse.cz
- Splitted python-gobject2-doc from python-gobject2-devel.
* Tue Jan 09 2007 cthiel@suse.de
- update to version 2.12.3
* distutils build fixes
* documentation updates
* gobject.handler_block_by_func and friends now accept methods
* avoid truncating of gparamspec
* set __module__ on gobject derived types
* Ensure exceptions are raised on errors in gobject.OptionGroup
* Mon Nov 27 2006 sbrabec@suse.cz
- Preamble typo fix.
* Sat Oct 21 2006 cthiel@suse.de
- update to version 2.12.2
* Make PyGObject 64-bit safe for Python 2.5
* All headers are now LGPL and not GPL
* Remove a couple of GCC warnings
* Revive distutils support
* Emission hook reference count bugfix
* MSVC/ANSI C compilation fix
* Bump Ctrl-C timeout handler from 100ms to 1000
* Sun Oct 01 2006 cthiel@suse.de
- update to version 2.12.1
* Corrected version check
- changes from 2.11.4 to 2.12.0
* Install the html files even when using --disable-docs
- changes from 2.11.3 to 2.11.4
* Include pre-generated html docs in the tarball
* Fix bug in do_set_property called from constructor
* Fix type registration involving interfaces with signals and/or properties
- changes from 2.11.2 to 2.11.3
* Documentation updates
* Documentation build fixes
* PyGObject can now be compiled using a C++ compiler
* Type registration bug fix
* Thu Aug 10 2006 cthiel@suse.de
- initial package (version 2.11.2)