Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37481796
en ru br
Репозитории ALT
S:2.28.7-alt2
5.1: 2.16.1-alt1
4.1: 2.14.2-alt0.M41.1
4.0: 2.12.3-alt1
www.altlinux.org/Changes

Группа :: Разработка/Python
Пакет: python-module-pygobject

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define major 2.14
%define oname pygobject

Name: python-module-pygobject
Version: %major.2
Release: alt0.M41.1

Summary: Python bindings for GObject

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
Patch: %oname-2.12.2-alt-link.patch

%setup_python_module pygtk

%add_python_lib_path  %python_sitelibdir/gtk-2.0
%add_findprov_lib_path %python_sitelibdir/gtk-2.0/gtk

BuildRequires: glib2-devel >= 2.8.0
Conflicts: python-module-pygtk <= 2.8.2-alt2.1

# manually removed: eric gcc-g77 libg2c-devel

# Automatically added by buildreq on Sat Feb 11 2006
BuildRequires: gcc-c++ glib2-devel libstdc++-devel pkgconfig python-base python-dev python-modules-encodings

BuildRequires: rpm-build-compat >= 0.95

%description
This archive contains bindings for the GObject, to be used in Python
It is a fairly complete set of bindings, it's already rather useful,
and is usable to write moderately complex programs.  (see the
examples directory for some examples of the simpler programs you could
write).

%package devel
Summary: Development files for %oname
Group: Development/Python
Requires: %name = %version-%release
Conflicts: python-module-pygtk-devel <= 2.8.2-alt2.1

%description devel
Development files for %oname.

%prep
%setup -q -n %oname-%version
%__subst "s|^TMPDIR.*||g" Makefile*
#%patch -p1

%build
%configure --with-pic --disable-static
%make_build

%install
%make_install install DESTDIR=%buildroot
mkdir -p %buildroot%_includedir/python%__python_version
mv %buildroot%_includedir/pygtk-2.0 %buildroot%_includedir/python%__python_version/pygtk
%__subst "s|\${includedir}/pygtk-2.0|\${includedir}/python%__python_version/pygtk|g" %buildroot/%_pkgconfigdir/*.pc

%files
%python_sitelibdir/pygtk.*
#%dir %python_sitelibdir/gtk-2.0/
%dir %python_sitelibdir/gtk-2.0/
%python_sitelibdir/gtk-2.0/gobject
%_datadir/pygobject

%files devel
%doc README AUTHORS NEWS ChangeLog examples
%_includedir/python%__python_version/pygtk
%python_sitelibdir/gtk-2.0/dsextras.*
%_pkgconfigdir/*
%_datadir/gtk-doc/html/pygobject/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin