Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559177
en ru br
ALT Linux repos
5.0: 4.7.9-alt1
4.1: 4.7.9-alt0.M41.1
+backports:4.7.6-alt1.M41.1
4.0: 4.5.2-alt1
3.0: 4.2.1-alt1
+backports:4.4.3-alt0.M30.1

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define version 4.7.9
%define release alt1
#define snap_date 20051229
#define snap_rel 0

%setup_python_module sip

Summary: Python bindings generator for C++ class libraries
Name: %packagename
Version: %version
License: PSF
Group: Development/Python

%ifdef snap_date
Release: %release.snap%snap_date.%snap_rel
%else
Release: %release
%endif

Source0: %modulename.tar

URL: http://www.riverbankcomputing.co.uk/sip/
Packager: Python Development Team <python at packages.altlinux.org>

Provides: %modulename = %version-%release
Obsoletes: %modulename <= 4.1-alt2.1

BuildPreReq: gcc-c++

Patch0: sip-4.7.3-alt-fix-rpath.diff
Patch1: sip-4.7.3-alt-fix-libpython.diff

%description
Generates Python bindings for C++ class libraries from a set of class
specification files.  Also includes a Python extension module needed by all
generated bindings.

%package devel
Requires: %name = %version-%release
Summary: Header files for sip
Group: Development/Python
Provides: %modulename-devel = %version-%release
%py_package_provides %modulename-devel = %version-%release
Obsoletes: %modulename-devel

%description devel
Header files for sip

%prep
%setup -n %modulename
%patch0 -p1
%patch1 -p1

%build
%__python configure.py -d %python_sitelibdir
%make

%install
make DESTDIR=%buildroot install

%files
%_bindir/*
%python_sitelibdir/*
%doc README ChangeLog NEWS LICENSE

%files devel
%python_includedir/*
%doc doc/*

%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