]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - python3-gobject3/python3-gobject3.nm
python3-gobject3: Update to version 3.46.0-1
[people/pmueller/ipfire-3.x.git] / python3-gobject3 / python3-gobject3.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = python3-gobject3
7 version = %{ver_major}.%{ver_minor}
8 ver_major = 3.46
9 ver_minor = 0
10 release = 1
11 thisapp = pygobject-%{version}
12
13 groups = Development/Tools
14 url = https://www.pygtk.org/
15 license = LGPLv2+
16 summary = Python 2 bindings for GObject.
17
18 description
19 The %{name} package provides a convenient wrapper for the GObject library
20 for use in Python programs.
21 end
22
23
24 source_dl = https://ftp.gnome.org/pub/GNOME/sources/pygobject/%{ver_major}/
25 sources = %{thisapp}.tar.xz
26
27 build
28 requires
29 cairo-gobject-devel >= 1.12.12
30 glib2-devel >= 2.34.2
31 gobject-introspection-devel >= 1.56
32 pkg-config
33 python3-cairo-devel >= 1.16.0
34 python3-devel >= 3.4
35 python3-setuptools
36 end
37
38 build
39 %{python3} setup.py build
40 end
41
42 install
43 %{python3} setup.py install --skip-build --root=%{BUILDROOT}
44
45 # Set correct header file permissions.
46 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
47 -exec chmod -v 644 {} \;
48 end
49 end
50
51 packages
52 package %{name}
53 requires
54 gobject-introspection >= 1.56
55 python3-cairo
56 end
57 end
58
59 package %{name}-devel
60 template DEVEL
61
62 requires
63 glib2-devel
64 gobject-introspection-devel >= 1.56
65 end
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end