Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37549558
en ru br
Репозитории ALT

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

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

%define oname pygoocanvas
%define ver_major 0.14
%define version %ver_major.1
%define release alt1
%setup_python_module pygoocanvas
%define _gtk_docdir %_datadir/gtk-doc/html

Name: python-module-pygoocanvas
Version: %version
Release: %release
Summary: GooCanvas python bindings
Packager: Alexey Shabalin <shaba at altlinux.ru>
Url: http://developer.berlios.de/projects/pygoocanvas/
License: LGPL
Group: Development/Python
Source: %gnome_ftp/%oname/%ver_major/%name-%version.tar
Patch0: %name-%version-%release.patch

BuildPreReq: rpm-build-gnome

# From configure.ac

BuildPreReq: python-module-pygobject-devel >= 2.10.1
BuildPreReq: python-module-pygtk-devel >= 2.10.0
BuildPreReq: libgoocanvas-devel >= 0.14
BuildPreReq: python-module-pycairo-devel >= 1.8.4

BuildRequires: gcc-c++ gtk-doc  
BuildRequires: gnome-doc-utils
BuildRequires: docbook-style-xsl

Provides: %oname = %version-%release

%description
This package includes Python bindings for GooCanvas. It is
needed to run programs written in Python and using GooCanvas
set.

%package devel
Summary: GooCanvas python bindings - Development files
Group: Development/Python
Requires: %name = %version

%description devel
This package includes development files of python bindings for GooCanvas.

%prep
%setup -q
sed -i -e 's,^\(goocanvasmodule_la_LIBADD = $(PYGOOCANVAS_LIBS)\),\1 -lpython%__python_version,g' Makefile.am

%build
./autogen.sh
%configure --enable-gtk-doc
%make_build

%install
%makeinstall

%files
%python_sitelibdir/*

%files devel
%doc %_gtk_docdir/*
%_pkgconfigdir/*.pc

%changelog

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

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