2007-01-10 17:43:40 +01:00
|
|
|
#
|
2011-04-29 00:15:43 +02:00
|
|
|
# spec file for package gnumeric
|
2007-01-10 17:43:40 +01:00
|
|
|
#
|
2013-01-04 09:42:27 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 17:43:40 +01:00
|
|
|
#
|
2008-09-06 05:56:54 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 17:43:40 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-03-07 21:55:27 +01:00
|
|
|
|
2007-01-10 17:43:40 +01:00
|
|
|
Name: gnumeric
|
2013-09-01 11:36:56 +02:00
|
|
|
Version: 1.12.6
|
2012-01-19 08:52:46 +01:00
|
|
|
Release: 0
|
2010-01-22 14:17:09 +01:00
|
|
|
Summary: Spreadsheet Application
|
2012-04-29 16:13:58 +02:00
|
|
|
License: GPL-2.0 or GPL-3.0
|
2010-01-22 14:17:09 +01:00
|
|
|
Group: Productivity/Office/Spreadsheets
|
2012-01-19 08:52:46 +01:00
|
|
|
Url: http://www.gnumeric.org/
|
2013-01-07 18:44:15 +01:00
|
|
|
Source0: http://download.gnome.org/sources/gnumeric/1.12/%{name}-%{version}.tar.xz
|
2009-03-12 14:28:13 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
2010-03-05 11:44:36 +01:00
|
|
|
BuildRequires: libgsf-devel
|
2009-03-12 14:28:13 +01:00
|
|
|
BuildRequires: psiconv-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: scrollkeeper
|
2009-10-27 16:31:32 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-09-06 05:56:54 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2012-01-20 10:13:00 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
|
2013-04-01 14:18:39 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.0.0
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.2.0
|
2013-08-24 18:59:32 +02:00
|
|
|
BuildRequires: pkgconfig(libgda-5.0) >= 5.0.0
|
|
|
|
BuildRequires: pkgconfig(libgda-ui-5.0) >= 5.0.0
|
2013-06-29 13:31:44 +02:00
|
|
|
BuildRequires: pkgconfig(libgoffice-0.10) >= 0.10.3
|
2012-09-25 22:44:23 +02:00
|
|
|
BuildRequires: pkgconfig(libgsf-1) >= 1.14.24
|
2012-03-11 19:59:39 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
2012-01-20 10:13:00 +01:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.24.0
|
|
|
|
BuildRequires: pkgconfig(pangocairo) >= 1.24.0
|
2012-09-25 22:44:23 +02:00
|
|
|
BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0
|
2011-02-13 21:55:37 +01:00
|
|
|
Recommends: %{name}-lang
|
2012-01-19 08:52:46 +01:00
|
|
|
Recommends: ghostscript-fonts-std
|
|
|
|
Recommends: liberation-fonts
|
2012-07-26 09:08:41 +02:00
|
|
|
# gnumeric uses a ghelp: URI to launch the help application. Let's recommend to have an app that can handle it (bnc#719679)
|
|
|
|
Recommends: mimehandler(x-scheme-handler/ghelp)
|
2010-01-22 14:17:09 +01:00
|
|
|
Provides: gnumeric2 = %{version}
|
|
|
|
Obsoletes: gnumeric2 < %{version}
|
2007-01-10 17:43:40 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-01-04 09:39:22 +01:00
|
|
|
%{perl_requires}
|
2007-01-10 17:43:40 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2007-05-25 02:07:20 +02:00
|
|
|
%package devel
|
|
|
|
Summary: Spreadsheet Application
|
|
|
|
Group: Productivity/Office/Spreadsheets
|
2012-01-19 08:52:46 +01:00
|
|
|
Requires: %{name} = %{version}
|
2007-05-25 02:07:20 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2007-08-09 19:15:43 +02:00
|
|
|
%lang_package
|
2007-01-10 17:43:40 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-07-18 16:37:45 +02:00
|
|
|
translation-update-upstream
|
|
|
|
translation-update-upstream po-functions gnumeric-functions
|
2011-10-26 06:52:59 +02:00
|
|
|
# remove incomplete translations caused by translation-update-upstream (global LINGUAS file, two domains)
|
|
|
|
for LNG in po/*.po ; do
|
|
|
|
LNG=`basename ${LNG%%.po}`
|
|
|
|
if ! test -f po-functions/$LNG.po ; then
|
|
|
|
echo "Removing incomplete $LNG from LINGUAS."
|
|
|
|
sed -i "/^$LNG\$/d" po/LINGUAS
|
|
|
|
fi
|
|
|
|
done
|
2007-01-10 17:43:40 +01:00
|
|
|
|
|
|
|
%build
|
2012-01-19 08:52:46 +01:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2007-01-10 17:43:40 +01:00
|
|
|
%configure\
|
|
|
|
--disable-scrollkeeper\
|
2009-03-12 14:28:13 +01:00
|
|
|
--disable-static\
|
2009-03-26 01:49:32 +01:00
|
|
|
--enable-ssindex
|
2008-04-03 00:14:51 +02:00
|
|
|
# --enable-pdfdocs
|
2012-01-19 08:52:46 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-10 17:43:40 +01:00
|
|
|
|
|
|
|
%install
|
2012-01-19 08:52:46 +01:00
|
|
|
%make_install
|
2007-01-18 01:31:26 +01:00
|
|
|
# FIXME: Build as root modifies system!
|
2012-01-19 08:52:46 +01:00
|
|
|
# gnumeric-1.6.3: --disable-scrollkeeper does not work properly.
|
2012-01-20 10:13:00 +01:00
|
|
|
rm -r %{buildroot}%{_localstatedir}/scrollkeeper
|
|
|
|
%suse_update_desktop_file -r %{name} Office Spreadsheet GNOME GTK
|
2013-05-04 14:41:16 +02:00
|
|
|
%find_lang %{name}-%{version} %{?no_lang_C} %{name}.lang
|
|
|
|
%find_lang gnumeric-%{version}-functions %{?no_lang_C} %{name}.lang
|
2012-01-19 08:52:46 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
2007-08-09 19:15:43 +02:00
|
|
|
|
2007-01-10 17:43:40 +01:00
|
|
|
%clean
|
2012-01-19 08:52:46 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 17:43:40 +01:00
|
|
|
|
|
|
|
%post
|
2007-08-09 19:15:43 +02:00
|
|
|
/sbin/ldconfig
|
2011-04-29 00:15:43 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2011-02-13 21:55:37 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2009-07-31 19:44:54 +02:00
|
|
|
|
2007-01-10 17:43:40 +01:00
|
|
|
%postun
|
2007-08-09 19:15:43 +02:00
|
|
|
/sbin/ldconfig
|
2011-04-29 00:15:43 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-02-13 21:55:37 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2007-01-10 17:43:40 +01:00
|
|
|
|
2012-01-19 08:52:46 +01:00
|
|
|
%files
|
2007-01-10 17:43:40 +01:00
|
|
|
%defattr(-, root, root)
|
2012-04-29 16:13:58 +02:00
|
|
|
%doc AUTHORS BEVERAGES BUGS COPYING COPYING-gpl2 COPYING-gpl3 HACKING MAINTAINERS NEWS README ChangeLog OChangeLog*
|
2011-02-13 21:55:37 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
|
|
|
%dir %{_datadir}/omf/
|
|
|
|
%dir %{_datadir}/omf/%{name}/
|
|
|
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
2007-01-10 17:43:40 +01:00
|
|
|
%{_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
|
2012-01-20 10:13:00 +01:00
|
|
|
%{_libdir}/goffice/*/plugins/gnumeric/
|
|
|
|
%{_datadir}/applications/gnumeric.desktop
|
2011-04-29 01:08:10 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.dialogs.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.gschema.xml
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.plugin.gschema.xml
|
|
|
|
%{_datadir}/gnumeric/
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnumeric.*
|
2007-01-10 17:43:40 +01:00
|
|
|
%{_datadir}/pixmaps/*.png
|
2012-01-20 10:13:00 +01:00
|
|
|
%{_datadir}/pixmaps/win32-gnumeric.ico
|
2011-04-29 01:08:10 +02:00
|
|
|
%{_datadir}/pixmaps/gnumeric/
|
2007-01-10 17:43:40 +01:00
|
|
|
%{_mandir}/man?/*.*
|
2007-05-25 02:07:20 +02:00
|
|
|
|
2007-08-09 19:15:43 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-05-25 02:07:20 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2011-04-29 01:08:10 +02:00
|
|
|
%{_includedir}/libspreadsheet-*/
|
|
|
|
%{_libdir}/pkgconfig/libspreadsheet-*.pc
|
2008-03-07 21:55:27 +01:00
|
|
|
|
2007-03-07 01:51:04 +01:00
|
|
|
%changelog
|