Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37736161
en ru br
ALT Linux repos
S:1.18.2-alt3
5.0: 1.4.12-alt1
4.1: 1.4.0-alt1.1
4.0: 1.4.0-alt1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: python-module-pycairo
Version: 1.4.0
Release: alt1

Summary: Pycairo is a set of Python bindings for the vector graphics library cairo

License: GPL
Group: Development/Python
Url: http://www.cairographics.org/pycairo

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://cairographics.org/releases/pycairo-%version.tar.bz2

%setup_python_module cairo

# manually removed: eric gcc-g77 libg2c-devel

# Automatically added by buildreq on Thu Feb 09 2006
BuildRequires: gcc-c++ libcairo-devel libjpeg-devel libpng-devel libstdc++-devel libsvg-cairo-devel libsvg-devel libxml2-devel pkg-config python-base python-dev python-module-Numeric-devel python-modules-encodings zlib-devel

BuildRequires: libcairo-devel >= 1.4.0-alt1

%description
James Henstridge has created cairo bindings for Python.
Cairo is a library for drawing vector graphics.
Vector graphics are interesting because when they appear on screen,
they don't lose clarity when resized or transformed.

%package devel
Summary: Development files for pycairo
Group: Development/Python
Requires: %name = %version-%release

%description devel
Development files for pycairo.

%prep
%setup -q -n pycairo-%version

%build
%configure --without-pygtk
%make_build
# FIXME: run with built pycairo
#echo "import cairo" >test-cairo.py
#%_bindir/env python test-cairo.py

%install
%make_install install DESTDIR=%buildroot

%files
%python_sitelibdir/%modulename

%files devel
%_includedir/pycairo
%_pkgconfigdir/pycairo.pc
%doc README NEWS ChangeLog examples

%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