]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - gobject-introspection/gobject-introspection.nm
gobject-introspection: Fix interpreters
[people/stevee/ipfire-3.x.git] / gobject-introspection / gobject-introspection.nm
CommitLineData
4aedebb2 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4aedebb2
MT
4###############################################################################
5
802ea3af 6name = gobject-introspection
7f6bf204 7version = %{major_ver}.%{minor_ver}
b4458459 8release = 3
4aedebb2 9
738e32b3
MT
10major_ver = 1.48
11minor_ver = 0
7f6bf204 12
802ea3af
MT
13groups = Development/Libraries
14url = http://live.gnome.org/GObjectIntrospection
15license = GPLv2+, LGPLv2+, MIT
16summary = Introspection system for GObject-based libraries.
4aedebb2 17
802ea3af 18description
ac094100
SS
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
4aedebb2 22 other things.
802ea3af
MT
23end
24
7f6bf204
SS
25source_dl = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/
26sources = %{thisapp}.tar.xz
802ea3af
MT
27
28build
29 requires
b6202151 30 automake
802ea3af
MT
31 bison
32 cairo-devel
33 flex
738e32b3 34 glib2-devel >= 2.48.0
802ea3af
MT
35 libffi-devel
36 libtool
37 python-devel
38 end
39
738e32b3
MT
40 export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs
41
802ea3af 42 configure_options += \
802ea3af 43 --disable-static
b4458459
MT
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
802ea3af
MT
51end
52
53packages
54 package %{name}
802ea3af
MT
55
56 package %{name}-libs
57 template LIBS
58 end
1f9bc2f0 59
802ea3af
MT
60 package %{name}-devel
61 template DEVEL
1f9bc2f0 62
802ea3af 63 requires = %{name}=%{thisver}
ac094100
SS
64
65 files += %{datadir}/gir*
802ea3af 66 end
1f9bc2f0
MT
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
802ea3af 71end