Name: pycairo-py27 Version: 1.18.1 Release: 3mamba Summary: Python 2 bindings for cairo Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://cairographics.org/ Source: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz License: LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcairo-devel BuildRequires: libpython27-devel ## AUTOBUILDREQ-END %description Python 2 bindings for cairo. %package -n pycairo Summary: Python 2 bindings for cairo Group: System/Libraries/Python Provides: py2cairo Obsoletes: py2cairo < 1.18.1 Provides: python-cairo Provides: python-pycairo %description -n pycairo Python 2 bindings for cairo. %package -n pycairo-py27-devel Summary: Development package for python 2 bindings for cairo Group: Development/Libraries %description -n pycairo-py27-devel Development package for python 2 bindings for cairo. %prep %setup -q -n pycairo-%{version} %build CFLAGS="%{optflags}" %{__python27} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python27_inc} \ --install-lib=%{python27_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n pycairo -f %{name}.filelist %defattr(-,root,root) %dir %{python27_sitearch}/pycairo-%{version}-py*.egg-info %{python27_sitearch}/pycairo-%{version}-py*.egg-info/* %doc COPYING %files -n pycairo-py27-devel -f %{name}.filelist %defattr(-,root,root) %{python27_sitearch}/cairo/include/py*cairo.h %{_includedir}/* %{_libdir}/pkgconfig/*.pc %changelog * Sun Apr 25 2021 Silvan Calarco 1.18.1-3mamba - add pycairo-py27-devel package to remove devel deps from main package * Sun Apr 18 2021 Silvan Calarco 1.18.1-2mamba - python 2.7 legacy package * Thu Aug 08 2019 Silvan Calarco 1.18.1-1mamba - update to 1.18.1 * Sat Dec 22 2018 Silvan Calarco 1.18.0-2mamba - provide python-cairo * Fri Dec 21 2018 Silvan Calarco 1.18.0-1mamba - update to 1.18.0 * Thu Nov 20 2014 Silvan Calarco 1.10.0-4mamba - py3cairo-devel: remove obsoletes taken from pycairo * Thu Nov 06 2014 Silvan Calarco 1.10.0-3mamba - renamed from py2cairo * Fri May 17 2013 Silvan Calarco 1.10.0-2mamba - rebuilt with python 2.7 * Sun Jul 24 2011 Automatic Build System 1.10.0-1mamba - update to 1.10.0 * Mon Oct 25 2010 Silvan Calarco 1.8.10-1mamba - update to 1.8.10 - renamed from python-cairo to py2cairo * Sat Oct 17 2009 Silvan Calarco 1.8.8-2mamba - use autotools instead of python for build to fix missing __init__.py* installation * Tue Oct 13 2009 Automatic Build System 1.8.8-1mamba - automatic update by autodist * Sat Jul 04 2009 Automatic Build System 1.8.6-1mamba - automatic update by autodist * Sat Apr 04 2009 Silvan Calarco 1.8.4-1mamba - automatic update by autodist * Sat Feb 28 2009 Silvan Calarco 1.8.2-1mamba - automatic update by autodist * Thu Dec 04 2008 Silvan Calarco 1.6.4-1mamba - update to 1.6.4 - renamed and obsoleted python-pycairo; provide pycairo and pycairo devel * Sat Jun 30 2007 Stefano Cotta Ramusino 1.4.0-1mamba - update to 1.4.0 * Mon Oct 24 2005 Davide Madrisan 1.0.2-1qilnx - package created by autospec