]> git.pld-linux.org Git - packages/gnome-applets.git/blobdiff - gnome-applets.spec
- rel.4, updated deps, --as-needed support
[packages/gnome-applets.git] / gnome-applets.spec
index 1a281857127c1eec976168dc017275d7c306d21d..803b5b6a21f3c7850bc355809eda67ace48881f8 100644 (file)
@@ -3,49 +3,54 @@ Summary(pl):  Aplety GNOME - ma
 Summary(ru):   íÁÌÅÎØËÉÅ ÐÒÏÇÒÁÍÍÙ, ×ÓÔÒÁÉ×ÁÀÝÉÅÓÑ × ÐÁÎÅÌØ GNOME
 Summary(uk):   íÁÌÅÎØ˦ ÐÒÏÇÒÁÍÉ, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × ÐÁÎÅÌØ GNOME
 Name:          gnome-applets
-Version:       2.12.3
-Release:       1
+Version:       2.15.1.1
+Release:       4
 Epoch:         1
 License:       GPL v2, FDL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/gnome-applets/2.12/%{name}-%{version}.tar.bz2
-# Source0-md5: 39987d3e8726e58a6a72047ada05e25d
+Source0:       http://ftp.gnome.org/pub/gnome/sources/gnome-applets/2.15/%{name}-%{version}.tar.bz2
+# Source0-md5: d632538ac5a4ed880302be25dbdc0f69
 Patch0:                %{name}-stickynotes-title-size.patch
 Patch1:                %{name}-m4_fix.patch
+Patch2:                %{name}-desktop.patch
+Patch3:                %{name}-gnomeapplet_check.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.12.0
+BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: dbus-glib-devel >= 0.34
-BuildRequires: gail-devel >= 1.8.2
+BuildRequires: cpufrequtils-devel >= 0.3
+BuildRequires: dbus-glib-devel >= 0.62
+BuildRequires: gail-devel >= 1.9.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.12.1
-BuildRequires: gnome-vfs2-devel >= 2.12.1
-BuildRequires: gstreamer-plugins-devel >= 0.8.11
-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
+BuildRequires: gnome-common >= 2.12.0
+BuildRequires: gnome-desktop-devel >= 2.15.4
+BuildRequires: gnome-doc-utils >= 0.7.1
+BuildRequires: gnome-panel-devel >= 2.14.2
+BuildRequires: gnome-vfs2-devel >= 2.15.3
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.7
+BuildRequires: gtk+2-devel >= 2:2.10.0
+BuildRequires: gucharmap-devel >= 1.6.0
+BuildRequires: hal-devel >= 0.5.7
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libgnomeui-devel >= 2.15.2
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgtop-devel >= 1:2.14.0
+BuildRequires: libnotify-devel >= 0.4.2
 BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.12.1
-BuildRequires: libxml2-devel >= 1:2.6.21
-BuildRequires: libxklavier-devel >= 2.0
-BuildRequires: libxslt-progs
+BuildRequires: libwnck-devel >= 2.15.4
+BuildRequires: libxml2-devel >= 1:2.6.26
+BuildRequires: libxklavier-devel >= 2.91
+BuildRequires: libxslt-progs >= 1.1.17
 BuildRequires: pkgconfig
+BuildRequires: python-gnome-desktop-devel >= 2.15.4
 BuildRequires: rpmbuild(macros) >= 1.197
 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
+Requires:      gnome-icon-theme >= 2.15.3
+Requires:      gnome-panel >= 2.14.2
+Requires:      gnome-vfs2 >= 2.15.3
+Requires:      libgnomeui >= 2.15.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _gnomehelpdir   %{_datadir}/gnome/help
@@ -71,8 +76,8 @@ 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
+Requires:      GConf2-devel >= 2.14.0
+Requires:      gtk+2-devel >= 2:2.10.0
 
 %description devel
 Header files for gnome-applets.
@@ -170,21 +175,6 @@ Geyes applet.
 %description geyes -l pl
 Aplet geyes.
 
-%package gtik
-Summary:       Stock Ticker applet
-Summary(pl):   Aplet wska¼nika gie³dowego
-Group:         X11/Applications
-Requires(post,preun):  GConf2
-Requires(post,postun): scrollkeeper
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-Conflicts:     gnome-applets <= 0:2.10.0-5
-
-%description gtik
-Stock Ticker applet.
-
-%description gtik -l pl
-Aplet wska¼nika gie³dowego.
-
 %package gweather
 Summary:       Weather Report applet
 Summary(pl):   Aplet raportu pogodowego
@@ -201,6 +191,23 @@ Weather Report applet.
 %description gweather -l pl
 Aplet raportu pogodowego.
 
+%package invest
+Summary:       Stock Ticker applet
+Summary(pl):   Aplet wska¼nika gie³dowego
+Group:         X11/Applications
+Requires(post,preun):  GConf2
+Requires(post,postun): scrollkeeper
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      python-gnome-extras-egg >= 2.14.0
+Conflicts:     gnome-applets <= 0:2.10.0-5
+Obsoletes:     gnome-applets-gtik
+
+%description invest
+Stock Ticker applet.
+
+%description invest -l pl
+Aplet wska¼nika gie³dowego.
+
 %package keyboard
 Summary:       Keyboard Indicator applet
 Summary(pl):   Aplet wska¼nika klawiatury
@@ -238,7 +245,7 @@ Group:              X11/Applications
 Requires(post,preun):  GConf2
 Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      gstreamer-audio-effects
+Requires:      gstreamer-audio-effects-base >= 0.10
 Requires:      gstreamer-audiosink
 Conflicts:     gnome-applets <= 0:2.10.0-5
 
@@ -311,6 +318,8 @@ Aplet 
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 gnome-doc-prepare --copy --force
@@ -322,9 +331,11 @@ gnome-doc-prepare --copy --force
 %{__gnome_doc_common}
 %{__automake}
 %{__autoconf}
+LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
        --disable-static \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --enable-mini-commander
 %{__make}
 
 %install
@@ -332,25 +343,27 @@ 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 -f $RPM_BUILD_ROOT%{_libdir}/libgweather.la
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/invest/*.py
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 
 %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
@@ -417,17 +430,9 @@ EOF
 %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
 
 %post gweather
+/sbin/ldconfig
 %scrollkeeper_update_post
 %gconf_schema_install gweather.schemas
 
@@ -435,6 +440,13 @@ EOF
 %gconf_schema_uninstall gweather.schemas
 
 %postun gweather
+/sbin/ldconfig
+%scrollkeeper_update_postun
+
+%post invest
+%scrollkeeper_update_post
+
+%postun invest
 %scrollkeeper_update_postun
 
 %post keyboard
@@ -510,9 +522,10 @@ 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}/art
+%dir %{_datadir}/%{name}/glade
 
 %files devel
 %defattr(644,root,root,755)
@@ -529,6 +542,7 @@ EOF
 %{_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
@@ -545,7 +559,9 @@ EOF
 %{_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
@@ -558,7 +574,9 @@ EOF
 %{_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
@@ -578,7 +596,9 @@ EOF
 %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
+%lang(zh_CN) %{_omf_dest_dir}/cpufreq-applet/cpufreq-applet-zh_CN.omf
 
 %files drivemount -f drivemount.lang
 %defattr(644,root,root,755)
@@ -590,9 +610,11 @@ EOF
 %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
+%lang(zh_CN) %{_omf_dest_dir}/drivemount/drivemount-zh_CN.omf
 
 %files geyes -f geyes.lang
 %defattr(644,root,root,755)
@@ -605,27 +627,18 @@ EOF
 %{_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(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(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
@@ -633,8 +646,26 @@ EOF
 %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}/art/invest*.*
+%{_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
@@ -711,6 +742,7 @@ EOF
 %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
 
@@ -724,6 +756,8 @@ EOF
 %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
@@ -745,6 +779,7 @@ EOF
 %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
@@ -759,6 +794,7 @@ EOF
 %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
@@ -773,5 +809,7 @@ EOF
 %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(ru) %{_omf_dest_dir}/trashapplet/trashapplet-ru.omf
 %lang(uk) %{_omf_dest_dir}/trashapplet/trashapplet-uk.omf
This page took 0.094126 seconds and 4 git commands to generate.