313 lines
10 KiB
RPMSpec
313 lines
10 KiB
RPMSpec
|
#
|
||
|
# spec file for package gnumeric (Version 1.6.3)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: gnumeric
|
||
|
BuildRequires: docbook-utils gnutls-devel goffice-devel indent intltool libgnomedb-devel libgnomeprintui-devel libidl libtiff-devel libwnck-devel mDNSResponder-devel perl-XML-Parser psiconv-devel python-devel python-gtk-devel scrollkeeper shared-mime-info update-desktop-files
|
||
|
License: GNU General Public License (GPL)
|
||
|
Group: Productivity/Office/Spreadsheets
|
||
|
Provides: gnumeric2
|
||
|
Obsoletes: gnumeric2
|
||
|
Summary: Spreadsheet Application
|
||
|
Version: 1.6.3
|
||
|
Release: 36
|
||
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/gnumeric/1.6/gnumeric-%{version}.tar.bz2
|
||
|
URL: http://www.gnumeric.org/
|
||
|
Patch: gnumeric-pro-fonts.patch
|
||
|
Patch1: %{name}-desktop.patch
|
||
|
Patch4: gnumeric-doc.patch
|
||
|
Patch5: gnumeric-autobuild-error.patch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Autoreqprov: on
|
||
|
|
||
|
%gconf_schemas_prereq
|
||
|
|
||
|
%description
|
||
|
Gnumeric is a spreadsheet application with advanced features and
|
||
|
analytics. It aims to minimize the cost of transition from proprietary
|
||
|
spreadsheets by offering a familiar look and feature set. In addition
|
||
|
to read and write support for all versions of Microsoft Excel
|
||
|
(including reading encrypted files), there is also support for many
|
||
|
other formats including:
|
||
|
|
||
|
*Applix 4 and 5 *DIF *Lotus-123 (wk1, wk2, wk3) *OpenOffice.org (Oasis)
|
||
|
*PlanPerfect (pln) *Psion5 *Quattro Pro (wb1, wb2, wb3) *SYLK
|
||
|
*XBase/DB3
|
||
|
|
||
|
Text formats, such as comma or tab separated values, HTML, XHTML, and
|
||
|
Latex, are supported and there are powerful assistants to handle custom
|
||
|
needs.
|
||
|
|
||
|
Gnumeric is part of the GNOME project.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Miguel de Icaza, creator.
|
||
|
Jody Goldberg, maintainer.
|
||
|
Sean Atkinson, functions and X-Base importing.
|
||
|
Michel Berkelaar, Simplex algorithm for Solver (LP Solve).
|
||
|
Grandma Chema Celorio, Tester and sheet copy.
|
||
|
Frank Chiulli, OLE support.
|
||
|
Kenneth Christiansen, i18n, misc stuff.
|
||
|
Zbigniew Chyla, plugin system, i18n.
|
||
|
J.H.M. Dassen (Ray), debian packaging.
|
||
|
Jeroen Dirks, Simplex algorithm for Solver (LP Solve).
|
||
|
Tom Dyas, plugin support.
|
||
|
Gergo Erdi, Gnumeric hacker.
|
||
|
John Gotts, rpm packaging.
|
||
|
Andreas J. Guelzow, Gnumeric hacker.
|
||
|
Jon K. Hellan, Gnumeric hacker.
|
||
|
Ross Ihaka, special functions.
|
||
|
Jukka-Pekka Iivonen, numerous functions and tools.
|
||
|
Jakub Jelinek, Gnumeric hacker.
|
||
|
Chris Lahey, number format engine.
|
||
|
Adrian Likins, documentation, debugging.
|
||
|
Takashi Matsuda, original text plugin.
|
||
|
Michael Meeks, Excel and OLE2 importing.
|
||
|
Lutz Muller, SheetObject improvements.
|
||
|
Federico M. Quintero, canvas support.
|
||
|
Mark Probst, Guile support.
|
||
|
Rasca, HTML, troff, LaTeX exporters.
|
||
|
Vincent Renardias, original CSV support, French localization.
|
||
|
Ariel Rios, Guile support.
|
||
|
Arturo Tena, OLE support.
|
||
|
Almer S. Tigelaar, Gnumeric hacker.
|
||
|
Bruno Unna, Excel bits.
|
||
|
Daniel Veillard, XML support.
|
||
|
Vladimir Vuksan, financial functions.
|
||
|
Morten Welinder, Gnumeric hacker and leak plugging demi-god.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch -p1
|
||
|
%patch1
|
||
|
%patch4 -p1
|
||
|
%patch5
|
||
|
rm po/no.*
|
||
|
sed -i "/en_GB/s/ no / /" configure.in
|
||
|
# FIXME: Following files are apparently compiled without RPM_OPT_FLAGS:
|
||
|
# boot.c,perl-loader.c,perl-gnumeric.c,xsinit.c,boot.c,perl-gnumeric.c,xsinit.c,perl-loader.c
|
||
|
|
||
|
%build
|
||
|
autoreconf -f -i
|
||
|
# needed for gnumeric-1.6.3:
|
||
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||
|
# FIXME: Build as root modifies system!
|
||
|
# gnumeric-1.6.3: --disable-scrollkeeper does not work properly.
|
||
|
%configure\
|
||
|
--disable-scrollkeeper\
|
||
|
--libexecdir=%{_prefix}/lib/gnumeric\
|
||
|
--enable-ssindex
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
# gnumeric.keys contains strange MIME types. Ignore them.
|
||
|
DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime || true
|
||
|
# Library doesn't install headers, remove development file.
|
||
|
rm $RPM_BUILD_ROOT%{_libdir}/*.*a
|
||
|
%find_lang %{name}
|
||
|
%find_lang gnumeric-functions %{name}.lang
|
||
|
%find_gconf_schemas
|
||
|
cat %{name}.lang %{name}.schemas_list >%{name}.lst
|
||
|
rm -r $RPM_BUILD_ROOT%{_libdir}/gnumeric/*/plugins/*/*.*a $RPM_BUILD_ROOT%{_datadir}/mime-info
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%pre -f %{name}.schemas_pre
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
if test -x usr/bin/update-mime-database ; then
|
||
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||
|
fi
|
||
|
|
||
|
%posttrans -f %{name}.schemas_posttrans
|
||
|
|
||
|
%preun -f %{name}.schemas_preun
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
if test -x usr/bin/update-mime-database ; then
|
||
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
||
|
fi
|
||
|
|
||
|
%files -f %{name}.lst
|
||
|
%defattr(-, root, root)
|
||
|
%doc AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README ChangeLog OChangeLog*
|
||
|
%{_bindir}/*
|
||
|
%{_libdir}/bonobo/servers/*.server
|
||
|
%{_libdir}/*.so
|
||
|
%dir %{_libdir}/gnumeric
|
||
|
%dir %{_libdir}/gnumeric/*[^t]
|
||
|
%dir %{_libdir}/gnumeric/*/plugins
|
||
|
%dir %{_libdir}/gnumeric/*/plugins/*
|
||
|
%{_libdir}/gnumeric/*/plugins/*/*.so
|
||
|
%{_libdir}/gnumeric/*/plugins/*/*.xml
|
||
|
%{_libdir}/gnumeric/*/plugins/*/*.py
|
||
|
%{_libdir}/gnumeric/*/plugins/*/*.pl
|
||
|
%{_libdir}/gnumeric/*/plugins/gnome-glossary/glossary-po-header
|
||
|
%{_datadir}/applications/*.desktop
|
||
|
%{_datadir}/gnumeric
|
||
|
%{_datadir}/pixmaps/*.png
|
||
|
%{_datadir}/pixmaps/*.ico
|
||
|
%{_datadir}/pixmaps/gnumeric
|
||
|
# Own directories to not depend on mc
|
||
|
%dir %{_datadir}/mc
|
||
|
%dir %{_datadir}/mc/templates
|
||
|
%{_datadir}/mc/templates/gnumeric.desktop
|
||
|
%{_datadir}/mime/packages/*.xml
|
||
|
%{_datadir}/omf/gnumeric
|
||
|
%{_mandir}/man?/*.*
|
||
|
|
||
|
%changelog -n gnumeric
|
||
|
* Thu Jan 04 2007 - sbrabec@suse.cz
|
||
|
- Prefix changed to /usr.
|
||
|
- Spec file cleanup.
|
||
|
* Sat Nov 18 2006 - stbinner@suse.de
|
||
|
- fix Name entry of .desktop file (remove GenericName dupe part)
|
||
|
* Fri Oct 27 2006 - jhargadon@suse.de
|
||
|
- added a symlink for the help files in the specfile for bug
|
||
|
[#142827]
|
||
|
* Wed Sep 27 2006 - jhargadon@suse.de
|
||
|
- update to version 1.6.3
|
||
|
- Fix exporting of scaled axes. [#332012]
|
||
|
- Backport duping sheet props when sheet is duped
|
||
|
- Adding an autofilter dirties the sheet
|
||
|
- Fix xls import of pie outlines
|
||
|
- Implement xml and xls saving/loading of "protected" attribute
|
||
|
- many bug fixes
|
||
|
* Thu Aug 31 2006 - gekker@suse.de
|
||
|
- Remove unnecessary gal2-devel from BuildRequires
|
||
|
* Wed Aug 16 2006 - cthiel@suse.de
|
||
|
- buildrequire python-gtk-devel instead of python-gtk
|
||
|
* Wed Aug 16 2006 - ro@suse.de
|
||
|
- added python-gobject2-devel to BuildRequires
|
||
|
* Sun Feb 05 2006 - jpr@suse.de
|
||
|
- run ldconfig in post/postun for libspreadsheet
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue Dec 20 2005 - ro@suse.de
|
||
|
- get translations for gnumeric-functions as well
|
||
|
* Wed Nov 16 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 1.6.1.
|
||
|
* Fri Nov 04 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 1.6.0.
|
||
|
* Mon Sep 12 2005 - gekker@suse.de
|
||
|
- Patch version 1.4.3 to work with libgsf-1.12.1 (116579)
|
||
|
- This patch supercedes the fix-build patch
|
||
|
* Sun Aug 07 2005 - adrian@suse.de
|
||
|
- fix build
|
||
|
* Thu Jul 07 2005 - schwab@suse.de
|
||
|
- Fix #nfb.
|
||
|
- Fix uninitialized variable.
|
||
|
* Mon Mar 14 2005 - jody@suse.de
|
||
|
- upstream 1.4.3
|
||
|
- enable ssindex
|
||
|
* Thu Feb 17 2005 - ke@suse.de
|
||
|
- Fix gnumeric.xml and included files; [# 50960].
|
||
|
- Provide a link to /opt/gnome/share/gnumeric/1.4.2/doc to make the
|
||
|
documentation files visible to the help system (yelp) - probably
|
||
|
superfluous; [# 50960].
|
||
|
* Tue Feb 01 2005 - sbrabec@suse.cz
|
||
|
- Fixed packlist path.
|
||
|
* Mon Jan 31 2005 - sbrabec@suse.cz
|
||
|
- Fixed missing declaration.
|
||
|
- Fixed perl support detection.
|
||
|
* Thu Jan 20 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 1.4.2.
|
||
|
* Wed Dec 15 2004 - hvogel@suse.de
|
||
|
- fix desktop file
|
||
|
- there is nothing in libexecdir so dont package it
|
||
|
* Tue Dec 14 2004 - jody@suse.de
|
||
|
- Add scrollkeeper as a build req and handle the fallout
|
||
|
* Fri Dec 10 2004 - jody@suse.de
|
||
|
- Updated to 1.4.1
|
||
|
- Include ssindex for beagle
|
||
|
- rich text
|
||
|
- xls chart export
|
||
|
- more accuracy
|
||
|
- full array expression support
|
||
|
* Wed Nov 24 2004 - ro@suse.de
|
||
|
- make specfile rpm-3 compliant (quote non-numeric if arguments)
|
||
|
* Tue Nov 02 2004 - ro@suse.de
|
||
|
- locale rename: no -> nb
|
||
|
* Tue Oct 12 2004 - sbrabec@suse.cz
|
||
|
- Fixed libexecdir for bi-arch (#47050).
|
||
|
* Tue Sep 07 2004 - sbrabec@suse.cz
|
||
|
- Generated shared mime info.
|
||
|
* Fri Jun 25 2004 - jody@suse.de
|
||
|
- Updated to 1.2.13
|
||
|
* Fri May 07 2004 - clahey@suse.de
|
||
|
- Updated to version 1.2.12.
|
||
|
- Added patch gnumeric-pro-fonts.patch.
|
||
|
* Thu Mar 18 2004 - sbrabec@suse.cz
|
||
|
- Updated to version 1.2.8 (#36348, #32861).
|
||
|
* Mon Mar 15 2004 - sbrabec@suse.cz
|
||
|
- FHS 2.3 fix (mandir, infodir, #35821).
|
||
|
* Wed Mar 10 2004 - sbrabec@suse.cz
|
||
|
- Fixed gconf schemas installation (#33114).
|
||
|
- Fixed %%doc attributes (#33163).
|
||
|
- Use %%find_lang.
|
||
|
* Mon Mar 08 2004 - hhetter@suse.de
|
||
|
- use gdk-pixbuf-query-loaders-64 on 64bit architectures
|
||
|
* Fri Feb 20 2004 - sbrabec@suse.cz
|
||
|
- Package renamed to gnumeric.
|
||
|
* Thu Feb 12 2004 - hhetter@suse.de
|
||
|
- gconf schema (de-)installation in %%post and %%postun
|
||
|
* Wed Feb 11 2004 - hhetter@suse.de
|
||
|
- updated to version 1.2.6
|
||
|
* Tue Jan 20 2004 - hhetter@suse.de
|
||
|
- updated to version 1.2.5
|
||
|
* Tue Oct 28 2003 - ro@suse.de
|
||
|
- added gtksourceview to neededforbuild
|
||
|
* Mon Oct 27 2003 - sbrabec@suse.cz
|
||
|
- Updated to version 1.2.1.
|
||
|
- Do not obsolete Guppi.
|
||
|
* Thu Oct 16 2003 - ro@suse.de
|
||
|
- re-enable python stuff on x86_64 and ppc64 (seems fixed)
|
||
|
* Thu Oct 16 2003 - ro@suse.de
|
||
|
- fix "file listed twice"
|
||
|
* Mon Sep 22 2003 - sbrabec@suse.cz
|
||
|
- Obsolete guppi1.
|
||
|
* Tue Sep 16 2003 - sbrabec@suse.cz
|
||
|
- Provide and obsolete gnumeric (bug #30989).
|
||
|
* Thu Sep 04 2003 - ro@suse.de
|
||
|
- python stuff can't build on lib64 (strange enough that linking
|
||
|
a plugin with static libpython works elsewhere ...)
|
||
|
so remove these files from filelist on x86_64 and ppc64
|
||
|
* Tue Aug 26 2003 - sbrabec@suse.cz
|
||
|
- Re-enabled python support.
|
||
|
* Tue Aug 26 2003 - ro@suse.de
|
||
|
- update filelist
|
||
|
* Mon Aug 25 2003 - sbrabec@suse.cz
|
||
|
- Updated to version 1.1.20.
|
||
|
* Mon Aug 18 2003 - sbrabec@suse.cz
|
||
|
- Use libgda instead of libgda2 (package was renamed).
|
||
|
* Thu Aug 07 2003 - sbrabec@suse.cz
|
||
|
- Not use globbing for schemas in %%files.
|
||
|
* Tue Jul 29 2003 - hhetter@suse.de
|
||
|
- disable python support
|
||
|
* Thu Jul 24 2003 - hhetter@suse.de
|
||
|
- build with libtiff
|
||
|
* Mon Jul 14 2003 - sbrabec@suse.cz
|
||
|
- GNOME prefix change to /opt/gnome.
|
||
|
* Tue Jul 01 2003 - ro@suse.de
|
||
|
- updated filelist
|
||
|
- added directories
|
||
|
* Mon Jun 09 2003 - sbrabec@suse.cz
|
||
|
- Updated to version 1.1.19.
|
||
|
* Wed Jun 04 2003 - sbrabec@suse.cz
|
||
|
- Initial SuSE version of GNOME2 port.
|