]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - glib2/glib2.nm
glib2: Update to 2.50.1
[people/arne_f/ipfire-3.x.git] / glib2 / glib2.nm
index 792c03b1eff95b0bd503904c8443b84a02f40fa9..26ad2370fb291acebff86341b19770bf595f7b04 100644 (file)
@@ -4,11 +4,13 @@
 ###############################################################################
 
 name       = glib2
-ver_major  = 2.30
-version    = %{ver_major}.0
-release    = 2
+ver_major  = 2.50
+ver_minor  = 1
+version    = %{ver_major}.%{ver_minor}
+release    = 1
 thisapp    = glib-%{version}
 
+maintainer = Erik Kapfer <erik.kapfer@ipfire.org>
 groups     = System/Libraries
 url        = http://www.gtk.org
 license    = LGPLv2+
@@ -22,30 +24,23 @@ description
        object system.
 end
 
-source_dl  = http://ftp.gnome.org/pub/gnome/sources/glib/%{version_major}/
+source_dl  = http://ftp.gnome.org/pub/gnome/sources/glib/%{ver_major}/
 sources    = %{thisapp}.tar.xz
 
 build
        requires
                gettext
                libffi-devel
-               libselinux-devel
+               libmount-devel
                pcre-devel
                pkg-config
                zlib-devel
        end
 
        configure_options += \
-               --sysconfdir=/etc \
                --with-pcre=system
 
        install_cmds
-               ./mkinstalldirs %{BUILDROOT}/lib
-               cd %{BUILDROOT}/usr/lib && for name in glib gobject gmodule gthread gio; do \
-                       mv -v lib${name}-2.0.so.* ../../lib; \
-                       ln -svf ../../lib/lib${name}-2.0.so.*.* lib${name}-2.0.so; \
-               done
-
                mkdir -pv %{BUILDROOT}/etc/profile.d/
                cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/
        end
@@ -57,4 +52,8 @@ packages
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end