Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37600881
en ru br
ALT Linux repos
5.0: 2.26.0-alt1
4.1: 2.22.0-alt1.M41.1
4.0: 2.18.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define major 2.22
%define oname gnome-python-desktop
%define extras_version 2.19
Name: python-module-pygnome-desktop
Version: %major.0
Release: alt1.M41.1

Summary: Python modules for some GNOME libraries part of the GNOME Desktop

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/%oname/%major/%oname-%version.tar.bz2

#%setup_python_module pygnome

%define bname python-module-pygnome

%define python_gnome_dir %python_sitelibdir/gtk-2.0/gnome

Requires: %bname-extras >= %extras_version

# manually removed: libgtksourceview1-devel

# Automatically added by buildreq on Thu Sep 04 2008
BuildRequires: bug-buddy evolution-data-server-devel gcc-c++ glibc-devel gnome-media-devel libgnome-desktop-devel libgnome-keyring-devel libgnome-panel-devel libgnomeprintui-devel libgtop-devel libmetacity-devel libnautilus-cd-burner-devel librsvg-devel libtotem-devel libwnck-devel python-module-pycairo-devel python-module-pygnome-devel

BuildRequires: python-module-pygtk-devel >= 2.10.0

%description
GnomePythonDesktop provides python interfacing modules for some
GNOME libraries part of the GNOME Desktop (gnomeapplet, gnomeprint,
gnomeprint.ui, gtksourceview, wnck, totem.plparser, gtop, nautilusburn,
mediaprofiles, metacity).

%package devel
Summary: files needed to build extra wrappers for GNOME libraries
Group: Development/Python
Requires: %name = %version-%release
Requires: %name-devel
Requires: %bname-extras-devel >= %extras_version

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

%package -n %bname-applet
Summary: Python bindings for GNOME Panel applets
Group: System/Libraries
Obsoletes: pygnome-applet
Obsoletes: gnome-python2-applet
Provides: gnome-python2-applet
Requires: %name = %version-%release

%description -n %bname-applet
This module contains a wrapper that allows GNOME Panel applets to be
written in Python.

%package -n %bname-gtkhtml2
Summary: Python bindings for interacting with gtkhtml2
Group: System/Libraries
Requires: %name = %version-%release
Obsoletes: gnome-python2-gtkhtml2
Provides: gnome-python2-gtkhtml2

%description -n %bname-gtkhtml2
This module contains a wrapper that allows the use of gtkhtml2 via Python.

%package -n %bname-gnomeprint
Summary: Python bindings for interacting with libgnomeprint
Group: System/Libraries
Requires: libgnomeprint2, libgnomeprintui
Requires: %name = %version-%release
Obsoletes: gnome-python2-gnomeprint
Provides: gnome-python2-gnomeprint

%description -n %bname-gnomeprint
This module contains a wrapper that allows the user of libgnomeprint via Python.

%package -n %bname-nautilusburn
Summary: Python bindings for interacting with nautilus burn
Group: System/Libraries
Requires: %name = %version-%release

%description -n %bname-nautilusburn
This module contains a wrapper that allows the use of nautilusburn via Python

%package -n %bname-totem
Summary: Python bindings for interacting with totem
Group: System/Libraries
Requires: %name = %version-%release

%description -n %bname-totem
This module contains a wrapper that allows the use of totem via Python

%package -n %bname-metacity
Summary: Python bindings for interacting with metacity
Group: System/Libraries
Requires: %name = %version-%release

%description -n %bname-metacity
This module contains a wrapper that allows the use of metacity via Python

%package -n %bname-evolution
Summary: Python bindings for interacting with evolution
Group: System/Libraries
Requires: %name = %version-%release

%description -n %bname-evolution
This module contains a wrapper that allows the use of evolution via Python

%prep
%setup -q -n %oname-%version

%build
%configure --enable-metacity --disable-dependency-tracking \
--enable-evolution --enable-evolution-ecal
%make_build

%install
%makeinstall
rm -f %buildroot%python_sitelibdir/gtk-2.0/*.la
# built in separate package for compatibility
#rm -f %python_sitelibdir/gtk-2.0/gtksourceview.so

%files
%doc AUTHORS ChangeLog README NEWS
%python_sitelibdir/gtk-2.0/gtop.so
%python_sitelibdir/gtk-2.0/rsvg.so
%python_sitelibdir/gtk-2.0/gnomekeyring.so
%python_sitelibdir/gtk-2.0/mediaprofiles.so
%python_sitelibdir/gtk-2.0/bugbuddy.*
%python_sitelibdir/gtk-2.0/wnck.so
%python_sitelibdir/gtk-2.0/gnomedesktop/

%files devel
%doc examples/*
%_pkgconfigdir/*
%_datadir/gtk-doc/html/*
%_datadir/pygtk/2.0/defs/*.defs

%files -n %bname-applet
%python_gnome_dir/applet.*
%python_sitelibdir/gtk-2.0/gnomeapplet.so

%files -n %bname-gnomeprint
%python_sitelibdir/gtk-2.0/gnomeprint/

%files -n %bname-totem
%python_sitelibdir/gtk-2.0/totem/

%files -n %bname-nautilusburn
%python_sitelibdir/gtk-2.0/nautilusburn.so

%files -n %bname-metacity
%python_sitelibdir/gtk-2.0/metacity.so

%files -n %bname-evolution
%python_sitelibdir/gtk-2.0/evolution/

%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