From 55f2dd320c710886fffb0ccc9795a4607819f1de21f6c9bf6659c2ad59cffe24 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 28 Apr 2011 22:15:43 +0000 Subject: [PATCH 1/3] Accepting request 67734 from home:dimstar:branches:GNOME:Apps Update to 1.10.14 OBS-URL: https://build.opensuse.org/request/show/67734 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=36 --- _service | 10 + ...vice:download_url:gnumeric-1.10.14.tar.bz2 | 3 + _service:set_version:gnumeric.spec | 205 ++++++++++++++++++ gnumeric-1.10.12.tar.bz2 | 3 - gnumeric.changes | 83 +++++++ gnumeric.spec | 11 +- 6 files changed, 308 insertions(+), 7 deletions(-) create mode 100644 _service create mode 100644 _service:download_url:gnumeric-1.10.14.tar.bz2 create mode 100644 _service:set_version:gnumeric.spec delete mode 100644 gnumeric-1.10.12.tar.bz2 diff --git a/_service b/_service new file mode 100644 index 0000000..d07dfed --- /dev/null +++ b/_service @@ -0,0 +1,10 @@ + + + http + ftp.gnome.org + /pub/gnome/sources/gnumeric/1.10/gnumeric-1.10.14.tar.bz2 + + + _service:download_url:gnumeric + + diff --git a/_service:download_url:gnumeric-1.10.14.tar.bz2 b/_service:download_url:gnumeric-1.10.14.tar.bz2 new file mode 100644 index 0000000..e4fa555 --- /dev/null +++ b/_service:download_url:gnumeric-1.10.14.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b655fa76dd2e6654b8543fbcd92982e9fdcb4c0ae113aa577ce114109deb1587 +size 18580112 diff --git a/_service:set_version:gnumeric.spec b/_service:set_version:gnumeric.spec new file mode 100644 index 0000000..58d7fdf --- /dev/null +++ b/_service:set_version:gnumeric.spec @@ -0,0 +1,205 @@ +# +# 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.14 +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\ + --libexecdir=%{_prefix}/lib/gnumeric\ + --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}/gnumeric +%{_datadir}/pixmaps/*.png +%{_datadir}/pixmaps/*.ico +%{_datadir}/pixmaps/gnumeric +%{_datadir}/icons/hicolor/*/apps/gnumeric.* +%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.* +%{_mandir}/man?/*.* + +%files lang -f %{name}.lang + +%files devel +%defattr(-, root, root) +%{_includedir}/libspreadsheet* +%{_libdir}/pkgconfig/*.pc + +%changelog diff --git a/gnumeric-1.10.12.tar.bz2 b/gnumeric-1.10.12.tar.bz2 deleted file mode 100644 index beca1ac..0000000 --- a/gnumeric-1.10.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7ea3684c1d070f743928503a23649ff3e8b209bf8832498771a82b43b5b7cdd -size 18292380 diff --git a/gnumeric.changes b/gnumeric.changes index f3ecc9c..f733d58 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Mon Apr 18 15:32:56 UTC 2011 - dimstar@opensuse.org + +- Update to 1.10.14: + + bgo#641626: Fix width of translated lists in various dialogs + + bgo#641355: Allow function tooltips to be closed temporarily + + bgo#640701: Import & export list validation from and to ODF + files. + + Minor histogram improvements. + + bgo#642850: Fix import of LibreOffice created xlsx files using + shared formulas. + + bgo#642850: Fix crash on resaving LibreOffice created xlsx + files with unauthored comments. + + bgo#395631: Trigger configurable text importer on paste of tabs + + bgo#643971: Fix ctrl-end in presence of hidden rows. + + bgo#644189: Fix import of dbf files with more than 65536 rows. + + Export workbook-scoped named expressions and ranges to ODF. + + Improve reading of named expressions from ODF files. + + bgo#645722: Fix weighted and Spencer moving averages crashes. + + bgo#641709: Fix cursor position inside a cell edited in a + zoomed sheet. + + Add GSettings schemas. + + bgo#643814: Import multiple runs chart titles from xlsx. + + bgo#642941: Import axis crossing position from xlsx. + + bgo#641581: Import wide sc files. + + bgo#613273: Fix problem with single-cell names and 'r'-type + arguments. + + Plug memory leaks. + + Fix potential crash on quick exit. + + bgo#642477: Fix stf import problem diagnosed by Andreas. + + Restore toolbar positioning code. + + rh#680572: Fix xml reading of constraints. + + Fix lpsolve/glpk writing of affine part. + + bgo#643808: Fix xlsx import crash. + + bgo#643815: Import sheet visibility from xlsx. + + bgo#643874: Import names from xlsx. + + bgo#644189: Improve dbf codepage support. + + bgo#644217: Improve date format consistency in document + properies. + + bgo#533795: Hopefully make print preview work on win32. + + bgo#644982: Improve quit dialog's non-ascii handling. + + bgo#533795: Make print-preview work on win32 by avoiding gtk+. + + bgo#645209: Fix crash related to dynamic deps. + + bgo#645555: Fix stf import crash. + + bgo#645287: Allow templates for multi-sheet ssconvert. + + Improve "dif" output. +- Add glib2_gsettings_schema_{post,postun} scripts to post/postun. +- Convert to source service: download tar.bz2 file and update .spec + file with correct version. +------------------------------------------------------------------- +Sun Mar 20 19:20:08 CET 2011 - dimstar@opensuse.org + +- Update to version 1.10.13: + + bgo#635064: Calculate residuals when using the regression tool. + + Permit data entry by-passing autocorrection. + + bgo#636131: Work around OpenOffice date formatting bugs. + + bgo#636158: Export text formats to and import from ODF. + + bgo#636968: Fix ODF import of sheets with far forward + references. + + Add EEK support to EURO and EUROCONVERT. + + Fix leaks in potentially failing analysis tools. + + bgo#639019: Make the row and column headers and selection match + the theme better. + + bgo#638874: Fix locale specific sorting. + + bgo#639086: Ensure we have sub- and sperscript icons. + + bgo#639444: Fix advanced filter. + + bgo#638832: Suppress function tooltips on text-formatted cells. + + bgo#640344: Fix documentation of ATAN2. + + bgo#636031: Only disable the formula bar when a chart sheet is + selected. + + bgo#637393: Make sheet objects invisible outline from .xls + files persistent. + + bgo#637453: Fixed arrows and line object position when zoomed. + + bgo#637658: Fixed series lines color export to .xls. + + bgo#637739: Fixed sheet objects position on zoomed sheets. + + bgo#639287: Override edition-canceled property for GnmExprEntry + + bgo#633433: Fix array intersection problem with IF. + + Make sure columns are wide enough for dates in csv import. + + Plug a few leaks. + + Fix number-match issue regarding fraction. + + bgo#638776: Fix problems with pivot reading from xls. + + bgo#630247: Allow version-agnostic template files. + ------------------------------------------------------------------- Sat Feb 12 18:49:15 CET 2011 - vuntz@opensuse.org diff --git a/gnumeric.spec b/gnumeric.spec index b33cbb0..7462d2d 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -1,7 +1,7 @@ # -# spec file for package gnumeric (Version 1.10.12) +# spec file for package gnumeric # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -19,8 +19,8 @@ Name: gnumeric -Version: 1.10.12 -Release: 1 +Version: 0 +Release: 0 Summary: Spreadsheet Application License: GPLv2+ Url: http://www.gnumeric.org/ @@ -147,6 +147,7 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %if 0%{?suse_version} > 1130 +%glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %endif @@ -158,6 +159,7 @@ rm -rf $RPM_BUILD_ROOT %postun /sbin/ldconfig %if 0%{?suse_version} > 1130 +%glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %endif @@ -190,6 +192,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/*.ico %{_datadir}/pixmaps/gnumeric %{_datadir}/icons/hicolor/*/apps/gnumeric.* +%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.* %{_mandir}/man?/*.* %files lang -f %{name}.lang From 7744ec7ea168124339c193036a7b0169a8422ad42ff3c3352a4df29676410ca1 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 28 Apr 2011 23:08:10 +0000 Subject: [PATCH 2/3] Accepting request 68749 from home:vuntz:branches:GNOME:Apps tweak OBS-URL: https://build.opensuse.org/request/show/68749 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=37 --- ...vice:download_url:gnumeric-1.10.14.tar.bz2 | 3 - _service:set_version:gnumeric.spec | 205 ------------------ gnumeric.changes | 45 ++-- gnumeric.spec | 15 +- 4 files changed, 27 insertions(+), 241 deletions(-) delete mode 100644 _service:download_url:gnumeric-1.10.14.tar.bz2 delete mode 100644 _service:set_version:gnumeric.spec diff --git a/_service:download_url:gnumeric-1.10.14.tar.bz2 b/_service:download_url:gnumeric-1.10.14.tar.bz2 deleted file mode 100644 index e4fa555..0000000 --- a/_service:download_url:gnumeric-1.10.14.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b655fa76dd2e6654b8543fbcd92982e9fdcb4c0ae113aa577ce114109deb1587 -size 18580112 diff --git a/_service:set_version:gnumeric.spec b/_service:set_version:gnumeric.spec deleted file mode 100644 index 58d7fdf..0000000 --- a/_service:set_version:gnumeric.spec +++ /dev/null @@ -1,205 +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.14 -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\ - --libexecdir=%{_prefix}/lib/gnumeric\ - --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}/gnumeric -%{_datadir}/pixmaps/*.png -%{_datadir}/pixmaps/*.ico -%{_datadir}/pixmaps/gnumeric -%{_datadir}/icons/hicolor/*/apps/gnumeric.* -%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.* -%{_mandir}/man?/*.* - -%files lang -f %{name}.lang - -%files devel -%defattr(-, root, root) -%{_includedir}/libspreadsheet* -%{_libdir}/pkgconfig/*.pc - -%changelog diff --git a/gnumeric.changes b/gnumeric.changes index f733d58..b8466de 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,52 +1,45 @@ +------------------------------------------------------------------- +Fri Apr 29 01:06:47 CEST 2011 - vuntz@opensuse.org + +- Do not pass --libexecdir to configure: it's not needed. + ------------------------------------------------------------------- Mon Apr 18 15:32:56 UTC 2011 - dimstar@opensuse.org - Update to 1.10.14: + bgo#641626: Fix width of translated lists in various dialogs + bgo#641355: Allow function tooltips to be closed temporarily - + bgo#640701: Import & export list validation from and to ODF - files. + Minor histogram improvements. - + bgo#642850: Fix import of LibreOffice created xlsx files using - shared formulas. - + bgo#642850: Fix crash on resaving LibreOffice created xlsx - files with unauthored comments. + bgo#395631: Trigger configurable text importer on paste of tabs + bgo#643971: Fix ctrl-end in presence of hidden rows. + bgo#644189: Fix import of dbf files with more than 65536 rows. - + Export workbook-scoped named expressions and ranges to ODF. - + Improve reading of named expressions from ODF files. - + bgo#645722: Fix weighted and Spencer moving averages crashes. + bgo#641709: Fix cursor position inside a cell edited in a - zoomed sheet. + zoomed sheet. + Add GSettings schemas. - + bgo#643814: Import multiple runs chart titles from xlsx. - + bgo#642941: Import axis crossing position from xlsx. + bgo#641581: Import wide sc files. + bgo#613273: Fix problem with single-cell names and 'r'-type - arguments. + arguments. + Plug memory leaks. - + Fix potential crash on quick exit. + bgo#642477: Fix stf import problem diagnosed by Andreas. + Restore toolbar positioning code. + rh#680572: Fix xml reading of constraints. + Fix lpsolve/glpk writing of affine part. - + bgo#643808: Fix xlsx import crash. - + bgo#643815: Import sheet visibility from xlsx. - + bgo#643874: Import names from xlsx. + bgo#644189: Improve dbf codepage support. + bgo#644217: Improve date format consistency in document - properies. + properies. + bgo#533795: Hopefully make print preview work on win32. + bgo#644982: Improve quit dialog's non-ascii handling. - + bgo#533795: Make print-preview work on win32 by avoiding gtk+. - + bgo#645209: Fix crash related to dynamic deps. - + bgo#645555: Fix stf import crash. + bgo#645287: Allow templates for multi-sheet ssconvert. + Improve "dif" output. -- Add glib2_gsettings_schema_{post,postun} scripts to post/postun. + + ODF import/export improvements (including bgo#640701). + + xlsx import improvements (bgo#642850, bgo#643814, + bgo#642941, bgo#643808, bgo#643815, bgo#643874). + + Fix crashes (bgo#642850, bgo#645722, bgo#645209, bgo#645555). +- Add GSettings schemas handling, with %glib2_gsettings_schema_* + macros. - Convert to source service: download tar.bz2 file and update .spec file with correct version. + ------------------------------------------------------------------- Sun Mar 20 19:20:08 CET 2011 - dimstar@opensuse.org @@ -56,20 +49,20 @@ Sun Mar 20 19:20:08 CET 2011 - dimstar@opensuse.org + bgo#636131: Work around OpenOffice date formatting bugs. + bgo#636158: Export text formats to and import from ODF. + bgo#636968: Fix ODF import of sheets with far forward - references. + references. + Add EEK support to EURO and EUROCONVERT. + Fix leaks in potentially failing analysis tools. + bgo#639019: Make the row and column headers and selection match - the theme better. + the theme better. + bgo#638874: Fix locale specific sorting. + bgo#639086: Ensure we have sub- and sperscript icons. + bgo#639444: Fix advanced filter. + bgo#638832: Suppress function tooltips on text-formatted cells. + bgo#640344: Fix documentation of ATAN2. + bgo#636031: Only disable the formula bar when a chart sheet is - selected. + selected. + bgo#637393: Make sheet objects invisible outline from .xls - files persistent. + files persistent. + bgo#637453: Fixed arrows and line object position when zoomed. + bgo#637658: Fixed series lines color export to .xls. + bgo#637739: Fixed sheet objects position on zoomed sheets. diff --git a/gnumeric.spec b/gnumeric.spec index 7462d2d..f46580b 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -120,7 +120,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure\ --disable-scrollkeeper\ --disable-static\ - --libexecdir=%{_prefix}/lib/gnumeric\ --enable-ssindex # --enable-pdfdocs make %{?jobs:-j%jobs} @@ -187,19 +186,21 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/gnumeric/*/plugins/gnome-glossary/glossary-po-header %{_libdir}/goffice/*/plugins/gnumeric %{_datadir}/applications/*.desktop -%{_datadir}/gnumeric +%{_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 -%{_datadir}/icons/hicolor/*/apps/gnumeric.* -%{_datadir}/glib-2.0/schemas/org.gnome.gnumeric.* +%{_datadir}/pixmaps/gnumeric/ %{_mandir}/man?/*.* %files lang -f %{name}.lang %files devel %defattr(-, root, root) -%{_includedir}/libspreadsheet* -%{_libdir}/pkgconfig/*.pc +%{_includedir}/libspreadsheet-*/ +%{_libdir}/pkgconfig/libspreadsheet-*.pc %changelog From a1f87baffcc19b893d347d737c327abd54cf270997bf4096281835482187cd89 Mon Sep 17 00:00:00 2001 From: OBS User _service Date: Fri, 29 Apr 2011 07:28:15 +0000 Subject: [PATCH 3/3] generated via source service OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=38 --- ...vice:download_url:gnumeric-1.10.14.tar.bz2 | 3 + _service:set_version:gnumeric.spec | 206 ++++++++++++++++++ 2 files changed, 209 insertions(+) create mode 100644 _service:download_url:gnumeric-1.10.14.tar.bz2 create mode 100644 _service:set_version:gnumeric.spec diff --git a/_service:download_url:gnumeric-1.10.14.tar.bz2 b/_service:download_url:gnumeric-1.10.14.tar.bz2 new file mode 100644 index 0000000..e4fa555 --- /dev/null +++ b/_service:download_url:gnumeric-1.10.14.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b655fa76dd2e6654b8543fbcd92982e9fdcb4c0ae113aa577ce114109deb1587 +size 18580112 diff --git a/_service:set_version:gnumeric.spec b/_service:set_version:gnumeric.spec new file mode 100644 index 0000000..181ef4f --- /dev/null +++ b/_service:set_version:gnumeric.spec @@ -0,0 +1,206 @@ +# +# 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.14 +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