Репозитории ALT
5.1: | 2.25.3-alt1 |
4.1: | 2.19.1-alt1.M41.2 |
4.0: | 2.14.3-alt1 |
3.0: | 2.10.0-alt2 |
Группа :: Разработка/Python
Пакет: python-module-pygnome-extras
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
#TODO: gda 1.2 ? libgksu1.2 libgksuui1.2
#TODO: /usr/lib/firefox-1.5.0.7???
%define major 2.19
Name: python-module-pygnome-extras
Version: %major.1
Release: alt1.M41.2
Summary: Set of extra 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-extras/%major/gnome-python-extras-%version.tar.bz2
%setup_python_module pygnome
%define bname python-module-pygnome
%define python_gnome_dir %python_sitelibdir/gtk-2.0/gnome
# Automatically added by buildreq on Sat Aug 09 2008
BuildRequires: gcc-c++ glibc-devel libgdl-devel libgksu-devel libgtkhtml2-devel libgtkspell-devel python-module-pygnome-devel xulrunner-devel
%description
This package is a set of extra 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 extra wrappers for GNOME libraries
Group: Development/Python
Requires: %name = %version-%release
Requires: python-module-pygnome-devel
%description devel
This package contains files required to build wrappers for GNOME
libraries so that they interoperate with pygnome.
%package -n %bname-gtkhtml2
Summary: Python bindings for interacting with gtkhtml2
Group: Development/Python
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-gtkmozembed
Summary: Python bindings for interacting with gtkmozembed
Group: Development/Python
Requires: %name = %version-%release
%description -n %bname-gtkmozembed
This module contains a wrapper that allows the use of gtkmozembed via Python
%prep
%setup -q -n gnome-python-extras-%version
# gda build is broken :(
#__subst "s|libgda|libgda-2.0|g" ./configure
# Hack, wait for https://bugzilla.altlinux.org/show_bug.cgi?id=16330
%__subst "s|libgksu/libgksu.h|libgksu.h|g" gksu2/gksu2.override
# Hack, wait for https://bugzilla.altlinux.org/show_bug.cgi?id=16364
%__subst "s|variable=libdir|variable=includedir|g" configure
%build
%configure --with-gtkmozembed=mozilla
%make_build
%install
%makeinstall_std
rm -f %buildroot%python_sitelibdir/gtk-2.0/*.la
%files
%doc AUTHORS ChangeLog README NEWS
%python_sitelibdir/gtk-2.0/egg
%python_sitelibdir/gtk-2.0/gdl.so
%python_sitelibdir/gtk-2.0/gtkspell.so
%python_sitelibdir/gtk-2.0/gksu2/
%files devel
%doc examples/*
%_pkgconfigdir/*
%_datadir/gtk-doc/html/*
%_datadir/pygtk/2.0/defs/*.defs
%files -n %bname-gtkhtml2
%python_sitelibdir/gtk-2.0/gtkhtml*
%files -n %bname-gtkmozembed
%python_sitelibdir/gtk-2.0/gtkmozembed.so
%changelog
…
Полный changelog можно просмотреть здесь
#TODO: /usr/lib/firefox-1.5.0.7???
%define major 2.19
Name: python-module-pygnome-extras
Version: %major.1
Release: alt1.M41.2
Summary: Set of extra 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-extras/%major/gnome-python-extras-%version.tar.bz2
%setup_python_module pygnome
%define bname python-module-pygnome
%define python_gnome_dir %python_sitelibdir/gtk-2.0/gnome
# Automatically added by buildreq on Sat Aug 09 2008
BuildRequires: gcc-c++ glibc-devel libgdl-devel libgksu-devel libgtkhtml2-devel libgtkspell-devel python-module-pygnome-devel xulrunner-devel
%description
This package is a set of extra 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 extra wrappers for GNOME libraries
Group: Development/Python
Requires: %name = %version-%release
Requires: python-module-pygnome-devel
%description devel
This package contains files required to build wrappers for GNOME
libraries so that they interoperate with pygnome.
%package -n %bname-gtkhtml2
Summary: Python bindings for interacting with gtkhtml2
Group: Development/Python
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-gtkmozembed
Summary: Python bindings for interacting with gtkmozembed
Group: Development/Python
Requires: %name = %version-%release
%description -n %bname-gtkmozembed
This module contains a wrapper that allows the use of gtkmozembed via Python
%prep
%setup -q -n gnome-python-extras-%version
# gda build is broken :(
#__subst "s|libgda|libgda-2.0|g" ./configure
# Hack, wait for https://bugzilla.altlinux.org/show_bug.cgi?id=16330
%__subst "s|libgksu/libgksu.h|libgksu.h|g" gksu2/gksu2.override
# Hack, wait for https://bugzilla.altlinux.org/show_bug.cgi?id=16364
%__subst "s|variable=libdir|variable=includedir|g" configure
%build
%configure --with-gtkmozembed=mozilla
%make_build
%install
%makeinstall_std
rm -f %buildroot%python_sitelibdir/gtk-2.0/*.la
%files
%doc AUTHORS ChangeLog README NEWS
%python_sitelibdir/gtk-2.0/egg
%python_sitelibdir/gtk-2.0/gdl.so
%python_sitelibdir/gtk-2.0/gtkspell.so
%python_sitelibdir/gtk-2.0/gksu2/
%files devel
%doc examples/*
%_pkgconfigdir/*
%_datadir/gtk-doc/html/*
%_datadir/pygtk/2.0/defs/*.defs
%files -n %bname-gtkhtml2
%python_sitelibdir/gtk-2.0/gtkhtml*
%files -n %bname-gtkmozembed
%python_sitelibdir/gtk-2.0/gtkmozembed.so
%changelog
…
Полный changelog можно просмотреть здесь