]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - gobject-introspection/gobject-introspection.nm
gobject-introspection: Fix interpreters
[people/stevee/ipfire-3.x.git] / gobject-introspection / gobject-introspection.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gobject-introspection
7 version = %{major_ver}.%{minor_ver}
8 release = 3
9
10 major_ver = 1.48
11 minor_ver = 0
12
13 groups = Development/Libraries
14 url = http://live.gnome.org/GObjectIntrospection
15 license = GPLv2+, LGPLv2+, MIT
16 summary = Introspection system for GObject-based libraries.
17
18 description
19 GObject Introspection can scan C header and source files in order
20 to generate introspection "typelib" files. It also provides an API to
21 examine typelib files, useful for creating language bindings among
22 other things.
23 end
24
25 source_dl = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/
26 sources = %{thisapp}.tar.xz
27
28 build
29 requires
30 automake
31 bison
32 cairo-devel
33 flex
34 glib2-devel >= 2.48.0
35 libffi-devel
36 libtool
37 python-devel
38 end
39
40 export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs
41
42 configure_options += \
43 --disable-static
44
45 install_cmds
46 # Fix interpreter
47 sed -e "s@^#!.*@#!/usr/bin/python@" \
48 -i %{BUILDROOT}%{bindir}/g-ir-scanner \
49 -i %{BUILDROOT}%{bindir}/g-ir-annotation-tool
50 end
51 end
52
53 packages
54 package %{name}
55
56 package %{name}-libs
57 template LIBS
58 end
59
60 package %{name}-devel
61 template DEVEL
62
63 requires = %{name}=%{thisver}
64
65 files += %{datadir}/gir*
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end