]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- more macros backported (_desktopdir, gconf_schema_install)
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 14 Jul 2003 09:30:17 +0000 (09:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  - now it should really provide macros 1.118

Changed files:
    rpm.macros -> 1.85.2.8

rpm.macros

index 8e698315f1a445751e7ef6ad8c3619e3046b1a88..b2280c306b456a0c9c79e18af17ab44d99cb3314 100644 (file)
 %_pkgconfigdir /usr/lib/pkgconfig
 
 # Location of top applink dir
-%_applnkdir      /usr/X11R6/share/applnk
+%_applnkdir    /usr/X11R6/share/applnk
+
+# Location of desktop files
+%_desktopdir   /usr/X11R6/share/applications
 
 # Location pixmaps for applnk/desktop files
 %_pixmapsdir   /usr/X11R6/share/pixmaps
 ; do echo $l; done >> %1 \
 }
 
+#-----------------------------------------------------------------
+# Update all GConf2 schemas
+#
+# Requires: GConf2
+#
+%gconf_schema_install { umask 022; \
+    GCONF_CONFIG_SOURCE="xml:readwrite:/etc/gconf/gconf.xml.defaults" \
+    /usr/bin/gconftool-2 --makefile-install-rule \
+    /etc/gconf/schemas/*.schemas > /dev/null \
+}
+
 #-----------------------------------------------------------------
 # find and gzip all files in %{_mandir} and %{infodir}
 #
This page took 0.046699 seconds and 4 git commands to generate.