1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = python3-gobject3
7 version = %{ver_major}.%{ver_minor}
11 thisapp = pygobject-%{version}
13 groups = Development/Tools
14 url = https://www.pygtk.org/
16 summary = Python 2 bindings for GObject.
19 The %{name} package provides a convenient wrapper for the GObject library
20 for use in Python programs.
24 source_dl = https://ftp.gnome.org/pub/GNOME/sources/pygobject/%{ver_major}/
25 sources = %{thisapp}.tar.xz
29 cairo-gobject-devel >= 1.12.12
31 gobject-introspection-devel >= 1.56
33 python3-cairo-devel >= 1.16.0
39 %{python3} setup.py build
43 %{python3} setup.py install --skip-build --root=%{BUILDROOT}
45 # Set correct header file permissions.
46 find %{BUILDROOT}%{includedir} -type f -iname "*.h" \
47 -exec chmod -v 644 {} \;
54 gobject-introspection >= 1.56
64 gobject-introspection-devel >= 1.56
68 package %{name}-debuginfo