]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pygobject2/pygobject2.nm
Merge remote-tracking branch 'stevee/xen-dev86'
[people/ms/ipfire-3.x.git] / pygobject2 / pygobject2.nm
CommitLineData
4f94ea12 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4f94ea12
MT
4###############################################################################
5
802ea3af
MT
6name = pygobject2
7version = 2.27.0
8release = 1
4f94ea12 9
802ea3af
MT
10groups = Development/Tools
11url = http://www.pygtk.org/
12license = LGPLv2+
13summary = Python 2 bindings for GObject.
4f94ea12 14
802ea3af
MT
15description
16 The %{name} package provides a convenient wrapper for the GObject library
4f94ea12 17 for use in Python programs.
802ea3af 18end
4f94ea12 19
802ea3af
MT
20source_dl =
21sources = pygobject-%{version}.tar.gz
4f94ea12 22
802ea3af
MT
23build
24 requires
25 autoconf
26 automake
27 glib2-devel
28 gobject-introspection-devel
29 libffi-devel
30 libtool
31 pkg-config
32 python-cairo-devel
33 python-devel
34 end
4f94ea12 35
802ea3af 36 DIR_APP = %{DIR_SRC}/pygobject-%{version}
4f94ea12 37
802ea3af
MT
38 prepare_cmds
39 find -name '*.py' | xargs sed -i "1s|^#!python|#!$(shell which python)|"
40 end
41end
4f94ea12 42
802ea3af
MT
43packages
44 package %{name}
45 end
1f9bc2f0 46
802ea3af
MT
47 package %{name}-codegen
48 summary = The code generation program for PyGObject.
49 description
50 This package contains the C code generation
51 program for PyGObject.
52 end
1f9bc2f0 53
802ea3af
MT
54 files
55 /usr/bin/pygobject-codegen-2.0
56 /usr/share/pygobject/2.0/codegen
57 end
58 end
1f9bc2f0 59
802ea3af
MT
60 package %{name}-devel
61 requires
62 glib2-devel
63 %{name}-codegen
64 end
65 end
1f9bc2f0
MT
66
67 package %{name}-debuginfo
68 template DEBUGINFO
69 end
802ea3af 70end