1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Development/Tools
11 url = http://cairographics.org/pycairo
12 license = MPLv1.1 or LGPLv2
13 summary = Python3 bindings for the cairo library.
16 Python3 bindings for the cairo library.
19 thisapp = pycairo-%{version}
21 source_dl = http://cairographics.org/releases/
22 sources = %{thisapp}.tar.bz2
38 %{python3} ./waf build -v
42 # remove executable bits from examples
43 find ./examples/ -type f -print0 | xargs -0 chmod -x
45 DESTDIR=%{BUILDROOT} %{python3} ./waf install
47 # add executable bit to the .so libraries so we strip the debug info
48 find %{BUILDROOT} -name '*.so' | xargs chmod +x
58 # The development headers need the cairo headers.
65 package %{name}-debuginfo