1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = pycairo-%{version}
11 groups = Development/Tools
12 url = https://cairographics.org/pycairo
13 license = MPLv1.1 or LGPLv2
14 summary = Python3 bindings for the cairo library
17 Python3 bindings for the cairo library.
20 source_dl = https://github.com/pygobject/pycairo/releases/download/v%{version}/
31 %{python3} setup.py build
35 %{python3} setup.py install --skip-build --root="%{BUILDROOT}"
37 # Fix header permissions.
38 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
39 -exec chmod -v 644 {} \;
49 # The development headers need the cairo headers.
56 package %{name}-debuginfo