]> git.pld-linux.org Git - packages/gnome-panel.git/commitdiff
- new style macros
authorpaladine <paladine@pld-linux.org>
Fri, 8 Apr 2005 12:45:20 +0000 (12:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- STBR

Changed files:
    gnome-panel.spec -> 1.163

gnome-panel.spec

index a1221ee7628813a9a3e1d5005760bef7b10bcc2c..2711fea075f942db6439797efb47af50c68075a4 100644 (file)
@@ -43,12 +43,12 @@ BuildRequires:      pango-devel >= 1:1.8.0
 BuildRequires: perl-base
 BuildRequires: pkgconfig >= 1:0.15.0
 BuildRequires: rpm-build >= 4.1-10
 BuildRequires: perl-base
 BuildRequires: pkgconfig >= 1:0.15.0
 BuildRequires: rpm-build >= 4.1-10
-BuildRequires: rpmbuild(macros) >= 1.196
+BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper >= 0.3.11
 BuildConflicts:        GConf-devel < 1.0.9-7
 Requires(post,postun): /sbin/ldconfig
 BuildRequires: scrollkeeper >= 0.3.11
 BuildConflicts:        GConf-devel < 1.0.9-7
 Requires(post,postun): /sbin/ldconfig
-Requires(post,postun): scrollkeeper
 Requires(post,preun):  GConf2 >= 2.10.0
 Requires(post,preun):  GConf2 >= 2.10.0
+Requires(post,postun): scrollkeeper
 Requires:      gnome-desktop >= 2.10.0-2
 Requires:      gnome-icon-theme >= 2.10.0
 Requires:      libgnomeui >= 2.10.0-2
 Requires:      gnome-desktop >= 2.10.0-2
 Requires:      gnome-icon-theme >= 2.10.0
 Requires:      libgnomeui >= 2.10.0-2
@@ -109,9 +109,9 @@ Statyczne biblioteki panelu GNOME.
 
 %build
 cp /usr/share/gnome-common/data/omf.make .
 
 %build
 cp /usr/share/gnome-common/data/omf.make .
-intltoolize --copy --force
+%{__intltoolize}
 %{__libtoolize}
 %{__libtoolize}
-glib-gettextize --copy --force
+%{__glib_gettextize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
@@ -146,17 +146,17 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update -q
-%gconf_schema_install /etc/gconf/schemas/clock.schemas
-%gconf_schema_install /etc/gconf/schemas/fish.schemas
-%gconf_schema_install /etc/gconf/schemas/panel-compatibility.schemas
-%gconf_schema_install /etc/gconf/schemas/panel-general.schemas
-%gconf_schema_install /etc/gconf/schemas/panel-global.schemas
-%gconf_schema_install /etc/gconf/schemas/panel-object.schemas
-%gconf_schema_install /etc/gconf/schemas/panel-toplevel.schemas
-%gconf_schema_install /etc/gconf/schemas/window-list.schemas
-%gconf_schema_install /etc/gconf/schemas/workspace-switcher.schemas
+%ldconfig_post
+%scrollkeeper_update_post
+%gconf_schema_install clock.schemas
+%gconf_schema_install fish.schemas
+%gconf_schema_install panel-compatibility.schemas
+%gconf_schema_install panel-general.schemas
+%gconf_schema_install panel-global.schemas
+%gconf_schema_install panel-object.schemas
+%gconf_schema_install panel-toplevel.schemas
+%gconf_schema_install window-list.schemas
+%gconf_schema_install workspace-switcher.schemas
 %{_bindir}/gconftool-2 --direct \
        --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
        --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
 %{_bindir}/gconftool-2 --direct \
        --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
        --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
@@ -168,23 +168,19 @@ For full functionality, you need to install gnome-utils.
 EOF
 
 %preun
 EOF
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/clock.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/fish.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/panel-compatibility.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/panel-general.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/panel-global.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/panel-object.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/panel-toplevel.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/window-list.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/workspace-switcher.schemas
-fi
+%gconf_schema_uninstall clock.schemas
+%gconf_schema_uninstall fish.schemas
+%gconf_schema_uninstall panel-compatibility.schemas
+%gconf_schema_uninstall panel-general.schemas
+%gconf_schema_uninstall panel-global.schemas
+%gconf_schema_uninstall panel-object.schemas
+%gconf_schema_uninstall panel-toplevel.schemas
+%gconf_schema_uninstall window-list.schemas
+%gconf_schema_uninstall workspace-switcher.schemas
 
 %postun
 
 %postun
-if [ $1 = 0 ]; then
-       /sbin/ldconfig
-       /usr/bin/scrollkeeper-update -q
-fi
+%ldconfig_postun
+%scrollkeeper_update_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.069812 seconds and 4 git commands to generate.