Name: pycairo Version: 1.21.0 Release: 1mamba Summary: Python bindings for cairo Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://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: libpython3-devel ## AUTOBUILDREQ-END %description Python bindings for cairo. %package devel Summary: Static libraries and headers for %{name} Group: Development/Libraries %description devel Python 3 bindings for cairo. This package contains static libraries and header files need for development. %if "%{?with_pyver}" %pyver_package %endif %prep %setup -q -n pycairo-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %ifarch x86_64 aarch64 [ -e %{buildroot}%{_prefix}/lib/pkgconfig ] && mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}/pkgconfig %endif %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/pycairo-%{version}-py*.egg-info %{python_sitearch}/pycairo-%{version}-py*.egg-info/* %{python_sitearch}/cairo/include/py*cairo.h %doc COPYING %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/*.pc %doc NEWS %changelog * Tue May 03 2022 Automatic Build System 1.21.0-1mamba - automatic version update by autodist * Sun Apr 03 2022 Silvan Calarco 1.20.1-2mamba - rebuilt with python 3.10 * Fri Jun 04 2021 Automatic Build System 1.20.1-1mamba - automatic version update by autodist * Sat Apr 10 2021 Silvan Calarco 1.20.0-2mamba - rebuilt with distdeps * Sun Feb 21 2021 Automatic Build System 1.20.0-1mamba - automatic version update by autodist * 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