|
@@ -1,12 +1,12 @@
|
|
|
%define gnumeric_version %{version}-bonobo
|
|
|
-%define goffice_version 0.10.31
|
|
|
+%define goffice_version 0.10.41
|
|
|
|
|
|
Summary: A spreadsheet program for GNOME.
|
|
|
Summary(ja): GNOME スプレッドシート
|
|
|
Name: gnumeric
|
|
|
-Version: 1.12.31
|
|
|
+Version: 1.12.41
|
|
|
Release: 1%{?_dist_release}
|
|
|
-License: GPLv2
|
|
|
+License: GPLv2 or GPLv3
|
|
|
Group: Applications/Productivity
|
|
|
|
|
|
URL: http://www.gnome.org/projects/gnumeric
|
|
@@ -28,12 +28,14 @@ BuildRequires: perl python-devel
|
|
|
BuildRequires: automake
|
|
|
BuildRequires: gnome-doc-utils
|
|
|
BuildRequires: desktop-file-utils
|
|
|
+BuildRequires: itstool
|
|
|
|
|
|
Requires(postun,posttrans): glib2
|
|
|
Requires(post,postun): desktop-file-utils
|
|
|
|
|
|
Obsoletes: %{name}-devel
|
|
|
|
|
|
+
|
|
|
%description
|
|
|
GNOME (GNU Network Object Model Environment) is a user-friendly set of
|
|
|
applications and desktop tools to be used in conjunction with a window
|
|
@@ -64,9 +66,9 @@ MS Excelファイルや他の多くのフォーマット(csv, latex, xbase, appl
|
|
|
%endif
|
|
|
|
|
|
%configure \
|
|
|
- --without-gda \
|
|
|
- --with-perl \
|
|
|
- --with-python
|
|
|
+ --without-gda \
|
|
|
+ --with-perl \
|
|
|
+ --with-python
|
|
|
make
|
|
|
|
|
|
%install
|
|
@@ -74,13 +76,14 @@ make
|
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
-desktop-file-install --vendor gnome --delete-original \
|
|
|
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
- --add-category Office \
|
|
|
- --add-category Application \
|
|
|
- --add-category Spreadsheet \
|
|
|
- --remove-mime-type="zz-application/zz-winassoc-xls" \
|
|
|
- $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
|
|
+desktop-file-install \
|
|
|
+ --vendor gnome --delete-original \
|
|
|
+ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
+ --add-category Office \
|
|
|
+ --add-category Application \
|
|
|
+ --add-category Spreadsheet \
|
|
|
+ --remove-mime-type="zz-application/zz-winassoc-xls" \
|
|
|
+ $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
|
|
|
|
|
%find_lang %{name}-%{version}
|
|
|
%find_lang %{name}-%{version}-functions
|
|
@@ -104,7 +107,7 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
fi
|
|
|
update-desktop-database -q &> /dev/null || :
|
|
|
|
|
|
-%postun
|
|
|
+%postun
|
|
|
/sbin/ldconfig
|
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
@@ -128,16 +131,19 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
%{_datadir}/appdata/gnumeric.appdata.xml
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
|
-%{_datadir}/gnome/help/%{name}
|
|
|
+%{_datadir}/help/*
|
|
|
%{_datadir}/%{name}
|
|
|
%{_datadir}/pixmaps/*
|
|
|
-%{_datadir}/omf/*
|
|
|
%{_datadir}/icons/hicolor/*
|
|
|
%{_mandir}/man*/*
|
|
|
%exclude %{_datadir}/pixmaps/win32-gnumeric.ico
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jun 06 2018 Toshiaki Ara <ara_t@384.jp> 1.12.41-1
|
|
|
+- new upstream release
|
|
|
+- add BuildRequires: itstool
|
|
|
+
|
|
|
* Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.31-1
|
|
|
- new upstream release
|
|
|
|