Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567469
en ru br
ALT Linux repos
5.0: 0.12.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname pygoocanvas
%define ver_major 0.12
%define version %ver_major.0
%define release alt1
%setup_python_module pygoocanvas

Name: %packagename
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/%oname-%version.tar.bz2

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.10
BuildPreReq: python-module-pycairo-devel >= 1.4.0

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 -n %oname-%version
sed -i -e 's,^\(goocanvasmodule_la_LIBADD = $(PYGOOCANVAS_LIBS)\),\1 -lpython%__python_version,g' Makefile.am

%build
%autoreconf
%configure --enable-gtk-doc
%make_build

%install
%makeinstall

%files
%doc %_datadir/gtk-doc/html/%oname
%python_sitelibdir/*

%files devel
%_pkgconfigdir/*.pc

%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