]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - python3-cairo/python3-cairo.nm
squid: Update to version 6.3-1
[people/pmueller/ipfire-3.x.git] / python3-cairo / python3-cairo.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python3-cairo
7 version = 1.23.0
8 release = 2
9 thisapp = pycairo-%{version}
10
11 groups = Development/Tools
12 url = https://cairographics.org/pycairo
13 license = MPLv1.1 or LGPLv2
14 summary = Python3 bindings for the cairo library
15
16 description
17 Python3 bindings for the cairo library.
18 end
19
20 source_dl = https://github.com/pygobject/pycairo/releases/download/v%{version}/
21
22 build
23 requires
24 cairo-devel
25 pkg-config
26 python3-devel >= 3.4
27 python3-setuptools
28 end
29
30 build
31 %{python3} setup.py build
32 end
33
34 install
35 %{python3} setup.py install --skip-build --root="%{BUILDROOT}"
36
37 # Fix header permissions.
38 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
39 -exec chmod -v 644 {} \;
40 end
41 end
42
43 packages
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
59 end