]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- merged last change from rpm-4_0_4 branch
authoraflinta <aflinta@pld-linux.org>
Sun, 27 Oct 2002 14:45:09 +0000 (14:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added gconf_schema_install macro

Changed files:
    rpm.macros -> 1.88

rpm.macros

index 83f5ffd5c6100774a5f38c47b4f60da161bd9907..2fdeda166320324bf467a4c6afec9ec220be203e 100644 (file)
 # Build system path macros.
 #
 %__libtoolize           libtoolize --copy --force
-%__gettextize           gettextize --copy --force
+%__gettextize { \
+    if gettextize --version | grep -q '0\.11\.' ; then \
+        gettextize --copy --force  --intl; \
+       cp -f po/Makevars{.template,}; \
+    else \
+        gettextize --copy --force; \
+    fi; \
+}              
 %__automake             automake -a -c -f --foreign
 %__autoconf             autoconf %{?debug:-Wall}
 
@@ -224,6 +231,15 @@ echo "Compress kernel modules if any."; \
 %_source_payload        w9.gzdio
 %_binary_payload        w9.bzdio
 
+#-----------------------------------------------------------------
+# Update all GConf2 schemas
+#
+# Requires: GConf2
+#
+%gconf_schema_install  GCONF_CONFIG_SOURCE="" \
+    %{_bindir}/gconftool-2 --makefile-install-rule \
+    /etc/X11/GNOME2/gconf/schemas/*.schemas > /dev/null
+
 #-----------------------------------------------------------------
 # post %install sequence:
 # - autodeps exceptions
This page took 0.047764 seconds and 4 git commands to generate.