]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = gobject-introspection |
7f6bf204 | 7 | version = %{major_ver}.%{minor_ver} |
b6202151 | 8 | release = 2 |
4aedebb2 | 9 | |
738e32b3 MT |
10 | major_ver = 1.48 |
11 | minor_ver = 0 | |
7f6bf204 | 12 | |
802ea3af MT |
13 | groups = Development/Libraries |
14 | url = http://live.gnome.org/GObjectIntrospection | |
15 | license = GPLv2+, LGPLv2+, MIT | |
16 | summary = Introspection system for GObject-based libraries. | |
4aedebb2 | 17 | |
802ea3af | 18 | description |
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 |
23 | end |
24 | ||
7f6bf204 SS |
25 | source_dl = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/ |
26 | sources = %{thisapp}.tar.xz | |
802ea3af MT |
27 | |
28 | build | |
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 |
802ea3af MT |
44 | end |
45 | ||
46 | packages | |
47 | package %{name} | |
802ea3af MT |
48 | |
49 | package %{name}-libs | |
50 | template LIBS | |
51 | end | |
1f9bc2f0 | 52 | |
802ea3af MT |
53 | package %{name}-devel |
54 | template DEVEL | |
1f9bc2f0 | 55 | |
802ea3af | 56 | requires = %{name}=%{thisver} |
ac094100 SS |
57 | |
58 | files += %{datadir}/gir* | |
802ea3af | 59 | end |
1f9bc2f0 MT |
60 | |
61 | package %{name}-debuginfo | |
62 | template DEBUGINFO | |
63 | end | |
802ea3af | 64 | end |