|
@@ -1,10 +1,10 @@
|
|
%define gnumeric_version %{version}-bonobo
|
|
%define gnumeric_version %{version}-bonobo
|
|
-%define goffice_version 0.8.2
|
|
|
|
|
|
+%define goffice_version 0.8.6
|
|
|
|
|
|
Summary: A spreadsheet program for GNOME.
|
|
Summary: A spreadsheet program for GNOME.
|
|
Summary(ja): GNOME スプレッドシート
|
|
Summary(ja): GNOME スプレッドシート
|
|
Name: gnumeric
|
|
Name: gnumeric
|
|
-Version: 1.10.2
|
|
|
|
|
|
+Version: 1.10.6
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: Applications/Productivity
|
|
Group: Applications/Productivity
|
|
@@ -78,10 +78,6 @@ MS Excelファイルや他の多くのフォーマット(csv, latex, xbase, appl
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-# fix desktop file Icon path
|
|
|
|
-sed -i -e "s/Icon=/Icon=\/usr\/share\/pixmaps\//" \
|
|
|
|
- gnumeric.desktop.in
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
%ifarch alpha
|
|
%ifarch alpha
|
|
MYARCH_FLAGS="--host=alpha-redhat-linux"
|
|
MYARCH_FLAGS="--host=alpha-redhat-linux"
|
|
@@ -128,6 +124,11 @@ scrollkeeper-update > /dev/null 2>&1 || :
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnumeric*.schemas > /dev/null
|
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnumeric*.schemas > /dev/null
|
|
|
|
|
|
|
|
+touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+fi
|
|
|
|
+
|
|
%pre
|
|
%pre
|
|
if [ "$1" -gt 1 ]; then
|
|
if [ "$1" -gt 1 ]; then
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
@@ -146,6 +147,12 @@ fi
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
|
|
|
|
|
|
+touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
|
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr (-, root, root)
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS BUGS *ChangeLog* COPYING HACKING NEWS README
|
|
%doc AUTHORS BUGS *ChangeLog* COPYING HACKING NEWS README
|
|
@@ -182,6 +189,10 @@ scrollkeeper-update > /dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.6-1
|
|
|
|
+- new upstream release
|
|
|
|
+- fix %post and %postun
|
|
|
|
+
|
|
* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
|
|
* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|