diff options
author | Matthias Clasen <mclasen@fedoraproject.org> | 2007-12-07 04:11:01 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@fedoraproject.org> | 2007-12-07 04:11:01 +0000 |
commit | 87fcef69cd3fb918447b15e0e5d73a6b40071543 (patch) | |
tree | 01a029259a2162c826ccd135e7d9c846f62ab835 /gnome-applets.spec | |
parent | 9eab047b45f45578a09f4cad21a178dcd55681f3 (diff) | |
download | gnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.tar.gz gnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.tar.xz gnome-applets-87fcef69cd3fb918447b15e0e5d73a6b40071543.zip |
Diffstat (limited to 'gnome-applets.spec')
-rw-r--r-- | gnome-applets.spec | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/gnome-applets.spec b/gnome-applets.spec index 0f35e13..d2ebde5 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -72,6 +72,9 @@ Patch35: gnome-applets-2.21.1-mixer-sync.patch # http://bugzilla.gnome.org/show_bug.cgi?id=488824 Patch39: gweather-network.patch +# do the nullapplet dance for battstat +Patch40: gnome-applets-null-battstat.patch + BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} @@ -173,6 +176,7 @@ libraries contained in the gnome-applets package. %patch33 -p1 -b .node-leak %patch35 -p1 -b .mixer-sync %patch39 -p1 -b .geweather-network +%patch40 -p1 -b .battstat-null cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png @@ -194,6 +198,7 @@ autoreconf %if %{build_stickynotes} --enable-stickynotes \ %endif + --disable-battstat \ --disable-scrollkeeper \ --enable-mini-commander make @@ -213,13 +218,8 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # Clean up unpackaged files rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper -rm -rf $RPM_BUILD_ROOT%{_libdir}/libgweather.la -rm -rf $RPM_BUILD_ROOT%{_libdir}/libgweather.a - -desktop-file-install --vendor gnome --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - --add-only-show-in GNOME \ - $RPM_BUILD_ROOT%{_datadir}/applications/* +rm -f $RPM_BUILD_ROOT%{_libdir}/libgweather.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libgweather.a # usermode-ify cpufreq-selector mkdir -p $RPM_BUILD_ROOT%{_sbindir} @@ -246,7 +246,6 @@ fi export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ - %{_sysconfdir}/gconf/schemas/battstat.schemas \ %{_sysconfdir}/gconf/schemas/charpick.schemas \ %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas \ %{_sysconfdir}/gconf/schemas/drivemount.schemas \ @@ -279,13 +278,16 @@ if [ "$1" -gt 1 ]; then %{_sysconfdir}/gconf/schemas/stickynotes.schemas \ %endif %{_sysconfdir}/gconf/schemas/multiload.schemas >& /dev/null || : + if [ -f %{_sysconfdir}/gconf/schemas/battstat.schemas ]; then + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/battstat.schemas + fi fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ - %{_sysconfdir}/gconf/schemas/battstat.schemas \ %{_sysconfdir}/gconf/schemas/charpick.schemas \ %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas \ %{_sysconfdir}/gconf/schemas/drivemount.schemas \ @@ -326,7 +328,6 @@ fi %{python_sitelib}/invest/ %{_libdir}/libgweather.so.* %{_libexecdir}/accessx-status-applet -%{_libexecdir}/battstat-applet-2 %{_libexecdir}/charpick_applet2 %{_libexecdir}/cpufreq-applet %{_libexecdir}/drivemount_applet2 @@ -350,7 +351,6 @@ fi %{_sysconfdir}/gconf/schemas/* %{_sysconfdir}/pam.d/* %{_sysconfdir}/security/console.apps/* -%{_sysconfdir}/sound/events/* %files devel %defattr(-,root,root) @@ -361,6 +361,7 @@ fi %changelog * Wed Dec 5 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.21.2-1 - Update to 2.21.2 +- Drop the battstat applet * Mon Oct 29 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.20.0-10 - Fix a number of problems in the weather applet |