File python-gobject2.spec of Package python-gobject2
#
# spec file for package python-gobject2 (Version 2.14.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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.14.1
Release: 1
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
%{py_sitedir}/gtk-2.0
%{py_sitedir}/pygtk.*
%{_datadir}/%{_name}
%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
* 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)