name = gobject-introspection
version = %{major_ver}.%{minor_ver}
-release = 1
+release = 3
-major_ver = 1.31
-minor_ver = 22
+major_ver = 1.48
+minor_ver = 0
groups = Development/Libraries
url = http://live.gnome.org/GObjectIntrospection
summary = Introspection system for GObject-based libraries.
description
- GObject Introspection can scan C header and source files in order \
- to generate introspection "typelib" files. It also provides an API to \
- examine typelib files, useful for creating language bindings among \
+ GObject Introspection can scan C header and source files in order
+ to generate introspection "typelib" files. It also provides an API to
+ examine typelib files, useful for creating language bindings among
other things.
end
build
requires
+ automake
bison
cairo-devel
flex
- glib2-devel
+ glib2-devel >= 2.48.0
libffi-devel
libtool
python-devel
end
+ export LD_LIBRARY_PATH = %{DIR_APP}/.libs:%{DIR_APP}/tests/offsets/.libs
+
configure_options += \
--disable-static
- test
- make check
+ install_cmds
+ # Fix interpreter
+ sed -e "s@^#!.*@#!/usr/bin/python@" \
+ -i %{BUILDROOT}%{bindir}/g-ir-scanner \
+ -i %{BUILDROOT}%{bindir}/g-ir-annotation-tool
end
end
template DEVEL
requires = %{name}=%{thisver}
+
+ files += %{datadir}/gir*
end
package %{name}-debuginfo