gnumeric/gnumeric.spec

496 lines
18 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gnumeric (Version 1.8.2)
#
# Copyright (c) 2008 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 fdupes gnutls-devel goffice-devel gtk2-devel gtksourceview18-devel indent intltool libgnomedb-devel libgnomeprintui-devel libidl libtiff-devel libwnck-devel pcre-devel perl-XML-Parser psiconv-devel python-devel python-gtk-devel scrollkeeper shared-mime-info update-desktop-files
License: GPL v2 or later
Group: Productivity/Office/Spreadsheets
Provides: gnumeric2
Obsoletes: gnumeric2
Summary: Spreadsheet Application
Version: 1.8.2
Release: 1
Source: ftp://ftp.gnome.org/pub/gnome/sources/gnumeric/1.8/gnumeric-%{version}.tar.bz2
Url: http://www.gnumeric.org/
Patch: gnumeric-pro-fonts.patch
Patch4: gnumeric-doc.patch
Patch5: gnumeric-autobuild-error.patch
Requires: %{name}-lang = %{version}
# Required by gnumeric-pro-fonts.patch:
Requires: agfa-fonts
# For perl-func plugin
Recommends: perl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
%package devel
License: GPL v2 or later
Summary: Spreadsheet Application
Group: Productivity/Office/Spreadsheets
Provides: gnumeric:/usr/include/libspreadsheet-1-7/application.h
Requires: %{name} = %{version} goffice-devel libgnomeprint-devel glib2-devel
%description devel
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.
%lang_package
%prep
%setup -q
%patch -p1
%patch4 -p1
%patch5
# 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
intltoolize --force
# 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
# --enable-pdfdocs
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# FIXME: Build as root modifies system!
# gnumeric-1.6.3: --disable-scrollkeeper does not work properly.
rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
# 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
%suse_update_desktop_file -r -N Gnumeric %{name} Office Spreadsheet GNOME GTK
%find_lang %{name}
%find_lang gnumeric-functions %{name}.lang
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
rm -r $RPM_BUILD_ROOT%{_libdir}/gnumeric/*/plugins/*/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/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
/sbin/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}/*.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
#%{_datadir}/mime/packages/*.xml
%{_datadir}/omf/gnumeric
%{_mandir}/man?/*.*
%files lang -f %{name}.lang
%files devel
%defattr(-, root, root)
%{_includedir}/libspreadsheet*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/gnumeric/*/include
%changelog
* Wed Apr 02 2008 sbrabec@suse.cz
- Updated to version 1.8.2:
* many bug fixes
* memory leak fixes
* several new features, see NEWS for details
* Thu Mar 06 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Thu Nov 08 2007 mauro@suse.de
- Fixed gcc 4.3 issues for beta.
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Fri Aug 03 2007 jpr@suse.de
- Update to 1.7.11
- Save and restore default paper, margins and various other print
settings
- Handle differences in page setup between sheets when printing
multiple sheets
- Fix handling of "print even if only style". (BGO #438743)
- Implement printing of row and column headers
- Fix saving of null header/footer items (BGO #449836)
- Fix TINV for large degree of freedom
- Fix check for long double support in goffice.
- Import legend and axis labels fonts from excel in charts. (BGO #437858)
- Fix performance issues in float_range_function2 and fn-tsa plugin.
- Fix drawing of large cursor while sheet scrolls. (BGO #444610)
- Fix drawing of merged cells in RTL. (BGO #442463), [442467)
- Fix editing in RTL, and for merged cells.
- Properties to store fine tuned capabilities in protected sheets.
- Read/Write of protected sheet capabilities for XLS/XLSX.
- Move the OpenPkg support code into libgsf from our xlsx plugin.
- Fix placement of validation combo in merged cells.
- Eval validation functions as arrays.
- Make Morten's pdf exporter available from gnumeric too.
- Start to implement limits to selection in protected sheets.
- Handle array expressions in SYLK importer.
- ODF import/export for hidden and RTL sheets.
- Fix redraw of spanning cells when toggling RTL.
- Work around ODF's lack of a default col/row style.
- Fix crash in t-test. (BGO #450676).
- Sylk import support for arrays, and encoding.
- Sylk export.
- Configurability for which direction <Enter> moves.
- Calc property import/export for xlsx.
- Update validation combo moving between identical styles. (BGO #453525)
- Patch the problems found by coverity.
- Fix win32 docs. (BGO #443726)
- Be more flexible about range relocation for ins/del cells. (BGO #439347)
- Make ssconvert able to export to pdf. (BGO #381965)
- Fix loading of tab text colour. (BGO #437743)
- Improve handling of foreign recently-used files. (BGO #438918)
- Improve save-on-exit dialog.
- Fix potentially confusing save-in-wrong-format-on-exit bug.
- Tentatively fix issue with recent Pango. (BGO #440514)
- Provide good mime type for recent documents.
- Fix localized-format problem in cell format dialog. (BGO #442657)
- Fix R1C1 problem. (BGO #443832)
- Fix performance problem when selecting large areas. (BGO #445617)
- Fix loading/saving of R1C1 attribute. (BGO #448714)
- Fix overflow problem when int!=long. (BGO #458158)
- Fix the inline documentation for python addins. (BGO #412804)
- Reimplement scaling
- Save orientation
- Show paper preview
- Show unit selector in print dialog
- Add margin adjustments
- New Time Series Analysis plugin.
- Fix inadvertent relocation of reference on other sheets. (BGO #433907)
- Remove upstreamed patches
- Use %%suse_update_desktop_file instead of a patch
- Fix categories (#258281)
- goffice plugin is no longer built by upstream
* Tue Jul 10 2007 maw@suse.de
- Update to version 1.7.9, which:
- Switches from gtk print to gnome print
- Imports and exports inline arrays in ODF
- Exports cell comments to xls
- Fixes the following bugs against bugzilla.gnome.org: #415007,
[#414815], #308562, #417632, #115112, #67453], #418868, #423603,
[#421678], #427019, and #152584.
* Thu Jun 07 2007 sbrabec@suse.cz
- Fixed deskop file translation.
- Fixed devel dependencies.
- Removed invalid desktop Category "Application" (#254654).
* Fri May 25 2007 ro@suse.de
- branch off devel package
* Wed Mar 07 2007 jhargadon@suse.de
- update to version 1.7.6
- Implement sax import of sheet objects.
- Implement List and Combo objects.
- XLSX support for import and export of autofilters
- Improve number formatting
- Put the style feedback onto an idle handle to improve cursor
responsiveness.
- Improve autofill/validation combos.
- Add automatic test framework
- Rewrite expression relocation logic.
- Add accelerator (Alt-=) for auto-sum.
- Make paytype handler more flexible.
- Add accelerator for group/ungroup and inc/dec indent
- Make clipboard faster
- Add more conditional format types
- New look for col/row headers
- many bug fixes
* Wed Jan 17 2007 sbrabec@suse.cz
- Removed obsolete scrollkeeper directory (#230786).
* 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]
* Thu Sep 28 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.