forked from pool/gnumeric
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
29
771528ae54d8335957533291b89f87da812aca95.patch
Normal file
29
771528ae54d8335957533291b89f87da812aca95.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 771528ae54d8335957533291b89f87da812aca95 Mon Sep 17 00:00:00 2001
|
||||
From: Yaakov Selkowitz <yselkowi@redhat.com>
|
||||
Date: Fri, 26 Apr 2024 04:23:56 +0000
|
||||
Subject: [PATCH] Fix build with GCC 14
|
||||
|
||||
plugin-gda.c: In function 'open_connection':
|
||||
plugin-gda.c:330:61: error: passing argument 1 of 'gda_connection_open_from_dsn' from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
In file included from /usr/include/libgda-6.0/libgda/libgda.h:36:
|
||||
/usr/include/libgda-6.0/libgda/gda-connection.h:268:71: note: expected 'GdaDsnInfo *' {aka 'struct _GdaDsnInfo *'} but argument is of type 'gchar *' {aka 'char *'}
|
||||
---
|
||||
plugins/gda/plugin-gda.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plugins/gda/plugin-gda.c b/plugins/gda/plugin-gda.c
|
||||
index f8414f7e6..1a196e108 100644
|
||||
--- a/plugins/gda/plugin-gda.c
|
||||
+++ b/plugins/gda/plugin-gda.c
|
||||
@@ -327,7 +327,7 @@ open_connection (const gchar *dsn, const gchar *user, const gchar *password, Gda
|
||||
gchar *chosen_dsn = NULL, *auth_string = NULL;
|
||||
|
||||
if (query_connection_info (dsn, user, password, &chosen_dsn, &auth_string) && chosen_dsn) {
|
||||
- cnc = gda_connection_open_from_dsn (chosen_dsn, auth_string, options, &error);
|
||||
+ cnc = gda_connection_open_from_dsn_name (chosen_dsn, auth_string, options, &error);
|
||||
if (!cnc) {
|
||||
g_warning ("Libgda error: %s\n", error->message);
|
||||
g_error_free (error);
|
||||
--
|
||||
GitLab
|
||||
|
||||
19
_service
Normal file
19
_service
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/gnumeric.git</param>
|
||||
<param name="revision">@PARENT_TAG@</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">GNUMERIC_(\d+)_(\d+)_(\d+)(\+0)?</param>
|
||||
<param name="versionrewrite-replacement">\1.\2.\3</param>
|
||||
<!-- <param name="changesgenerate">enable</param> -->
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
|
||||
3
gnumeric-1.12.57.obscpio
Normal file
3
gnumeric-1.12.57.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dc644e04adef6b49f22234af8bae9a6324e2138be0c48d36ed6ae9f7d803be5
|
||||
size 142337550
|
||||
7
gnumeric-rpmlintrc
Normal file
7
gnumeric-rpmlintrc
Normal file
@@ -0,0 +1,7 @@
|
||||
# Filter the following hidden-file warnings as the files in questin are meant to be hidden:
|
||||
addFilter("gnumeric.* hidden-file-or-dir /usr/share/gnumeric/.*/autoformat-templates/.*/.category")
|
||||
# Filter shared library policy missing suffix as we don't want to split the package at the moment:
|
||||
# addFilter("gnumeric.* shlib-policy-missing-suffix")
|
||||
# Filter script-without-shebang warnings for python scripts as they are not meant to be used in
|
||||
# command line:
|
||||
# addFilter("gnumeric.* script-without-shebang /usr/(lib|lib64)/gnumeric/.*/plugins/.*/.*\.py")
|
||||
3060
gnumeric.changes
Normal file
3060
gnumeric.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
gnumeric.obsinfo
Normal file
4
gnumeric.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: gnumeric
|
||||
version: 1.12.57
|
||||
mtime: 1707699144
|
||||
commit: a6dc0c3845d8d698b98c710361cd59c487285378
|
||||
194
gnumeric.spec
Normal file
194
gnumeric.spec
Normal file
@@ -0,0 +1,194 @@
|
||||
#
|
||||
# spec file for package gnumeric
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: gnumeric
|
||||
Version: 1.12.57
|
||||
Release: 0
|
||||
Summary: Spreadsheet Application
|
||||
License: GPL-2.0-only OR GPL-3.0-only
|
||||
Group: Productivity/Office/Spreadsheets
|
||||
URL: http://www.gnumeric.org/
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
Source1: gnumeric-rpmlintrc
|
||||
# PATCH-FIX-UPSTREAM 771528ae54d8335957533291b89f87da812aca95.patch: Fix build with GCC 14
|
||||
Patch1: https://gitlab.gnome.org/GNOME/gnumeric/-/commit/771528ae54d8335957533291b89f87da812aca95.patch
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: docbook-dtds
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: itstool
|
||||
BuildRequires: libgsf-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: yelp-tools
|
||||
# Disable python3-devel BR for now, not supported yet.
|
||||
#BuildRequires: python3-devel
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.38.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
||||
BuildRequires: pkgconfig(gmodule-2.0) >= 2.38.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0
|
||||
# Introspection disabled, need to pass --enable-introspection to configure if we want it.
|
||||
#BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.0.0
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.38.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.7
|
||||
BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
|
||||
BuildRequires: pkgconfig(libgda-ui-6.0) >= 6.0.0
|
||||
BuildRequires: pkgconfig(libgoffice-0.10) >= 0.10.51
|
||||
BuildRequires: pkgconfig(libgsf-1) >= 1.14.33
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
||||
BuildRequires: pkgconfig(pango) >= 1.24.0
|
||||
BuildRequires: pkgconfig(pangocairo) >= 1.24.0
|
||||
BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0
|
||||
Recommends: %{name}-doc
|
||||
Recommends: ghostscript-fonts-std
|
||||
Recommends: liberation-fonts
|
||||
# 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)
|
||||
Provides: gnumeric2 = %{version}
|
||||
Obsoletes: gnumeric2 < %{version}
|
||||
%{perl_requires}
|
||||
%{?libperl_requires}
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%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 doc
|
||||
Summary: Documentation files for Gnumeric
|
||||
Group: Documentation/Other
|
||||
Requires: %{name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description doc
|
||||
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
|
||||
Summary: Spreadsheet Application
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%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
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%configure \
|
||||
--disable-static \
|
||||
# --enable-pdfdocs \
|
||||
%{nil}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
# FIXME: Build as root modifies system!
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%find_lang %{name}-%{version} %{?no_lang_C} %{name}.lang
|
||||
%find_lang %{name}-%{version}-functions %{?no_lang_C} %{name}.lang
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING COPYING-gpl2 COPYING-gpl3
|
||||
%doc AUTHORS BEVERAGES BUGS HACKING MAINTAINERS NEWS README ChangeLog
|
||||
%{_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/org.gnumeric.gnumeric.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/org.gnumeric.gnumeric.png
|
||||
%{_datadir}/metainfo/org.gnumeric.gnumeric.appdata.xml
|
||||
%{_mandir}/man?/*%{ext_man}
|
||||
|
||||
%files doc
|
||||
%doc %{_datadir}/help/C/%{name}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libspreadsheet-*/
|
||||
%{_libdir}/pkgconfig/libspreadsheet-*.pc
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user