]> git.pld-linux.org Git - packages/gnome-applets.git/blobdiff - gnome-applets.spec
- tabs in preamble
[packages/gnome-applets.git] / gnome-applets.spec
index a25653463e60790f614165f9c8522ea1b9c71041..f79510df5414bfb310f49153fe3b67d1a593ca6c 100644 (file)
@@ -1,51 +1,66 @@
+#
+# Conditional build:
+%bcond_without modemlights     # don't build modemlights applet
+#
 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.1
+Version:       2.16.2
 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: 1b5e834450812a6a3e7ab00652587ef4
+Source0:       http://ftp.gnome.org/pub/gnome/sources/gnome-applets/2.16/%{name}-%{version}.tar.bz2
+# Source0-md5: 1a46b8557ff05ca75e7db6adb4dd6707
 Patch0:                %{name}-stickynotes-title-size.patch
 Patch1:                %{name}-m4_fix.patch
+Patch2:                %{name}-desktop.patch
+Patch3:                %{name}-modemlights-conditional.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.14.0
+BuildRequires: GConf2-devel >= 2.16.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: dbus-glib-devel >= 0.34
-BuildRequires: gail-devel >= 1.8.2
+BuildRequires: control-center-devel >= 2.16.2
+BuildRequires: cpufrequtils-devel >= 0.3
+BuildRequires: dbus-glib-devel >= 0.71-2
+BuildRequires: gail-devel >= 1.9.3
 BuildRequires: gdbm-devel
 BuildRequires: gettext-devel
-BuildRequires: gnome-common >= 2.8.0-2
-BuildRequires: gnome-desktop-devel >= 2.14.0
-BuildRequires: gnome-doc-utils >= 0.4.0
-BuildRequires: gnome-panel-devel >= 2.14.0
-BuildRequires: gnome-vfs2-devel >= 2.14.0
-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.14.0
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgtop-devel >= 1:2.14.0
-BuildRequires: libnotify-devel >= 0.3.2
+BuildRequires: gnome-common >= 2.12.0
+BuildRequires: gnome-desktop-devel >= 2.16.2
+BuildRequires: gnome-doc-utils >= 0.8.0
+BuildRequires: gnome-panel-devel >= 2.16.2
+BuildRequires: gnome-vfs2-devel >= 2.16.3
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: gucharmap-devel >= 1.8.0
+BuildRequires: hal-devel >= 0.5.7.1
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libgnomeui-devel >= 2.16.1
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgtop-devel >= 1:2.14.4
+BuildRequires: libnotify-devel >= 0.4.2
 BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.14.1
-BuildRequires: libxml2-devel >= 1:2.6.21
-BuildRequires: libxklavier-devel >= 2.0
-BuildRequires: libxslt-progs
+BuildRequires: libwnck-devel >= 2.16.2
+BuildRequires: libxml2-devel >= 1:2.6.27
+BuildRequires: libxklavier-devel >= 3.0
+BuildRequires: libxslt-progs >= 1.1.17
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: python-gnome-desktop-devel >= 2.16.0
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.11-4
+%if %{with modemlights}
 BuildRequires: system-tools-backends >= 1.4.0
-Requires:      gnome-icon-theme >= 2.14.0
-Requires:      gnome-panel >= 2.14.0
-Requires:      gnome-vfs2 >= 2.14.0
+BuildRequires: system-tools-backends < 1.9.0
+%endif
+Requires:      gnome-icon-theme >= 2.16.1
+Requires:      gnome-panel >= 2.16.2
+Requires:      gnome-vfs2 >= 2.16.3
+Requires:      hicolor-icon-theme
+Requires:      libgnomeui >= 2.16.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _gnomehelpdir   %{_datadir}/gnome/help
@@ -54,36 +69,37 @@ 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.
+%description -l ru.UTF-8
+Пакет gnome-applets содержит апплеты Панели GNOME, увеличивающие
+комфортность работы в среде GNOME.
 
 %package devel
 Summary:       Header files for gnome-applets
-Summary(pl):   Pliki nag³ówkowe gnome-applets
+Summary(pl.UTF-8):     Pliki nagłówkowe gnome-applets
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      GConf2-devel >= 2.14.0
-Requires:      gtk+2-devel >= 2:2.8.3
+Requires:      GConf2-devel >= 2.16.0
+Requires:      gtk+2-devel >= 2:2.10.6
 
 %description devel
 Header files for gnome-applets.
 
-%description devel -l pl
-Pliki nag³ówkowe gnome-applets.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe gnome-applets.
 
 %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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -91,12 +107,12 @@ Conflicts: gnome-applets <= 0:2.10.0-5
 %description accessx-status
 Keyboard Accessibility Status applet.
 
-%description accessx-status -l pl
-Aplet stanu dostepnoci 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
@@ -106,14 +122,15 @@ 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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -121,14 +138,15 @@ 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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -137,12 +155,12 @@ Obsoletes:        gnome-applet-cpufreq
 %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
@@ -152,14 +170,15 @@ 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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -167,45 +186,48 @@ 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:      %{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:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      notification-daemon
+Requires:      python-gnome-extras-egg >= 2.14.2
 Conflicts:     gnome-applets <= 0:2.10.0-5
+Obsoletes:     gnome-applets-gtik
 
-%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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -213,12 +235,12 @@ 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
@@ -228,43 +250,46 @@ 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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      gstreamer-audio-effects-base >= 0.10
+Requires:      gstreamer-audio-effects-base >= 0.10.10
 Requires:      gstreamer-audiosink
 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 >= 2.10.6
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      system-tools-backends >= 1.2.0
+Requires:      system-tools-backends >= 1.4.0
+Requires:      system-tools-backends < 1.9.0
 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
@@ -274,14 +299,15 @@ 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 >= 2.10.6
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Conflicts:     gnome-applets <= 0:2.10.0-5
@@ -290,12 +316,12 @@ Obsoletes:        gnotes_applet
 %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,16 +330,18 @@ 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
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-gnome-doc-prepare --copy --force
+%{__gnome_doc_prepare}
 %{__libtoolize}
 %{__glib_gettextize}
 %{__intltoolize}
@@ -325,7 +353,9 @@ gnome-doc-prepare --copy --force
 %configure \
        --disable-static \
        --disable-schemas-install \
-       --enable-mini-commander
+       --enable-mini-commander \
+       --enable-stickynotes \
+       %{!?with_modemlights:--disable-modemlights}
 %{__make}
 
 %install
@@ -333,26 +363,28 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
+       pythondir=%{py_sitedir}
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-rm -r $RPM_BUILD_ROOT%{_libdir}/libgweather.la
+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
 
 %find_lang %{name} --all-name --with-gnome
+%find_lang accessx-status --with-gnome
+%find_lang battstat --with-gnome
 %find_lang char-palette --with-gnome
+%find_lang command-line --with-gnome
+%find_lang cpufreq-applet --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 gswitchit --with-gnome
+%find_lang gweather --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 stickynotes_applet --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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -362,9 +394,11 @@ rm -rf $RPM_BUILD_ROOT
 %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 +413,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 +428,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
@@ -412,22 +450,14 @@ EOF
 %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
-%scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %post gweather
 /sbin/ldconfig
@@ -441,21 +471,30 @@ EOF
 /sbin/ldconfig
 %scrollkeeper_update_postun
 
+%post invest
+%scrollkeeper_update_post
+
+%postun invest
+%scrollkeeper_update_postun
+
 %post keyboard
 %scrollkeeper_update_post
 %gconf_schema_install gswitchit.schemas
+%update_icon_cache hicolor
 
 %preun keyboard
 %gconf_schema_uninstall gswitchit.schemas
 
 %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,6 +502,7 @@ GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_libdir}/%
 
 %postun minicommander
 %scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %post mixer
 %scrollkeeper_update_post
@@ -477,6 +517,12 @@ 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
@@ -493,12 +539,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
@@ -514,9 +562,23 @@ 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}
+%dir %{_datadir}/%{name}/glade
+# nobody else uses those
+%lang(es) %{_datadir}/locale/es_CL
+%lang(es) %{_datadir}/locale/es_CO
+%lang(es) %{_datadir}/locale/es_CR
+%lang(es) %{_datadir}/locale/es_DO
+%lang(es) %{_datadir}/locale/es_EC
+%lang(es) %{_datadir}/locale/es_GT
+%lang(es) %{_datadir}/locale/es_HN
+%lang(es) %{_datadir}/locale/es_PA
+%lang(es) %{_datadir}/locale/es_PE
+%lang(es) %{_datadir}/locale/es_PR
+%lang(es) %{_datadir}/locale/es_SV
+%lang(es) %{_datadir}/locale/es_UY
+%lang(es) %{_datadir}/locale/es_VE
 
 %files devel
 %defattr(644,root,root,755)
@@ -537,6 +599,8 @@ EOF
 %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(nl) %{_omf_dest_dir}/accessx-status/accessx-status-nl.omf
+%lang(sv) %{_omf_dest_dir}/accessx-status/accessx-status-sv.omf
 %lang(uk) %{_omf_dest_dir}/accessx-status/accessx-status-uk.omf
 
 %files battstat -f battstat.lang
@@ -553,6 +617,7 @@ EOF
 %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(sv) %{_omf_dest_dir}/battstat/battstat-sv.omf
 %lang(uk) %{_omf_dest_dir}/battstat/battstat-uk.omf
 
 %files charpicker -f char-palette.lang
@@ -571,6 +636,7 @@ EOF
 %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(sv) %{_omf_dest_dir}/char-palette/char-palette-sv.omf
 %lang(uk) %{_omf_dest_dir}/char-palette/char-palette-uk.omf
 
 %files cpufreq -f cpufreq-applet.lang
@@ -583,12 +649,15 @@ EOF
 %{_datadir}/%{name}/glade/cpufreq-preferences.glade
 %{_sysconfdir}/gconf/schemas/cpufreq-applet.schemas
 %{_pixmapsdir}/cpufreq-applet
-%{_iconsdir}/hicolor/48x48/apps/gnome-cpu.png
+%{_iconsdir}/hicolor/*/apps/gnome-cpu-frequency-applet.*
 %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(fr) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-fr.omf
 %lang(nl) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-nl.omf
+%lang(sv) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-sv.omf
 %lang(uk) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-uk.omf
+%lang(zh_CN) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-zh_CN.omf
 
 %files drivemount -f drivemount.lang
 %defattr(644,root,root,755)
@@ -603,7 +672,9 @@ EOF
 %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(sv) %{_omf_dest_dir}/drivemount/drivemount-sv.omf
 %lang(uk) %{_omf_dest_dir}/drivemount/drivemount-uk.omf
+%lang(zh_CN) %{_omf_dest_dir}/drivemount/drivemount-zh_CN.omf
 
 %files geyes -f geyes.lang
 %defattr(644,root,root,755)
@@ -612,32 +683,18 @@ 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(sv) %{_omf_dest_dir}/geyes/geyes-sv.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
@@ -652,13 +709,31 @@ EOF
 %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(sv) %{_omf_dest_dir}/gweather/gweather-sv.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
+%{_desktopdir}/invest-chart.desktop
+%{_pixmapsdir}/invest-big.png
+%dir %{py_sitedir}/invest
+%{py_sitedir}/invest/*.py[co]
+
 %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
+%{_desktopdir}/gswitchit-plugins.desktop
 %dir %{_datadir}/xmodmap
 %{_datadir}/xmodmap/base.xml
 %lang(hy) %{_datadir}/xmodmap/xmodmap.am*
@@ -714,6 +789,7 @@ EOF
 %{_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(sv) %{_omf_dest_dir}/gswitchit/gswitchit-sv.omf
 %lang(uk) %{_omf_dest_dir}/gswitchit/gswitchit-uk.omf
 
 %files minicommander -f command-line.lang
@@ -732,6 +808,7 @@ EOF
 %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(sv) %{_omf_dest_dir}/command-line/command-line-sv.omf
 %lang(uk) %{_omf_dest_dir}/command-line/command-line-uk.omf
 
 %files mixer
@@ -746,8 +823,10 @@ EOF
 %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(sv) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-sv.omf
 %lang(uk) %{_omf_dest_dir}/mixer_applet2/mixer_applet2-uk.omf
 
+%if %{with modemlights}
 %files modemlights
 %defattr(644,root,root,755)
 %doc modemlights/ChangeLog
@@ -755,7 +834,8 @@ 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.*
+%endif
 
 %files multiload -f multiload.lang
 %defattr(644,root,root,755)
@@ -768,6 +848,7 @@ EOF
 %{_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(sv) %{_omf_dest_dir}/multiload/multiload-sv.omf
 %lang(uk) %{_omf_dest_dir}/multiload/multiload-uk.omf
 
 %files stickynotes -f stickynotes_applet.lang
@@ -778,11 +859,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(sv) %{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-sv.omf
 %lang(uk) %{_omf_dest_dir}/stickynotes_applet/stickynotes_applet-uk.omf
 
 %files trash -f trashapplet.lang
@@ -800,4 +883,5 @@ EOF
 %lang(nl) %{_omf_dest_dir}/trashapplet/trashapplet-nl.omf
 %lang(pa) %{_omf_dest_dir}/trashapplet/trashapplet-pa.omf
 %lang(ru) %{_omf_dest_dir}/trashapplet/trashapplet-ru.omf
+%lang(sv) %{_omf_dest_dir}/trashapplet/trashapplet-sv.omf
 %lang(uk) %{_omf_dest_dir}/trashapplet/trashapplet-uk.omf
This page took 0.162732 seconds and 4 git commands to generate.