]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - 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
CommitLineData
da4ad948
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = python3-gobject3
7version = %{ver_major}.%{ver_minor}
976b39ac
AB
8ver_major = 3.46
9ver_minor = 0
10release = 1
da4ad948
MT
11thisapp = pygobject-%{version}
12
13groups = Development/Tools
14url = https://www.pygtk.org/
15license = LGPLv2+
16summary = Python 2 bindings for GObject.
17
18description
19 The %{name} package provides a convenient wrapper for the GObject library
20 for use in Python programs.
21end
22
23
24source_dl = https://ftp.gnome.org/pub/GNOME/sources/pygobject/%{ver_major}/
25sources = %{thisapp}.tar.xz
26
27build
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}
fd82b10b
SS
44
45 # Set correct header file permissions.
46 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
47 -exec chmod -v 644 {} \;
da4ad948
MT
48 end
49end
50
51packages
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
71end