Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37553221
en ru br
ALT Linux repos
5.0: 2.26.1-alt1
4.1: 2.22.0-alt1
4.0: 2.18.0-alt1
3.0: 2.10.0-alt1

Group :: Development/Python
RPM: python-module-pygnome

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: python-module-pygnome
%define major 2.18
Version: %major.0
Release: alt1

Summary: Set of bindings for the GNOME2 platform library

License: LGPL
Group: Development/Python
Url: http://www.pygtk.org/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-python/%major/gnome-python-%version.tar.bz2

%setup_python_module pygnome

%define python_gnome_dir %python_sitelibdir/gtk-2.0/gnome

Obsoletes: gnome-python
Obsoletes: gnome-python2
Obsoletes: %name-zvt
Obsoletes: %name-nautilus
Provides: gnome-python2 = %version-%release
%py_requires ORBit

# Automatically added by buildreq on Tue Mar 28 2006

BuildRequires: fontconfig gcc-c++ libgnomeui-devel libpopt-devel libSM-devel python-dev python-module-pygobject-devel python-module-pygtk-devel python-module-pyorbit-devel python-modules python-modules-compiler python-modules-encodings zlib-devel

BuildRequires: libgtkhtml3-devel >= 3.6.0
BuildRequires: python-module-pygtk >= 2.9.6

%description
This package is a set of bindings for the Gnome platform
libraries called PyGNOME.  It builds on top of the PyGTK bindings for GTK and
the PyORBit bindings for ORBit2.

PyGNOME is an extension module for Python that provides access to the
base GNOME libraries, so you have access to more widgets, a simple
configuration interface, and metadata support.

%package devel
Summary: files needed to build wrappers for GNOME libraries
Group: Development/Python
Requires: %name = %version-%release
Requires: python-module-pygtk-devel

%description devel
This package contains files required to build wrappers for GNOME
libraries so that they interoperate with pygnome.

%package canvas
Summary: Python bindings for the GNOME Canvas
Group: Development/Python
Requires: %name = %version-%release
Obsoletes: gnome-python2-canvas
Provides: gnome-python2-canvas

%description canvas
This module contains a wrapper that allows use of the GNOME Canvas
in Python.

%package bonobo
Summary: Python bindings for interacting with bonobo
Group: Development/Python
Requires: %name-canvas = %version-%release
Obsoletes: gnome-python2-bonobo
Provides: gnome-python2-bonobo

%description bonobo
This module contains a wrapper that allows the creation of bonobo
components and the embedding of bonobo components in Python.


%package gconf
Summary: Python bindings for interacting with GConf
Group: Development/Python
Requires: %name = %version-%release
Requires: python-module-pyorbit
Obsoletes: gnome-python2-gconf
Provides: gnome-python2-gconf

%description gconf
This module contains a wrapper that allows the use of GConf via Python.

%package gnome-vfs
Summary: Python bindings for interacting with gnome-vfs
Group: Development/Python
Requires: %name = %version-%release

%description gnome-vfs
This module contains a wrapper that allows the use of gnome-vfs via Python.

%prep
%setup -q -n gnome-python-%version
#%patch1 -p1 -b .client-command

%build
#__autoreconf
%configure
%make_build

%install
%makeinstall
find %buildroot -name '*.la' -exec rm {} \;

%files
%doc AUTHORS ChangeLog README NEWS
%dir %python_gnome_dir
%python_gnome_dir/__init__.*
%python_gnome_dir/_gnome.so
%python_gnome_dir/ui.so
%python_gnome_dir/vfs.*

%files devel
%doc examples/*
%_includedir/gnome-python-2.0/
%_pkgconfigdir/gnome-python-2.0.pc
%_datadir/pygtk/2.0/argtypes/
%_datadir/pygtk/2.0/defs/*


%files canvas
%python_gnome_dir/canvas.*
%python_sitelibdir/gtk-2.0/gnomecanvas.so

%files bonobo
%python_sitelibdir/gtk-2.0/bonobo

%files gconf
%python_sitelibdir/gtk-2.0/gconf*

%files gnome-vfs
%_libdir/gnome-vfs-2.0/modules/libpythonmethod.so
%python_sitelibdir/gtk-2.0/gnomevfs/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin