]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - gobject-introspection/gobject-introspection.nm
kernel: Drop ld.so placeholder files
[people/stevee/ipfire-3.x.git] / gobject-introspection / gobject-introspection.nm
index 9c9cd1696d1508308523bd2c7c0582aff1eb9733..a5ff3ec34408e74e53dbe374b876581bd6e60513 100644 (file)
@@ -4,8 +4,11 @@
 ###############################################################################
 
 name       = gobject-introspection
-version    = 0.9.12
-release    = 1
+version    = %{major_ver}.%{minor_ver}
+release    = 3
+
+major_ver  = 1.48
+minor_ver  = 0
 
 groups     = Development/Libraries
 url        = http://live.gnome.org/GObjectIntrospection
@@ -13,37 +16,42 @@ license    = GPLv2+, LGPLv2+, MIT
 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
 
-source_dl  =
+source_dl  = http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_ver}/
+sources    = %{thisapp}.tar.xz
 
 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 += \
-               --sbindir=/sbin \
                --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
 
 packages
        package %{name}
-       end
 
        package %{name}-libs
                template LIBS
@@ -53,6 +61,8 @@ packages
                template DEVEL
 
                requires = %{name}=%{thisver}
+
+               files += %{datadir}/gir*
        end
 
        package %{name}-debuginfo