]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pygobject2/pygobject2.nm
tzdata: Update to 2014j
[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
a3833392 8release = 2
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}
1f9bc2f0 45
802ea3af
MT
46 package %{name}-codegen
47 summary = The code generation program for PyGObject.
48 description
49 This package contains the C code generation
50 program for PyGObject.
51 end
1f9bc2f0 52
802ea3af
MT
53 files
54 /usr/bin/pygobject-codegen-2.0
55 /usr/share/pygobject/2.0/codegen
56 end
57 end
1f9bc2f0 58
802ea3af 59 package %{name}-devel
a3833392
MT
60 template DEVEL
61
802ea3af
MT
62 requires
63 glib2-devel
64 %{name}-codegen
65 end
66 end
1f9bc2f0
MT
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
802ea3af 71end