]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - python3-cairo/python3-cairo.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / python3-cairo / python3-cairo.nm
CommitLineData
27107f1f
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = python3-cairo
5ea7e16f
AB
7version = 1.24.0
8release = 1
414fa141 9thisapp = pycairo-%{version}
27107f1f
SS
10
11groups = Development/Tools
414fa141 12url = https://cairographics.org/pycairo
27107f1f 13license = MPLv1.1 or LGPLv2
414fa141 14summary = Python3 bindings for the cairo library
27107f1f
SS
15
16description
17 Python3 bindings for the cairo library.
18end
19
414fa141 20source_dl = https://github.com/pygobject/pycairo/releases/download/v%{version}/
27107f1f
SS
21
22build
23 requires
24 cairo-devel
25 pkg-config
d0873e09 26 python3-devel >= 3.4
414fa141 27 python3-setuptools
27107f1f
SS
28 end
29
30 build
414fa141 31 %{python3} setup.py build
27107f1f
SS
32 end
33
34 install
414fa141 35 %{python3} setup.py install --skip-build --root="%{BUILDROOT}"
219c8795
SS
36
37 # Fix header permissions.
38 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
39 -exec chmod -v 644 {} \;
27107f1f
SS
40 end
41end
42
43packages
44 package %{name}
45
46 package %{name}-devel
47 template DEVEL
48
49 # The development headers need the cairo headers.
50 requires
51 cairo-devel
52 python3-devel
53 end
54 end
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59end