X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnome-applets.spec;h=337eee62415c3ee8570f89f92211831f718e113a;hb=ea09356898f2a68276ccdb0c2e3a91187555fa12;hp=880f33701a2d138747b8786285ea8dc1dd8a3a57;hpb=90d04c4ad2addbac01b20cf7d8674e5722f5e984;p=packages%2Fgnome-applets.git diff --git a/gnome-applets.spec b/gnome-applets.spec index 880f337..337eee6 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -1,51 +1,66 @@ Summary: Small applications which embed themselves in the GNOME panel -Summary(pl): Aplety GNOME - ma³e aplikacje osadzaj±ce siê w panelu -Summary(ru): íÁÌÅÎØËÉÅ ÐÒÏÇÒÁÍÍÙ, ×ÓÔÒÁÉ×ÁÀÝÉÅÓÑ × ÐÁÎÅÌØ GNOME -Summary(uk): íÁÌÅÎØ˦ ÐÒÏÇÒÁÍÉ, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × ÐÁÎÅÌØ GNOME +Summary(pl.UTF-8): Aplety GNOME - małe aplikacje osadzające się w panelu +Summary(ru.UTF-8): Маленькие программы, встраивающиеся в панель GNOME +Summary(uk.UTF-8): Маленькі програми, що вбудовуються в панель GNOME Name: gnome-applets -Version: 2.14.0 +Version: 2.22.3 Release: 1 Epoch: 1 License: GPL v2, FDL Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-applets/2.14/%{name}-%{version}.tar.bz2 -# Source0-md5: 0c7789d642003f38c86d02a3384d3350 -Patch0: %{name}-stickynotes-title-size.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/2.22/%{name}-%{version}.tar.bz2 +# Source0-md5: 9e64d2827b0e8d2a03ebffb2c3499566 +Patch0: %{name}-stb.patch Patch1: %{name}-m4_fix.patch URL: http://www.gnome.org/ -BuildRequires: GConf2-devel >= 2.12.0 -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: dbus-glib-devel >= 0.34 -BuildRequires: gail-devel >= 1.8.2 +BuildRequires: GConf2-devel >= 2.22.0 +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.8 +BuildRequires: cpufrequtils-devel >= 0.3 +BuildRequires: dbus-glib-devel >= 0.73 +BuildRequires: gail-devel >= 1.20.0 BuildRequires: gdbm-devel BuildRequires: gettext-devel -BuildRequires: gnome-common >= 2.8.0-2 -BuildRequires: gnome-desktop-devel >= 2.12.1 -BuildRequires: gnome-doc-utils >= 0.4.0 -BuildRequires: gnome-panel-devel >= 2.13.4 -BuildRequires: gnome-vfs2-devel >= 2.12.1 -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -BuildRequires: gtk+2-devel >= 2:2.8.3 -BuildRequires: gucharmap-devel >= 1.4.0 -BuildRequires: hal-devel >= 0.5.3 -BuildRequires: intltool >= 0.33 -BuildRequires: libgnomeui-devel >= 2.12.0 -BuildRequires: libglade2-devel >= 1:2.5.1 -BuildRequires: libgtop-devel >= 1:2.12.0 -BuildRequires: libnotify-devel >= 0.3.2 +BuildRequires: glib2-devel >= 1:2.16.0 +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gnome-desktop-devel >= 2.22.0 +BuildRequires: gnome-doc-utils >= 0.11.2 +BuildRequires: gnome-icon-theme >= 2.22.0 +BuildRequires: gnome-panel-devel >= 2.22.0 +BuildRequires: gnome-settings-daemon-devel >= 2.22.5 +BuildRequires: gnome-vfs2-devel >= 2.22.0 +BuildRequires: gstreamer-plugins-base-devel >= 0.10.10 +BuildRequires: gtk+2-devel >= 2:2.12.0 +BuildRequires: gucharmap-devel >= 1.10.0 +BuildRequires: hal-devel >= 0.5.9 +BuildRequires: intltool >= 0.36.2 +BuildRequires: libglade2-devel >= 1:2.6.2 +BuildRequires: libgnomekbd-devel >= 2.21.4.1 +BuildRequires: libgnomeui-devel >= 2.22.0 +BuildRequires: libgtop-devel >= 1:2.22.0 +BuildRequires: libgweather-devel >= 2.22.1 +BuildRequires: libnotify-devel >= 0.4.2 +BuildRequires: liboobs-devel >= 2.22.0 BuildRequires: libtool -BuildRequires: libwnck-devel >= 2.12.1 -BuildRequires: libxml2-devel >= 1:2.6.21 -BuildRequires: libxklavier-devel >= 2.0 -BuildRequires: libxslt-progs -BuildRequires: pkgconfig -BuildRequires: rpmbuild(macros) >= 1.197 +BuildRequires: libwnck-devel >= 2.22.0 +BuildRequires: libxklavier-devel >= 3.0 +BuildRequires: libxml2-devel >= 1:2.6.30 +BuildRequires: libxslt-progs >= 1.1.20 +BuildRequires: pkgconfig >= 1:0.19 +BuildRequires: python-gnome-desktop-devel >= 2.22.0 +BuildRequires: python-pygtk-devel >= 2:2.10.4 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(find_lang) >= 1.23 +BuildRequires: rpmbuild(macros) >= 1.311 BuildRequires: scrollkeeper >= 0.3.11-4 -BuildRequires: system-tools-backends >= 1.4.0 -Requires: gnome-icon-theme >= 2.12.1 -Requires: gnome-panel >= 2.12.1 -Requires: gnome-vfs2 >= 2.12.1 +BuildRequires: system-tools-backends >= 2.6.0 +Requires: gnome-icon-theme >= 2.22.0 +Requires: gnome-panel >= 2.22.0 +Requires: gnome-vfs2 >= 2.22.0 +Requires: hicolor-icon-theme +Requires: libgnomeui >= 2.22.0 +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _gnomehelpdir %{_datadir}/gnome/help @@ -54,158 +69,151 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) The gnome-applets package provides Panel applets which enhance your GNOME experience. -%description -l pl -Pakiet gnome-applets udostêpnia aplety Panelu, które usprawniaj± pracê +%description -l pl.UTF-8 +Pakiet gnome-applets udostępnia aplety Panelu, które usprawniają pracę z GNOME. -%description -l uk -ðÁËÅÔ gnome-applets ͦÓÔÉÔØ ÁÐÌÅÔÉ ðÁÎÅ̦ GNOME, ÝÏ Ú¦ÌØÛÕÀÔØ -ËÏÍÆÏÒÔΦÓÔØ ÒÏÂÏÔÉ × ÓÅÒÅÄÏ×Éݦ GNOME. +%description -l uk.UTF-8 +Пакет gnome-applets містить аплети Панелі GNOME, що збільшують +комфортність роботи в середовищі GNOME. -%description -l ru -ðÁËÅÔ gnome-applets ÓÏÄÅÒÖÉÔ ÁÐÐÌÅÔÙ ðÁÎÅÌÉ GNOME, Õ×ÅÌÉÞÉ×ÁÀÝÉÅ -ËÏÍÆÏÒÔÎÏÓÔØ ÒÁÂÏÔÙ × ÓÒÅÄÅ GNOME. - -%package devel -Summary: Header files for gnome-applets -Summary(pl): Pliki nag³ówkowe gnome-applets -Group: Development/Libraries -Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: GConf2-devel >= 2.12.0 -Requires: gtk+2-devel >= 2:2.8.3 - -%description devel -Header files for gnome-applets. - -%description devel -l pl -Pliki nag³ówkowe gnome-applets. +%description -l ru.UTF-8 +Пакет gnome-applets содержит апплеты Панели GNOME, увеличивающие +комфортность работы в среде GNOME. %package accessx-status Summary: Keyboard Accessibility Status applet -Summary(pl): Aplet stanu dostepno¶ci klawiatury +Summary(pl.UTF-8): Aplet stanu dostepności klawiatury Group: X11/Applications +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper Requires: %{name} = %{epoch}:%{version}-%{release} +Suggests: gnome-control-center >= 2.22.0 Conflicts: gnome-applets <= 0:2.10.0-5 %description accessx-status Keyboard Accessibility Status applet. -%description accessx-status -l pl -Aplet stanu dostepno¶ci klawiatury. +%description accessx-status -l pl.UTF-8 +Aplet stanu dostepności klawiatury. %package battstat Summary: Battery Charge Monitor applet -Summary(pl): Aplet monitora stanu na³adowania akumulatora +Summary(pl.UTF-8): Aplet monitora stanu naładowania akumulatora Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 %description battstat Battery Charge Monitor applet. -%description battstat -l pl -Aplet monitora stanu na³adowania akumulatora. +%description battstat -l pl.UTF-8 +Aplet monitora stanu naładowania akumulatora. %package charpicker Summary: Character Palette applet -Summary(pl): Aplet palety znaków +Summary(pl.UTF-8): Aplet palety znaków Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 %description charpicker Character Palette applet. -%description charpicker -l pl -Aplet palety znaków. +%description charpicker -l pl.UTF-8 +Aplet palety znaków. %package cpufreq Summary: CPU Frequency Scaling Monitor applet -Summary(pl): Aplet monitora czêstotliwo¶ci procesora +Summary(pl.UTF-8): Aplet monitora częstotliwości procesora Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} -Conflicts: gnome-applets <= 0:2.10.0-5 Obsoletes: gnome-applet-cpufreq +Conflicts: gnome-applets <= 0:2.10.0-5 %description cpufreq CPU Frequency Scaling Monitor applet. -%description cpufreq -l pl -Aplet monitora czêstotliwo¶ci procesora. +%description cpufreq -l pl.UTF-8 +Aplet monitora częstotliwości procesora. %package drivemount Summary: Disk Mounter applet -Summary(pl): Aplet do montowania dysków +Summary(pl.UTF-8): Aplet do montowania dysków Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 %description drivemount Disk Mounter applet. -%description drivemount -l pl -Aplet do monotwania dysków. +%description drivemount -l pl.UTF-8 +Aplet do monotwania dysków. %package geyes Summary: Geyes applet -Summary(pl): Aplet geyes +Summary(pl.UTF-8): Aplet geyes Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 %description geyes Geyes applet. -%description geyes -l pl +%description geyes -l pl.UTF-8 Aplet geyes. -%package gtik -Summary: Stock Ticker applet -Summary(pl): Aplet wska¼nika gie³dowego +%package gweather +Summary: Weather Report applet +Summary(pl.UTF-8): Aplet raportu pogodowego Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: notification-daemon Conflicts: gnome-applets <= 0:2.10.0-5 -%description gtik -Stock Ticker applet. +%description gweather +Weather Report applet. -%description gtik -l pl -Aplet wska¼nika gie³dowego. +%description gweather -l pl.UTF-8 +Aplet raportu pogodowego. -%package gweather -Summary: Weather Report applet -Summary(pl): Aplet raportu pogodowego +%package invest +Summary: Stock Ticker applet +Summary(pl.UTF-8): Aplet wskaźnika giełdowego Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: notification-daemon +Requires: python-gnome-extras-egg >= 2.14.2 +Obsoletes: gnome-applets-gtik Conflicts: gnome-applets <= 0:2.10.0-5 -%description gweather -Weather Report applet. +%description invest +Stock Ticker applet. -%description gweather -l pl -Aplet raportu pogodowego. +%description invest -l pl.UTF-8 +Aplet wskaźnika giełdowego. %package keyboard Summary: Keyboard Indicator applet -Summary(pl): Aplet wska¼nika klawiatury +Summary(pl.UTF-8): Aplet wskaźnika klawiatury Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 @@ -213,89 +221,94 @@ Conflicts: gnome-applets <= 0:2.10.0-5 %description keyboard Keyboard Indicator applet. -%description keyboard -l pl -Aplet wska¼nika klawiatury. +%description keyboard -l pl.UTF-8 +Aplet wskaźnika klawiatury. %package minicommander Summary: Command Line applet -Summary(pl): Aplet wiersza poleceñ +Summary(pl.UTF-8): Aplet wiersza poleceń Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} Conflicts: gnome-applets <= 0:2.10.0-5 %description minicommander Command Line applet. -%description minicommander -l pl -Aplet wiersza poleceñ. +%description minicommander -l pl.UTF-8 +Aplet wiersza poleceń. %package mixer Summary: Volume Control applet -Summary(pl): Aplet regulacji g³o¶no¶ci +Summary(pl.UTF-8): Aplet regulacji głośności Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: gstreamer-audio-effects-base >= 0.10 +Requires: gstreamer-audio-effects-base >= 0.10.10 Requires: gstreamer-audiosink +Suggests: gnome-media-volume-control >= 2.22.0 Conflicts: gnome-applets <= 0:2.10.0-5 %description mixer Volume Control applet. -%description mixer -l pl -Aplet regulacji g³o¶no¶ci. +%description mixer -l pl.UTF-8 +Aplet regulacji głośności. %package modemlights Summary: Modem Lights applet -Summary(pl): Aplet kontrolek modemu +Summary(pl.UTF-8): Aplet kontrolek modemu Group: X11/Applications +Requires(post,postun): gtk+2 Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: system-tools-backends >= 1.2.0 +Requires: system-tools-backends Conflicts: gnome-applets <= 0:2.10.0-5 %description modemlights Modem Lights applet. -%description modemlights -l pl +%description modemlights -l pl.UTF-8 Aplet kontrolek modemu. %package multiload Summary: System Monitor applet -Summary(pl): Aplet monitora systemu +Summary(pl.UTF-8): Aplet monitora systemu Group: X11/Applications -Requires(post,preun): GConf2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} +Suggests: gnome-system-monitor >= 2.22.0 Conflicts: gnome-applets <= 0:2.10.0-5 %description multiload System Monitor applet. -%description multiload -l pl +%description multiload -l pl.UTF-8 Aplet monitora systemu. %package stickynotes Summary: Sticky Notes applet -Summary(pl): Aplet notatek +Summary(pl.UTF-8): Aplet notatek Group: X11/Applications -Requires(post,preun): GConf2 +Requires(post,postun): gtk+2 Requires(post,postun): scrollkeeper +Requires(post,preun): GConf2 Requires: %{name} = %{epoch}:%{version}-%{release} -Conflicts: gnome-applets <= 0:2.10.0-5 Obsoletes: gnotes_applet +Conflicts: gnome-applets <= 0:2.10.0-5 %description stickynotes Sticky Notes applet. -%description stickynotes -l pl +%description stickynotes -l pl.UTF-8 Aplet notatek. %package trash Summary: Trash applet -Summary(pl): Aplet ¶mietnika +Summary(pl.UTF-8): Aplet śmietnika Group: X11/Applications Requires(post,postun): scrollkeeper Requires: %{name} = %{epoch}:%{version}-%{release} @@ -304,8 +317,8 @@ Conflicts: gnome-applets <= 0:2.10.0-5 %description trash Trash applet. -%description trash -l pl -Aplet ¶mietnika. +%description trash -l pl.UTF-8 +Aplet śmietnika. %prep %setup -q @@ -313,7 +326,7 @@ Aplet %patch1 -p1 %build -gnome-doc-prepare --copy --force +%{__gnome_doc_prepare} %{__libtoolize} %{__glib_gettextize} %{__intltoolize} @@ -325,7 +338,8 @@ gnome-doc-prepare --copy --force %configure \ --disable-static \ --disable-schemas-install \ - --enable-mini-commander + --enable-mini-commander \ + --enable-stickynotes %{__make} %install @@ -333,38 +347,41 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ - GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 - -rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no -rm -r $RPM_BUILD_ROOT%{_libdir}/libgweather.la - -%find_lang %{name} --all-name --with-gnome -%find_lang char-palette --with-gnome -%find_lang drivemount --with-gnome -%find_lang geyes --with-gnome -%find_lang command-line --with-gnome -%find_lang stickynotes_applet --with-gnome -%find_lang mixer_applet2 --with-gnome -%find_lang multiload --with-gnome -%find_lang gtik2_applet2 --with-gnome -%find_lang gweather --with-gnome -%find_lang trashapplet --with-gnome -%find_lang battstat --with-gnome -%find_lang accessx-status --with-gnome -%find_lang gswitchit --with-gnome -%find_lang cpufreq-applet --with-gnome + GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ + pythondir=%{py_sitedir} + +rm -f $RPM_BUILD_ROOT%{_libdir}/libgweather.la +rm -f $RPM_BUILD_ROOT%{py_sitedir}/invest/*.py + +mv -f $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}/LC_MESSAGES/*.mo +rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/es_ES +[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ + mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} +%find_lang %{name}-2.0 +%find_lang accessx-status --with-gnome --with-omf +%find_lang battstat --with-gnome --with-omf +%find_lang char-palette --with-gnome --with-omf +%find_lang command-line --with-gnome --with-omf +%find_lang cpufreq-applet --with-gnome --with-omf +%find_lang drivemount --with-gnome --with-omf +%find_lang geyes --with-gnome --with-omf +%find_lang gswitchit --with-gnome --with-omf +%find_lang gweather --with-gnome --with-omf +%find_lang mixer_applet2 --with-gnome --with-omf +%find_lang multiload --with-gnome --with-omf +%find_lang stickynotes_applet --with-gnome --with-omf +%find_lang trashapplet --with-gnome --with-omf %clean rm -rf $RPM_BUILD_ROOT %post accessx-status %scrollkeeper_update_post -%banner %{name} -e << EOF -For full functionality, you need to install control-center. -EOF +%update_icon_cache hicolor %postun accessx-status %scrollkeeper_update_postun +%update_icon_cache hicolor %post battstat %scrollkeeper_update_post @@ -379,12 +396,14 @@ EOF %post charpicker %scrollkeeper_update_post %gconf_schema_install charpick.schemas +%update_icon_cache hicolor %preun charpicker %gconf_schema_uninstall charpick.schemas %postun charpicker %scrollkeeper_update_postun +%update_icon_cache hicolor %post cpufreq %scrollkeeper_update_post @@ -392,12 +411,14 @@ EOF %banner %{name} -e << EOF For full functionality, set SUID /usr/bin/cpufreq-selector binary. EOF +%update_icon_cache hicolor %preun cpufreq %gconf_schema_uninstall cpufreq-applet.schemas %postun cpufreq %scrollkeeper_update_postun +%update_icon_cache hicolor %post drivemount %scrollkeeper_update_post @@ -406,56 +427,49 @@ EOF %preun drivemount %gconf_schema_uninstall drivemount.schemas -%postun drivemount +%postun drivemount %scrollkeeper_update_postun %post geyes %scrollkeeper_update_post %gconf_schema_install geyes.schemas +%update_icon_cache hicolor %preun geyes %gconf_schema_uninstall geyes.schemas -%postun geyes -%scrollkeeper_update_postun - -%post gtik -%scrollkeeper_update_post -%gconf_schema_install gtik.schemas - -%preun gtik -%gconf_schema_uninstall gtik.schemas - -%postun gtik +%postun geyes %scrollkeeper_update_postun +%update_icon_cache hicolor %post gweather /sbin/ldconfig %scrollkeeper_update_post -%gconf_schema_install gweather.schemas - -%preun gweather -%gconf_schema_uninstall gweather.schemas %postun gweather /sbin/ldconfig %scrollkeeper_update_postun -%post keyboard +%post invest %scrollkeeper_update_post -%gconf_schema_install gswitchit.schemas -%preun keyboard -%gconf_schema_uninstall gswitchit.schemas +%postun invest +%scrollkeeper_update_postun + +%post keyboard +%scrollkeeper_update_post +%update_icon_cache hicolor %postun keyboard %scrollkeeper_update_postun +%update_icon_cache hicolor %post minicommander %scrollkeeper_update_post %gconf_schema_install mini-commander-global.schemas %gconf_schema_install mini-commander.schemas GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/%{name}/mc-install-default-macros +%update_icon_cache hicolor %preun minicommander %gconf_schema_uninstall mini-commander-global.schemas @@ -463,13 +477,11 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/% %postun minicommander %scrollkeeper_update_postun +%update_icon_cache hicolor %post mixer %scrollkeeper_update_post %gconf_schema_install mixer.schemas -%banner %{name} -e << EOF -For full functionality, you need to install gnome-media-volume-control. -EOF %preun mixer %gconf_schema_uninstall mixer.schemas @@ -477,12 +489,15 @@ EOF %postun mixer %scrollkeeper_update_postun +%post modemlights +%update_icon_cache hicolor + +%postun modemlights +%update_icon_cache hicolor + %post multiload %scrollkeeper_update_post %gconf_schema_install multiload.schemas -%banner %{name} -e << EOF -For full functionality, you need to install gnome-system-monitor. -EOF %preun multiload %gconf_schema_uninstall multiload.schemas @@ -493,12 +508,14 @@ EOF %post stickynotes %scrollkeeper_update_post %gconf_schema_install stickynotes.schemas +%update_icon_cache hicolor %preun stickynotes %gconf_schema_uninstall stickynotes.schemas %postun stickynotes %scrollkeeper_update_postun +%update_icon_cache hicolor %post trash %scrollkeeper_update_post @@ -506,7 +523,7 @@ EOF %postun trash %scrollkeeper_update_postun -%files -f %{name}.lang +%files -f %{name}-2.0.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_libdir}/null_applet @@ -514,14 +531,35 @@ EOF %{_libdir}/bonobo/servers/GNOME_MailcheckApplet_Factory.server %{_libdir}/bonobo/servers/GNOME_NullApplet_Factory.server %{_libdir}/bonobo/servers/GNOME_Panel_WirelessApplet.server -%dir %{_datadir}/%{name}/glade %dir %{_libdir}/%{name} %dir %{_datadir}/%{name} - -%files devel -%defattr(644,root,root,755) -%{_includedir}/* -%{_pkgconfigdir}/*.pc +%dir %{_datadir}/%{name}/glade +%lang(es_CL) %dir %{_datadir}/locale/es_CL +%lang(es_CL) %dir %{_datadir}/locale/es_CL/LC_MESSAGES +%lang(es_CO) %dir %{_datadir}/locale/es_CO +%lang(es_CO) %dir %{_datadir}/locale/es_CO/LC_MESSAGES +%lang(es_CR) %dir %{_datadir}/locale/es_CR +%lang(es_CR) %dir %{_datadir}/locale/es_CR/LC_MESSAGES +%lang(es_DO) %dir %{_datadir}/locale/es_DO +%lang(es_DO) %dir %{_datadir}/locale/es_DO/LC_MESSAGES +%lang(es_EC) %dir %{_datadir}/locale/es_EC +%lang(es_EC) %dir %{_datadir}/locale/es_EC/LC_MESSAGES +%lang(es_GT) %dir %{_datadir}/locale/es_GT +%lang(es_GT) %dir %{_datadir}/locale/es_GT/LC_MESSAGES +%lang(es_HN) %dir %{_datadir}/locale/es_HN +%lang(es_HN) %dir %{_datadir}/locale/es_HN/LC_MESSAGES +%lang(es_PA) %dir %{_datadir}/locale/es_PA +%lang(es_PA) %dir %{_datadir}/locale/es_PA/LC_MESSAGES +%lang(es_PE) %dir %{_datadir}/locale/es_PE +%lang(es_PE) %dir %{_datadir}/locale/es_PE/LC_MESSAGES +%lang(es_PR) %dir %{_datadir}/locale/es_PR +%lang(es_PR) %dir %{_datadir}/locale/es_PR/LC_MESSAGES +%lang(es_SV) %dir %{_datadir}/locale/es_SV +%lang(es_SV) %dir %{_datadir}/locale/es_SV/LC_MESSAGES +%lang(es_UY) %dir %{_datadir}/locale/es_UY +%lang(es_UY) %dir %{_datadir}/locale/es_UY/LC_MESSAGES +%lang(es_VE) %dir %{_datadir}/locale/es_VE +%lang(es_VE) %dir %{_datadir}/locale/es_VE/LC_MESSAGES %files accessx-status -f accessx-status.lang %defattr(644,root,root,755) @@ -531,13 +569,6 @@ EOF %{_datadir}/gnome-2.0/ui/GNOME_AccessxApplet.xml %{_pixmapsdir}/accessx-status-applet %{_iconsdir}/hicolor/48x48/apps/ax-applet.png -%dir %{_omf_dest_dir}/accessx-status -%{_omf_dest_dir}/accessx-status/accessx-status-C.omf -%lang(bg) %{_omf_dest_dir}/accessx-status/accessx-status-bg.omf -%lang(es) %{_omf_dest_dir}/accessx-status/accessx-status-es.omf -%lang(fr) %{_omf_dest_dir}/accessx-status/accessx-status-fr.omf -%lang(it) %{_omf_dest_dir}/accessx-status/accessx-status-it.omf -%lang(uk) %{_omf_dest_dir}/accessx-status/accessx-status-uk.omf %files battstat -f battstat.lang %defattr(644,root,root,755) @@ -548,12 +579,6 @@ EOF %{_datadir}/%{name}/glade/battstat_applet.glade %{_sysconfdir}/gconf/schemas/battstat.schemas %{_sysconfdir}/sound/events/battstat_applet.soundlist -%dir %{_omf_dest_dir}/battstat -%{_omf_dest_dir}/battstat/battstat-C.omf -%lang(bg) %{_omf_dest_dir}/battstat/battstat-bg.omf -%lang(es) %{_omf_dest_dir}/battstat/battstat-es.omf -%lang(fr) %{_omf_dest_dir}/battstat/battstat-fr.omf -%lang(uk) %{_omf_dest_dir}/battstat/battstat-uk.omf %files charpicker -f char-palette.lang %defattr(644,root,root,755) @@ -563,15 +588,6 @@ EOF %{_datadir}/gnome-2.0/ui/GNOME_CharpickerApplet.xml %{_iconsdir}/hicolor/48x48/apps/charpick.png %{_sysconfdir}/gconf/schemas/charpick.schemas -%dir %{_omf_dest_dir}/char-palette -%{_omf_dest_dir}/char-palette/char-palette-C.omf -%lang(bg) %{_omf_dest_dir}/char-palette/char-palette-bg.omf -%lang(es) %{_omf_dest_dir}/char-palette/char-palette-es.omf -%lang(fr) %{_omf_dest_dir}/char-palette/char-palette-fr.omf -%lang(it) %{_omf_dest_dir}/char-palette/char-palette-it.omf -%lang(nl) %{_omf_dest_dir}/char-palette/char-palette-nl.omf -%lang(pt_BR) %{_omf_dest_dir}/char-palette/char-palette-pt_BR.omf -%lang(uk) %{_omf_dest_dir}/char-palette/char-palette-uk.omf %files cpufreq -f cpufreq-applet.lang %defattr(644,root,root,755) @@ -583,12 +599,7 @@ EOF %{_datadir}/%{name}/glade/cpufreq-preferences.glade %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas %{_pixmapsdir}/cpufreq-applet -%{_iconsdir}/hicolor/48x48/apps/gnome-cpu.png -%dir %{_omf_dest_dir}/cpufreq-applet -%{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-C.omf -%lang(es) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-es.omf -%lang(nl) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-nl.omf -%lang(uk) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-uk.omf +%{_iconsdir}/hicolor/*/apps/gnome-cpu-frequency-applet.* %files drivemount -f drivemount.lang %defattr(644,root,root,755) @@ -597,13 +608,6 @@ EOF %{_libdir}/bonobo/servers/GNOME_DriveMountApplet.server %{_datadir}/gnome-2.0/ui/GNOME_DriveMountApplet.xml %{_sysconfdir}/gconf/schemas/drivemount.schemas -%dir %{_omf_dest_dir}/drivemount -%{_omf_dest_dir}/drivemount/drivemount-C.omf -%lang(es) %{_omf_dest_dir}/drivemount/drivemount-es.omf -%lang(fr) %{_omf_dest_dir}/drivemount/drivemount-fr.omf -%lang(it) %{_omf_dest_dir}/drivemount/drivemount-it.omf -%lang(pa) %{_omf_dest_dir}/drivemount/drivemount-pa.omf -%lang(uk) %{_omf_dest_dir}/drivemount/drivemount-uk.omf %files geyes -f geyes.lang %defattr(644,root,root,755) @@ -612,47 +616,30 @@ EOF %{_libdir}/bonobo/servers/GNOME_GeyesApplet.server %{_datadir}/gnome-2.0/ui/GNOME_GeyesApplet.xml %{_datadir}/%{name}/geyes -%{_iconsdir}/hicolor/48x48/apps/gnome-eyes.png +%{_iconsdir}/hicolor/*/apps/gnome-eyes-applet.* %{_sysconfdir}/gconf/schemas/geyes.schemas -%dir %{_omf_dest_dir}/geyes -%{_omf_dest_dir}/geyes/geyes-C.omf -%lang(bg) %{_omf_dest_dir}/geyes/geyes-bg.omf -%lang(es) %{_omf_dest_dir}/geyes/geyes-es.omf -%lang(es) %{_omf_dest_dir}/geyes/geyes-es.omf -%lang(fr) %{_omf_dest_dir}/geyes/geyes-fr.omf -%lang(it) %{_omf_dest_dir}/geyes/geyes-it.omf -%lang(ru) %{_omf_dest_dir}/geyes/geyes-ru.omf -%lang(uk) %{_omf_dest_dir}/geyes/geyes-uk.omf - -%files gtik -f gtik2_applet2.lang -%defattr(644,root,root,755) -%doc gtik/ChangeLog -%attr(755,root,root) %{_libdir}/gtik2_applet2 -%{_libdir}/bonobo/servers/GNOME_GtikApplet.server -%{_datadir}/gnome-2.0/ui/GNOME_GtikApplet.xml -%{_iconsdir}/hicolor/48x48/apps/gnome-money.png -%{_sysconfdir}/gconf/schemas/gtik.schemas -%dir %{_omf_dest_dir}/gtik2_applet2 -%{_omf_dest_dir}/gtik2_applet2/gtik2_applet2-C.omf -%lang(es) %{_omf_dest_dir}/gtik2_applet2/gtik2_applet2-es.omf -%lang(fr) %{_omf_dest_dir}/gtik2_applet2/gtik2_applet2-fr.omf -%lang(uk) %{_omf_dest_dir}/gtik2_applet2/gtik2_applet2-uk.omf %files gweather -f gweather.lang %defattr(644,root,root,755) %doc gweather/ChangeLog %attr(755,root,root) %{_libdir}/gweather-applet-2 -%attr(755,root,root) %{_libdir}/libgweather.so* %{_libdir}/bonobo/servers/GNOME_GWeatherApplet_Factory.server %{_datadir}/gnome-2.0/ui/GNOME_GWeatherApplet.xml -%{_datadir}/%{name}/gweather -%{_sysconfdir}/gconf/schemas/gweather.schemas -%dir %{_omf_dest_dir}/gweather -%{_omf_dest_dir}/gweather/gweather-C.omf -%lang(es) %{_omf_dest_dir}/gweather/gweather-es.omf -%lang(fr) %{_omf_dest_dir}/gweather/gweather-fr.omf -%lang(nl) %{_omf_dest_dir}/gweather/gweather-nl.omf -%lang(uk) %{_omf_dest_dir}/gweather/gweather-uk.omf + +%files invest +%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 +%{_libdir}/bonobo/servers/Invest_Applet.server +%{_datadir}/gnome-2.0/ui/Invest_Applet.xml +%{_datadir}/%{name}/invest-applet +%{_datadir}/%{name}/glade/financialchart.glade +%{_datadir}/%{name}/glade/prefs-dialog.glade +%{_pixmapsdir}/invest-big.png +%dir %{py_sitedir}/invest +%{py_sitedir}/invest/*.py[co] %files keyboard -f gswitchit.lang %defattr(644,root,root,755) @@ -705,16 +692,9 @@ EOF %lang(uk) %{_datadir}/xmodmap/xmodmap.uk* %{_datadir}/xmodmap/xmodmap.us* %lang(hr,mk,sl,sr) %{_datadir}/xmodmap/xmodmap.yu* -%attr(755,root,root) %{_bindir}/gswitchit-plugins-capplet %{_datadir}/gnome-2.0/ui/GNOME_GSwitchItApplet.xml %{_datadir}/%{name}/glade/gswitchit*.glade %{_iconsdir}/hicolor/48x48/apps/gswitchit*.png -%{_sysconfdir}/gconf/schemas/gswitchit.schemas -%dir %{_omf_dest_dir}/gswitchit -%{_omf_dest_dir}/gswitchit/gswitchit-C.omf -%lang(es) %{_omf_dest_dir}/gswitchit/gswitchit-es.omf -%lang(fr) %{_omf_dest_dir}/gswitchit/gswitchit-fr.omf -%lang(uk) %{_omf_dest_dir}/gswitchit/gswitchit-uk.omf %files minicommander -f command-line.lang %defattr(644,root,root,755) @@ -727,26 +707,14 @@ EOF %{_iconsdir}/hicolor/48x48/apps/gnome-mini-commander.png %{_sysconfdir}/gconf/schemas/mini-commander-global.schemas %{_sysconfdir}/gconf/schemas/mini-commander.schemas -%dir %{_omf_dest_dir}/command-line -%{_omf_dest_dir}/command-line/command-line-C.omf -%lang(es) %{_omf_dest_dir}/command-line/command-line-es.omf -%lang(fr) %{_omf_dest_dir}/command-line/command-line-fr.omf -%lang(pt_BR) %{_omf_dest_dir}/command-line/command-line-pt_BR.omf -%lang(uk) %{_omf_dest_dir}/command-line/command-line-uk.omf - -%files mixer + +%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 %{_sysconfdir}/gconf/schemas/mixer.schemas -%dir %{_omf_dest_dir}/mixer_applet2 -%{_omf_dest_dir}/mixer_applet2/mixer_applet2-C.omf -%lang(es) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-es.omf -%lang(it) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-it.omf -%lang(fr) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-fr.omf -%lang(uk) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-uk.omf %files modemlights %defattr(644,root,root,755) @@ -755,7 +723,7 @@ EOF %{_libdir}/bonobo/servers/GNOME_ModemLights.server %{_datadir}/gnome-2.0/ui/GNOME_ModemLights.xml %{_datadir}/%{name}/glade/modemlights.glade -%{_iconsdir}/hicolor/48x48/apps/gnome-modem.png +%{_iconsdir}/hicolor/*/apps/gnome-modem-monitor-applet.* %files multiload -f multiload.lang %defattr(644,root,root,755) @@ -764,11 +732,6 @@ EOF %{_libdir}/bonobo/servers/GNOME_MultiLoadApplet_Factory.server %{_datadir}/gnome-2.0/ui/GNOME_MultiloadApplet.xml %{_sysconfdir}/gconf/schemas/multiload.schemas -%dir %{_omf_dest_dir}/multiload -%{_omf_dest_dir}/multiload/multiload-C.omf -%lang(es) %{_omf_dest_dir}/multiload/multiload-es.omf -%lang(fr) %{_omf_dest_dir}/multiload/multiload-fr.omf -%lang(uk) %{_omf_dest_dir}/multiload/multiload-uk.omf %files stickynotes -f stickynotes_applet.lang %defattr(644,root,root,755) @@ -778,25 +741,13 @@ EOF %{_datadir}/gnome-2.0/ui/GNOME_StickyNotesApplet.xml %{_datadir}/%{name}/glade/stickynotes.glade %{_pixmapsdir}/stickynotes +%{_iconsdir}/hicolor/*/apps/gnome-sticky-notes-applet.* %{_sysconfdir}/gconf/schemas/stickynotes.schemas -%dir %{_omf_dest_dir}/stickynotes_applet -%{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-C.omf -%lang(es) %{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-es.omf -%lang(fr) %{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-fr.omf -%lang(uk) %{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-uk.omf %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}/glade/trashapplet.glade +%{_datadir}/%{name}/glade/trashapplet-empty-progress.ui %{_datadir}/gnome-2.0/ui/GNOME_Panel_TrashApplet.xml -%dir %{_omf_dest_dir}/trashapplet -%{_omf_dest_dir}/trashapplet/trashapplet-C.omf -%lang(es) %{_omf_dest_dir}/trashapplet/trashapplet-es.omf -%lang(fr) %{_omf_dest_dir}/trashapplet/trashapplet-fr.omf -%lang(it) %{_omf_dest_dir}/trashapplet/trashapplet-it.omf -%lang(nl) %{_omf_dest_dir}/trashapplet/trashapplet-nl.omf -%lang(pa) %{_omf_dest_dir}/trashapplet/trashapplet-pa.omf -%lang(uk) %{_omf_dest_dir}/trashapplet/trashapplet-uk.omf