|
@@ -1,52 +1,37 @@
|
|
%define gnumeric_version %{version}-bonobo
|
|
%define gnumeric_version %{version}-bonobo
|
|
-%define goffice_version 0.8.17
|
|
|
|
|
|
+%define goffice_version 0.9.5
|
|
|
|
|
|
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.17
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 1.11.5
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: Applications/Productivity
|
|
Group: Applications/Productivity
|
|
|
|
|
|
URL: http://www.gnome.org/projects/gnumeric
|
|
URL: http://www.gnome.org/projects/gnumeric
|
|
-Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
+Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.11/%{name}-%{version}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
# default font: VL Gothic
|
|
# default font: VL Gothic
|
|
-Patch0: gnumeric-1.10.17-vlgothic.patch
|
|
|
|
-
|
|
|
|
-Patch1: gnumeric-1.10.17-libgsf.patch
|
|
|
|
|
|
+Patch0: gnumeric-1.11.5-vlgothic.patch
|
|
|
|
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
|
|
|
|
-BuildRequires: gtk2-devel >= 2.10.0
|
|
|
|
-BuildRequires: libglade2-devel >= 2.3.6
|
|
|
|
-BuildRequires: libgnomeprint-devel >= 2.8.2
|
|
|
|
-BuildRequires: libgnomeprintui-devel >= 2.8.2
|
|
|
|
-BuildRequires: libart_lgpl-devel >= 2.3.11
|
|
|
|
-BuildRequires: libxml2-devel >= 2.4.12
|
|
|
|
-BuildRequires: libgsf-devel >= 1.13.2
|
|
|
|
|
|
+
|
|
|
|
+BuildRequires: bison
|
|
|
|
+BuildRequires: flex
|
|
BuildRequires: goffice-devel >= %{goffice_version}
|
|
BuildRequires: goffice-devel >= %{goffice_version}
|
|
-BuildRequires: libbonobo-devel libgnomeui-devel
|
|
|
|
-BuildRequires: libffi-devel
|
|
|
|
-#BuildPreReq: libgda-devel >= 1.9.100
|
|
|
|
-#BuildPreReq: libgnomedb-devel >= 1.9.100
|
|
|
|
|
|
+BuildRequires: pygobject3-devel
|
|
BuildRequires: perl python-devel
|
|
BuildRequires: perl python-devel
|
|
-BuildRequires: automake autoconf libtool docbook-utils
|
|
|
|
-BuildRequires: intltool >= 0.28 desktop-file-utils
|
|
|
|
-BuildRequires: libSM-devel
|
|
|
|
-Requires: gtk2 >= 2.10.0
|
|
|
|
-Requires: libglade2 >= 2.3.6
|
|
|
|
-Requires: libgnomeprint >= 2.8.2
|
|
|
|
-Requires: libgnomeprintui >= 2.8.2
|
|
|
|
-Requires: libgsf >= 1.14.6
|
|
|
|
-Requires: perl python
|
|
|
|
-Requires: GConf2 scrollkeeper
|
|
|
|
-
|
|
|
|
-# no longer devel package
|
|
|
|
-#Provides: %{name}-devel
|
|
|
|
|
|
+BuildRequires: automake
|
|
|
|
+BuildRequires: gnome-doc-utils
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
|
+
|
|
|
|
+Requires(postun,posttrans): glib2
|
|
|
|
+Requires(post,postun): desktop-file-utils
|
|
|
|
+
|
|
Obsoletes: %{name}-devel
|
|
Obsoletes: %{name}-devel
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -69,38 +54,25 @@ MS Excelファイルや他の多くのフォーマット(csv, latex, xbase, appl
|
|
を読込み、出力できます.
|
|
を読込み、出力できます.
|
|
|
|
|
|
|
|
|
|
-# %package devel
|
|
|
|
-#Summary: Files necessary to develop gnumeric-based applications.
|
|
|
|
-#Group: Development/Libraries
|
|
|
|
-#Requires: %{name} = %{PACKAGE_VERSION}
|
|
|
|
-
|
|
|
|
-#%#description devel
|
|
|
|
-#The gnumeric-devel package includes files necessary to develop gnumeric-based
|
|
|
|
-#applications.
|
|
|
|
-
|
|
|
|
-#Install gnumeric-devel if you want to develop programs which will use gnumeric.
|
|
|
|
-
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch0 -p1 -b .vlgothic
|
|
%patch0 -p1 -b .vlgothic
|
|
-%patch1 -p1 -b .libgsf
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
%ifarch alpha
|
|
%ifarch alpha
|
|
MYARCH_FLAGS="--host=alpha-redhat-linux"
|
|
MYARCH_FLAGS="--host=alpha-redhat-linux"
|
|
%endif
|
|
%endif
|
|
-export mllibname=%{_lib}
|
|
|
|
-%configure --with-gnome \
|
|
|
|
- --with-gda --without-gb --with-perl --with-python \
|
|
|
|
- --disable-schemas-install
|
|
|
|
|
|
+
|
|
|
|
+%configure \
|
|
|
|
+ --without-gda \
|
|
|
|
+ --with-perl \
|
|
|
|
+ --with-python
|
|
make
|
|
make
|
|
|
|
|
|
%install
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
|
|
|
|
|
./mkinstalldirs $RPM_BUILD_ROOT%{_datadir}/applications
|
|
./mkinstalldirs $RPM_BUILD_ROOT%{_datadir}/applications
|
|
desktop-file-install --vendor gnome --delete-original \
|
|
desktop-file-install --vendor gnome --delete-original \
|
|
@@ -115,10 +87,10 @@ desktop-file-install --vendor gnome --delete-original \
|
|
%find_lang %{name}-functions
|
|
%find_lang %{name}-functions
|
|
cat %{name}-functions.lang >> %{name}.lang
|
|
cat %{name}-functions.lang >> %{name}.lang
|
|
|
|
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/libspreadsheet.la
|
|
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/goffice/%{goffice_version}/plugins/gnumeric/*.la
|
|
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
+
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|
-rm -rf $RPM_BUILD_ROOT%{_includedir}/libspreadsheet-1.10
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_includedir}/libspreadsheet-1.12
|
|
rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
|
|
rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -126,77 +98,51 @@ rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
|
|
|
|
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
-
|
|
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
-gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnumeric*.schemas > /dev/null
|
|
|
|
-
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
fi
|
|
-
|
|
|
|
-%pre
|
|
|
|
-if [ "$1" -gt 1 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_sysconfdir}/gconf/schemas/gnumeric*.schemas >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%preun
|
|
|
|
-if [ "$1" -eq 0 ]; then
|
|
|
|
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
|
- gconftool-2 --makefile-uninstall-rule \
|
|
|
|
- %{_sysconfdir}/gconf/schemas/gnumeric*.schemas >& /dev/null ||:
|
|
|
|
-fi
|
|
|
|
|
|
+update-desktop-database -q &> /dev/null || :
|
|
|
|
|
|
%postun
|
|
%postun
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
scrollkeeper-update > /dev/null 2>&1 || :
|
|
-
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
fi
|
|
|
|
+update-desktop-database -q &> /dev/null || :
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
+
|
|
|
|
+%posttrans
|
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
|
%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
|
|
-%config %{_sysconfdir}/gconf/schemas/*
|
|
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
-%{_libdir}/lib*.so*
|
|
|
|
-%{_libdir}/gnumeric
|
|
|
|
-%{_libdir}/goffice/%{goffice_version}/plugins/gnumeric/*
|
|
|
|
-#{_libdir}/bonobo/servers/*
|
|
|
|
|
|
+%{_libdir}/libspreadsheet*.so
|
|
|
|
+%{_libdir}/%{name}
|
|
|
|
+%{_libdir}/goffice/0.10/plugins/%{name}
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
-%{_datadir}/gnome/help/gnumeric
|
|
|
|
-%{_datadir}/gnumeric
|
|
|
|
|
|
+%{_datadir}/gnome/help/%{name}
|
|
|
|
+%{_datadir}/%{name}
|
|
%{_datadir}/pixmaps/*
|
|
%{_datadir}/pixmaps/*
|
|
-#{_datadir}/mime-info/*
|
|
|
|
-#{_datadir}/mc/templates/*
|
|
|
|
%{_datadir}/omf/*
|
|
%{_datadir}/omf/*
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_mandir}/man*/*
|
|
%{_mandir}/man*/*
|
|
%exclude %{_datadir}/pixmaps/win32-gnumeric.ico
|
|
%exclude %{_datadir}/pixmaps/win32-gnumeric.ico
|
|
|
|
|
|
-#%{_libexecdir}/gnumeric-component
|
|
|
|
-#%#dir %{_libdir}/gnumeric
|
|
|
|
-#%#dir %{_libdir}/gnumeric/%{bonobover}
|
|
|
|
-#%#dir %{_libdir}/gnumeric/%{bonobover}/plugins
|
|
|
|
-#%#dir %{_libdir}/gnumeric/%{bonobover}/plugins/*
|
|
|
|
-# This is really silly. The .la files are useless for plugins.
|
|
|
|
-#%#{_libdir}/gnumeric/%{bonobover}/plugins/*/*.la
|
|
|
|
-#%#{_libdir}/gnumericConf.sh
|
|
|
|
-#%#if %{bonobo}
|
|
|
|
-#%#dir %{_datadir}/gnumeric
|
|
|
|
-#%#dir %{_datadir}/gnumeric/%{bonobover}
|
|
|
|
-#%#{_datadir}/gnumeric/%{bonobover}/idl
|
|
|
|
-#%#endif
|
|
|
|
-
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11.5-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add Patch0 (gnumeric-1.11.5-vlgothic.patch)
|
|
|
|
+- remove Patch1 (gnumeric-1.10.17-libgsf.patch)
|
|
|
|
+
|
|
* Fri Dec 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.17-2
|
|
* Fri Dec 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.17-2
|
|
- rebuild with libgsf-1.14.22
|
|
- rebuild with libgsf-1.14.22
|
|
- add Patch1 (gnumeric-1.10.17-libgsf.patch)
|
|
- add Patch1 (gnumeric-1.10.17-libgsf.patch)
|