Accepting request 73958 from GNOME:Apps

Update to 1.10.16 (forwarded request 73934 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/73958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnumeric?expand=0&rev=52
This commit is contained in:
Sascha Peilicke 2011-06-17 09:55:27 +00:00 committed by Git OBS Bridge
commit 1c6fec3b30
6 changed files with 21 additions and 221 deletions

View File

@ -1,10 +0,0 @@
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">ftp.gnome.org</param>
<param name="path">/pub/gnome/sources/gnumeric/1.10/gnumeric-1.10.15.tar.bz2</param>
</service>
<service name="set_version">
<param name="basename">_service:download_url:gnumeric</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4343a8e72bd19380d83ab5d4937388b2327e0dbb6187296e66dc7ca2d2b9025a
size 18577516

View File

@ -1,206 +0,0 @@
#
# spec file for package gnumeric
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnumeric
Version: 1.10.15
Release: 0
Summary: Spreadsheet Application
License: GPLv2+
Url: http://www.gnumeric.org/
Group: Productivity/Office/Spreadsheets
Source0: gnumeric-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: goffice-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libgda-devel
BuildRequires: libgsf-devel
BuildRequires: psiconv-devel
BuildRequires: python-devel
BuildRequires: python-gobject2-devel
BuildRequires: scrollkeeper
BuildRequires: shared-mime-info
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
Recommends: %{name}-lang
Recommends: liberation-fonts ghostscript-fonts-std
# For perl-func plugin
Recommends: perl
Provides: gnumeric2 = %{version}
Obsoletes: gnumeric2 < %{version}
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.
%package devel
License: GPLv2+
Summary: Spreadsheet Application
Group: Productivity/Office/Spreadsheets
Requires: %{name} = %{version} glib2-devel goffice-devel gtk2-devel libglade2-devel libgsf-devel libxml2-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.
%lang_package
%prep
%setup -q
translation-update-upstream
translation-update-upstream po-functions gnumeric-functions
# translation-update-upstream provides incomplete upstream translations
# from the upstream git. Remove them until upstream provides a fix. See
# po/LINGUAS for more.
if test -f po-functions/id.po ; then
echo "\"id\" locale removal in gnumeric.spec is obsolete. Please remove it."
else
sed -i '/^id$/d' po/LINGUAS
fi
if test -f po-functions/pa.po ; then
echo "\"pa\" locale removal in gnumeric.spec is obsolete. Please remove it."
else
sed -i '/^pa$/d' po/LINGUAS
fi
if test -f po-functions/zh_HK.po ; then
echo "\"zh_HK\" locale removal in gnumeric.spec is obsolete. Please remove it."
else
sed -i '/^zh_HK$/d' po/LINGUAS
fi
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-scrollkeeper\
--disable-static\
--enable-ssindex
# --enable-pdfdocs
make %{?jobs:-j%jobs}
%install
%makeinstall
# 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
%suse_update_desktop_file -r -N Gnumeric %{name} Office Spreadsheet GNOME GTK
%find_lang %{name} %{?no_lang_C}
%find_lang gnumeric-functions %{?no_lang_C} %{name}.lang
%find_gconf_schemas
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%if 0%{?suse_version} > 1130
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%endif
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%if 0%{?suse_version} > 1130
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README ChangeLog OChangeLog*
%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
%{_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
%{_libdir}/goffice/*/plugins/gnumeric
%{_datadir}/applications/*.desktop
%{_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.*
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/*.ico
%{_datadir}/pixmaps/gnumeric/
%{_mandir}/man?/*.*
%files lang -f %{name}.lang
%files devel
%defattr(-, root, root)
%{_includedir}/libspreadsheet-*/
%{_libdir}/pkgconfig/libspreadsheet-*.pc
%changelog

3
gnumeric-1.10.16.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:600787c6b2646e1bec78b36b7665bacd9d48fd99d21deae310002e11a82bbc86
size 19015295

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Jun 17 05:39:22 CEST 2011 - vuntz@opensuse.org
- Update to version 1.10.16:
+ Add exporter for ECMA-376 2nd edition.
+ Import and Export fixes for ODF
+ Import and Export fixes for xlsx
+ Switch to using goffice's complex math.
+ Fix leaks.
+ Some documentation improvements.
+ Bugs fixed: bgo#649714, bgo#649675, bgo#650941, bgo#651173,
bgo#646612, bgo#645580, bgo#644496, bgo#532635, bgo#652690,
bgo#652689, bgo#650761, bgo#650764, bgo#599901, bgo#651667.
- Stop using source service to download the tarball, as Factory
will move away from this.
-------------------------------------------------------------------
Sun May 22 16:59:06 UTC 2011 - dimstar@opensuse.org

View File

@ -19,8 +19,8 @@
Name: gnumeric
Version: 0
Release: 2
Version: 1.10.16
Release: 1
Summary: Spreadsheet Application
License: GPLv2+
Url: http://www.gnumeric.org/