From 2d18cb81476a6528a5cc7ca73bd9628f317688c6 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Wed, 16 Dec 2009 19:30:39 +0000 Subject: [PATCH] - packaged missing files - updated deps - removed banner from gnome-applets-cpufreq (applet uses polkit-1 to gain root privileges) - release 4 Changed files: gnome-applets.spec -> 1.223 --- gnome-applets.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/gnome-applets.spec b/gnome-applets.spec index a00f320..ebca21c 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -4,7 +4,7 @@ Summary(ru.UTF-8): Маленькие программы, встраивающи Summary(uk.UTF-8): Маленькі програми, що вбудовуються в панель GNOME Name: gnome-applets Version: 2.28.0 -Release: 3 +Release: 4 Epoch: 1 License: GPL v2, FDL Group: X11/Applications @@ -15,7 +15,6 @@ Patch0: %{name}-m4_fix.patch URL: http://www.gnome.org/ BuildRequires: GConf2-devel >= 2.26.0 BuildRequires: NetworkManager-devel >= 0.7 -BuildRequires: PolicyKit-gnome-devel >= 0.7 BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1:1.8 BuildRequires: cpufrequtils-devel >= 0.3 @@ -39,9 +38,11 @@ BuildRequires: libgweather-devel >= 2.26.0 BuildRequires: libnotify-devel >= 0.4.4 BuildRequires: libtool BuildRequires: libwnck-devel >= 2.26.0 +BuildRequires: libxklavier-devel >= 4.0 BuildRequires: libxml2-devel >= 1:2.6.30 BuildRequires: libxslt-progs >= 1.1.20 BuildRequires: pkgconfig >= 1:0.19 +BuildRequires: polkit-devel >= 0.92 BuildRequires: python-devel >= 1:2.4 BuildRequires: python-gnome-desktop-devel BuildRequires: python-gnome-devel >= 2.22.0 @@ -129,6 +130,7 @@ Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: polkit-gnome >= 0.92 Obsoletes: gnome-applet-cpufreq Conflicts: gnome-applets <= 0:2.10.0-5 @@ -385,9 +387,6 @@ rm -rf $RPM_BUILD_ROOT %post cpufreq %scrollkeeper_update_post %gconf_schema_install cpufreq-applet.schemas -%banner %{name} -e << EOF -For full functionality, set SUID /usr/bin/cpufreq-selector binary. -EOF %update_icon_cache hicolor %preun cpufreq @@ -536,7 +535,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files accessx-status -f accessx-status.lang %defattr(644,root,root,755) -#%doc accessx-status/ChangeLog %attr(755,root,root) %{_libdir}/accessx-status-applet %{_libdir}/bonobo/servers/GNOME_AccessxStatusApplet.server %{_datadir}/gnome-2.0/ui/GNOME_AccessxApplet.xml @@ -545,7 +543,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files battstat -f battstat.lang %defattr(644,root,root,755) -#%doc battstat/ChangeLog %attr(755,root,root) %{_libdir}/battstat-applet-2 %{_libdir}/bonobo/servers/GNOME_BattstatApplet.server %{_datadir}/gnome-2.0/ui/GNOME_BattstatApplet.xml @@ -555,7 +552,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files charpicker -f char-palette.lang %defattr(644,root,root,755) -#%doc charpick/ChangeLog %attr(755,root,root) %{_libdir}/charpick_applet2 %{_libdir}/bonobo/servers/GNOME_CharpickerApplet.server %{_datadir}/gnome-2.0/ui/GNOME_CharpickerApplet.xml @@ -563,13 +559,12 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files cpufreq -f cpufreq-applet.lang %defattr(644,root,root,755) -#%doc cpufreq/ChangeLog %attr(755,root,root) %{_bindir}/cpufreq-selector %attr(755,root,root) %{_libdir}/cpufreq-applet %{_libdir}/bonobo/servers/GNOME_CPUFreqApplet.server -#%{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy %{_datadir}/dbus-1/system-services/org.gnome.CPUFreqSelector.service %{_datadir}/gnome-2.0/ui/GNOME_CPUFreqApplet.xml +%{_datadir}/polkit-1/actions/org.gnome.cpufreqselector.policy %{_datadir}/%{name}/builder/cpufreq-preferences.ui %{_sysconfdir}/dbus-1/system.d/org.gnome.CPUFreqSelector.conf %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas @@ -578,7 +573,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files drivemount -f drivemount.lang %defattr(644,root,root,755) -#%doc drivemount/ChangeLog %attr(755,root,root) %{_libdir}/drivemount_applet2 %{_libdir}/bonobo/servers/GNOME_DriveMountApplet.server %{_datadir}/gnome-2.0/ui/GNOME_DriveMountApplet.xml @@ -586,7 +580,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files geyes -f geyes.lang %defattr(644,root,root,755) -#%doc geyes/ChangeLog %attr(755,root,root) %{_libdir}/geyes_applet2 %{_libdir}/bonobo/servers/GNOME_GeyesApplet.server %{_datadir}/gnome-2.0/ui/GNOME_GeyesApplet.xml @@ -596,14 +589,12 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files gweather -f gweather.lang %defattr(644,root,root,755) -#%doc gweather/ChangeLog %attr(755,root,root) %{_libdir}/gweather-applet-2 %{_libdir}/bonobo/servers/GNOME_GWeatherApplet_Factory.server %{_datadir}/gnome-2.0/ui/GNOME_GWeatherApplet.xml %files invest -f invest-applet.lang %defattr(644,root,root,755) -#%doc invest-applet/ChangeLog %attr(755,root,root) %{_bindir}/invest-chart %attr(755,root,root) %{_libdir}/invest-applet %{_libdir}/bonobo/servers/GNOME_GtikApplet.server @@ -618,7 +609,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files keyboard -f gswitchit.lang %defattr(644,root,root,755) -#%doc gswitchit/ChangeLog %attr(755,root,root) %{_libdir}/gnome-keyboard-applet %{_libdir}/bonobo/servers/GNOME_KeyboardApplet.server %dir %{_datadir}/xmodmap @@ -672,7 +662,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files minicommander -f command-line.lang %defattr(644,root,root,755) -#%doc mini-commander/ChangeLog %attr(755,root,root) %{_libdir}/mini_commander_applet %attr(755,root,root) %{_libdir}/%{name}/mc-install-default-macros %{_libdir}/bonobo/servers/GNOME_MiniCommanderApplet.server @@ -684,7 +673,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files mixer -f mixer_applet2.lang %defattr(644,root,root,755) -#%doc mixer/ChangeLog %attr(755,root,root) %{_libdir}/mixer_applet2 %{_libdir}/bonobo/servers/GNOME_MixerApplet.server %{_datadir}/gnome-2.0/ui/GNOME_MixerApplet.xml @@ -692,7 +680,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files multiload -f multiload.lang %defattr(644,root,root,755) -#%doc multiload/ChangeLog %attr(755,root,root) %{_libdir}/multiload-applet-2 %{_libdir}/bonobo/servers/GNOME_MultiLoadApplet_Factory.server %{_datadir}/gnome-2.0/ui/GNOME_MultiloadApplet.xml @@ -700,7 +687,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files stickynotes -f stickynotes_applet.lang %defattr(644,root,root,755) -#%doc stickynotes/ChangeLog %attr(755,root,root) %{_libdir}/stickynotes_applet %{_libdir}/bonobo/servers/GNOME_StickyNotesApplet.server %{_datadir}/gnome-2.0/ui/GNOME_StickyNotesApplet.xml @@ -711,7 +697,6 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %files trash -f trashapplet.lang %defattr(644,root,root,755) -#%doc trashapplet/ChangeLog %attr(755,root,root) %{_libdir}/trashapplet %{_libdir}/bonobo/servers/GNOME_Panel_TrashApplet.server %{_datadir}/%{name}/builder/trashapplet-empty-progress.ui -- 2.44.0