From 452a13f81f5d4aa52b6224a54fa3b7318bc8345e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 1 Feb 2019 12:59:24 +0100 Subject: [PATCH 01/49] BR python-unversioned-command as a dirty workaround of severe FTBFS --- abiword.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/abiword.spec b/abiword.spec index b39b688..d941597 100644 --- a/abiword.spec +++ b/abiword.spec @@ -65,6 +65,10 @@ BuildRequires: telepathy-glib-devel BuildRequires: wv-devel BuildRequires: zlib-devel +# the python2 module deoesn't build without this +# TODO investigate, get rid of the depndency +BuildRequires: python-unversioned-command + Requires: libabiword = %{epoch}:%{version}-%{release} %description @@ -116,6 +120,8 @@ cd abiword-docs-3.0.1 # build libabiword and abiword cd $RPM_BUILD_DIR/abiword-%{version} +export PYTHON=%{__python2} + autoreconf -vif %configure --enable-plugins --enable-clipart --enable-templates --enable-introspection @@ -128,6 +134,7 @@ ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh %install cd $RPM_BUILD_DIR/abiword-%{version} +export PYTHON=%{__python2} make install DESTDIR=%{buildroot} # Register as an application to be visible in the software center From 3fd463e8b7042591d3b06ce18a2e903d2ec2cb19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Fri, 1 Feb 2019 12:56:43 +0100 Subject: [PATCH 02/49] Add patch to explicitly use python2 (#1671692) --- abiword-3.0.2-explicit-python2.patch | 8 ++++++++ abiword.spec | 14 ++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 abiword-3.0.2-explicit-python2.patch diff --git a/abiword-3.0.2-explicit-python2.patch b/abiword-3.0.2-explicit-python2.patch new file mode 100644 index 0000000..6c7db3c --- /dev/null +++ b/abiword-3.0.2-explicit-python2.patch @@ -0,0 +1,8 @@ +Index: abiword-3.0.2/src/gi-overrides/Makefile.am +=================================================================== +--- abiword-3.0.2.orig/src/gi-overrides/Makefile.am ++++ abiword-3.0.2/src/gi-overrides/Makefile.am +@@ -1,2 +1,2 @@ +-overridesdir = `python -c "import gi; print gi._overridesdir"` ++overridesdir = `$(PYTHON) -c "import gi; print gi._overridesdir"` + overrides_PYTHON = Abi.py diff --git a/abiword.spec b/abiword.spec index d941597..896c7e4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -21,6 +21,7 @@ Patch1: abiword-2.8.3-desktop.patch Patch2: abiword-2.6.0-boolean.patch Patch3: abiword-3.0.0-librevenge.patch Patch4: abiword-3.0.2-fix-black-drawing-regression.patch +Patch5: abiword-3.0.2-explicit-python2.patch BuildRequires: autoconf BuildRequires: automake @@ -65,10 +66,6 @@ BuildRequires: telepathy-glib-devel BuildRequires: wv-devel BuildRequires: zlib-devel -# the python2 module deoesn't build without this -# TODO investigate, get rid of the depndency -BuildRequires: python-unversioned-command - Requires: libabiword = %{epoch}:%{version}-%{release} %description @@ -111,6 +108,7 @@ Python bindings for developing with libabiword %patch2 -p1 -b .boolean %patch3 -p0 -b .librevenge %patch4 -p1 -b .black +%patch5 -p1 -b .explicit_python2 # setup abiword documentation cd abiword-docs-3.0.1 @@ -120,8 +118,6 @@ cd abiword-docs-3.0.1 # build libabiword and abiword cd $RPM_BUILD_DIR/abiword-%{version} -export PYTHON=%{__python2} - autoreconf -vif %configure --enable-plugins --enable-clipart --enable-templates --enable-introspection @@ -134,7 +130,6 @@ ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh %install cd $RPM_BUILD_DIR/abiword-%{version} -export PYTHON=%{__python2} make install DESTDIR=%{buildroot} # Register as an application to be visible in the software center @@ -233,6 +228,9 @@ find %{buildroot} -name '*.a' -delete %{python2_sitearch}/* %changelog +* Fri Feb 01 2019 Björn Esser - 1:3.0.2-18 +- Add patch to explicitly use python2 (#1671692) + * Fri Feb 01 2019 Björn Esser - 1:3.0.2-17 - Rebuilt for libwmf soname bump From baa03149a78b65e05ae442b8a8f85168b451083e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 1 Feb 2019 18:28:29 +0000 Subject: [PATCH 03/49] Rebuilt for fixed libwmf soname --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 896c7e4..66e5c60 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 18%{?dist} +Release: 19%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -228,6 +228,9 @@ find %{buildroot} -name '*.a' -delete %{python2_sitearch}/* %changelog +* Fri Feb 01 2019 Caolán McNamara - 1:3.0.2-19 +- Rebuilt for fixed libwmf soname + * Fri Feb 01 2019 Björn Esser - 1:3.0.2-18 - Add patch to explicitly use python2 (#1671692) From d8495729ff1627873beaf61cdb7dd2c26e634cb2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 17 Feb 2019 09:30:49 +0100 Subject: [PATCH 04/49] Rebuild for readline 8.0 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 66e5c60..96b61d2 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 19%{?dist} +Release: 20%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -228,6 +228,9 @@ find %{buildroot} -name '*.a' -delete %{python2_sitearch}/* %changelog +* Sun Feb 17 2019 Igor Gnatenko - 1:3.0.2-20 +- Rebuild for readline 8.0 + * Fri Feb 01 2019 Caolán McNamara - 1:3.0.2-19 - Rebuilt for fixed libwmf soname From 9da8b49de700b5fa2bf9b3ceef6a67dfa67a7c2b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 17:27:16 +0000 Subject: [PATCH 05/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 96b61d2..8e2cba1 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 20%{?dist} +Release: 21%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -228,6 +228,9 @@ find %{buildroot} -name '*.a' -delete %{python2_sitearch}/* %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 1:3.0.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Igor Gnatenko - 1:3.0.2-20 - Rebuild for readline 8.0 From 6b1444b6f003116ffbb84ea531b8f17a4ba08937 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 22 Jan 2020 20:46:12 +0000 Subject: [PATCH 06/49] 3.0.4, python3 gobject introspection bindings --- abiword-3.0.2-explicit-python2.patch | 2 +- ...d-3.0.2-fix-black-drawing-regression.patch | 54 ------------------- abiword.spec | 45 ++++++++-------- sources | 4 +- 4 files changed, 26 insertions(+), 79 deletions(-) delete mode 100644 abiword-3.0.2-fix-black-drawing-regression.patch diff --git a/abiword-3.0.2-explicit-python2.patch b/abiword-3.0.2-explicit-python2.patch index 6c7db3c..49ff7b1 100644 --- a/abiword-3.0.2-explicit-python2.patch +++ b/abiword-3.0.2-explicit-python2.patch @@ -4,5 +4,5 @@ Index: abiword-3.0.2/src/gi-overrides/Makefile.am +++ abiword-3.0.2/src/gi-overrides/Makefile.am @@ -1,2 +1,2 @@ -overridesdir = `python -c "import gi; print gi._overridesdir"` -+overridesdir = `$(PYTHON) -c "import gi; print gi._overridesdir"` ++overridesdir = `$(PYTHON) -c "import gi; print(gi._overridesdir)"` overrides_PYTHON = Abi.py diff --git a/abiword-3.0.2-fix-black-drawing-regression.patch b/abiword-3.0.2-fix-black-drawing-regression.patch deleted file mode 100644 index dbce8c6..0000000 --- a/abiword-3.0.2-fix-black-drawing-regression.patch +++ /dev/null @@ -1,54 +0,0 @@ -From cec2fda355b67b5b814a803c5ed128c425cbb030 Mon Sep 17 00:00:00 2001 -From: Hubert Figuiere -Date: Thu, 8 Dec 2016 02:03:10 +0000 -Subject: [PATCH] Bug 13815 - draw event should return TRUE - -This fix the black drawing regression with Gtk3.22 - -git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@35394 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6 ---- - src/af/xap/gtk/xap_UnixFrameImpl.cpp | 6 +++--- - src/af/xap/gtk/xap_UnixFrameImpl.h | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.cpp b/src/af/xap/gtk/xap_UnixFrameImpl.cpp -index 780000e..10f8e00 100644 ---- a/src/af/xap/gtk/xap_UnixFrameImpl.cpp -+++ b/src/af/xap/gtk/xap_UnixFrameImpl.cpp -@@ -1208,9 +1208,9 @@ gint XAP_UnixFrameImpl::_fe::delete_event(GtkWidget * w, GdkEvent * /*event*/, g - } - - #if GTK_CHECK_VERSION(3,0,0) --gint XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr) -+gboolean XAP_UnixFrameImpl::_fe::draw(GtkWidget * w, cairo_t * cr) - #else --gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent) -+gboolean XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent) - #endif - { - XAP_UnixFrameImpl * pUnixFrameImpl = static_cast(g_object_get_data(G_OBJECT(w), "user_data")); -@@ -1243,7 +1243,7 @@ gint XAP_UnixFrameImpl::_fe::expose(GtkWidget * w, GdkEventExpose* pExposeEvent) - pView->draw(&rClip); - #endif - } -- return FALSE; -+ return TRUE; - } - - static bool bScrollWait = false; -diff --git a/src/af/xap/gtk/xap_UnixFrameImpl.h b/src/af/xap/gtk/xap_UnixFrameImpl.h -index 30ee5d8..a0ff57f 100644 ---- a/src/af/xap/gtk/xap_UnixFrameImpl.h -+++ b/src/af/xap/gtk/xap_UnixFrameImpl.h -@@ -152,9 +152,9 @@ class XAP_UnixFrameImpl : public XAP_FrameImpl - static gint key_release_event(GtkWidget* w, GdkEventKey* e); - static gint delete_event(GtkWidget * w, GdkEvent * /*event*/, gpointer /*data*/); - #if GTK_CHECK_VERSION(3,0,0) -- static gint draw(GtkWidget * w, cairo_t * cr); -+ static gboolean draw(GtkWidget * w, cairo_t * cr); - #else -- static gint expose(GtkWidget * w, GdkEventExpose* pExposeEvent); -+ static gboolean expose(GtkWidget * w, GdkEventExpose* pExposeEvent); - #endif - static gint do_ZoomUpdate( gpointer /* xap_UnixFrame * */ p); - static void vScrollChanged(GtkAdjustment * w, gpointer /*data*/); diff --git a/abiword.spec b/abiword.spec index 8e2cba1..3bb06be 100644 --- a/abiword.spec +++ b/abiword.spec @@ -1,18 +1,18 @@ %define majorversion 3 %define minorversion 0 -%define microversion 2 +%define microversion 4 %define svnver 0 Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 21%{?dist} +Release: 1%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ Source0: http://abisource.com/downloads/abiword/%{version}/source/abiword-%{version}.tar.gz -Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-%{version}.tar.gz +Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-3.0.2.tar.gz Source11: abiword.mime Source12: abiword.keys Source13: abiword.xml @@ -20,8 +20,8 @@ Patch0: abiword-2.6.0-windowshelppaths.patch Patch1: abiword-2.8.3-desktop.patch Patch2: abiword-2.6.0-boolean.patch Patch3: abiword-3.0.0-librevenge.patch -Patch4: abiword-3.0.2-fix-black-drawing-regression.patch -Patch5: abiword-3.0.2-explicit-python2.patch +Patch4: abiword-3.0.2-explicit-python2.patch +Patch5: abiword-3.0.4-pygobject.patch BuildRequires: autoconf BuildRequires: automake @@ -41,7 +41,7 @@ BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: goffice-devel BuildRequires: gtk3-devel -BuildRequires: gtkmathview-devel +#BuildRequires: gtkmathview-devel BuildRequires: libgsf-devel BuildRequires: libpng-devel BuildRequires: librevenge-devel @@ -54,12 +54,13 @@ BuildRequires: libxslt-devel BuildRequires: link-grammar-devel BuildRequires: loudmouth-devel BuildRequires: ots-devel +BuildRequires: pkgconf-pkg-config BuildRequires: pkgconfig(libwps-0.4) BuildRequires: poppler-devel BuildRequires: popt-devel -BuildRequires: python2-gobject -BuildRequires: python2-devel -BuildRequires: python2-setuptools +BuildRequires: python3-gobject +BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildRequires: readline-devel BuildRequires: t1lib-devel BuildRequires: telepathy-glib-devel @@ -88,14 +89,12 @@ Requires: libabiword = %{epoch}:%{version}-%{release} Includes and definitions for developing with libabiword. -%package -n python2-abiword -%{?python_provide:%python_provide python2-abiword} +%package -n python3-abiword +%{?python_provide:%python_provide python3-abiword} Summary: Python bindings for developing with libabiword Requires: libabiword = %{epoch}:%{version}-%{release} -Obsoletes: pyabiword <= 0.8.0 -Provides: pyabiword > 0.8.0 -%description -n python2-abiword +%description -n python3-abiword Python bindings for developing with libabiword @@ -107,8 +106,8 @@ Python bindings for developing with libabiword %patch1 -p1 -b .desktop %patch2 -p1 -b .boolean %patch3 -p0 -b .librevenge -%patch4 -p1 -b .black -%patch5 -p1 -b .explicit_python2 +%patch4 -p1 -b .explicit_python2 +%patch5 -p1 -b .pygo # setup abiword documentation cd abiword-docs-3.0.1 @@ -118,11 +117,9 @@ cd abiword-docs-3.0.1 # build libabiword and abiword cd $RPM_BUILD_DIR/abiword-%{version} -autoreconf -vif - %configure --enable-plugins --enable-clipart --enable-templates --enable-introspection -make %{?_smp_mflags} V=1 +%{make_build} V=1 # build the documentation cd abiword-docs-3.0.1 @@ -130,7 +127,7 @@ ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh %install cd $RPM_BUILD_DIR/abiword-%{version} -make install DESTDIR=%{buildroot} +%{make_install} # Register as an application to be visible in the software center # @@ -224,10 +221,14 @@ find %{buildroot} -name '*.a' -delete %{_libdir}/pkgconfig/%{name}-%{majorversion}.%{minorversion}.pc %{_datadir}/gir-1.0/Abi-3.0.gir -%files -n python2-abiword -%{python2_sitearch}/* +%files -n python3-abiword +%{python3_sitearch}/* %changelog +* Fri Nov 29 2019 Peter Robinson 1:3.0.4-1 +- Update to 3.0.4 +- Move to python3 gobject introspection bindings + * Wed Jul 24 2019 Fedora Release Engineering - 1:3.0.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index d785acb..93895ad 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -cda6dd58c747c133b421cc7eb18f5796 abiword-3.0.2.tar.gz -c92c0e1e2081db20757231a53d80c338 abiword-docs-3.0.2.tar.gz +SHA512 (abiword-3.0.4.tar.gz) = 121708e010cef6722cab5622dc762f2f92c46e43b65b90b881b4f25ff32c1696fa2d281a3a6f2c04d5b9231bbbd0040281e9d4d7e594ec0ace6caae9c9021ec4 +SHA512 (abiword-docs-3.0.2.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 From af40d2aae883f42122c5cf580e79153da17ddf81 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 22 Jan 2020 20:47:07 +0000 Subject: [PATCH 07/49] Disable gtkmathview plugins until requires issue is fixed --- abiword.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/abiword.spec b/abiword.spec index 3bb06be..e7b1970 100644 --- a/abiword.spec +++ b/abiword.spec @@ -228,6 +228,7 @@ find %{buildroot} -name '*.a' -delete * Fri Nov 29 2019 Peter Robinson 1:3.0.4-1 - Update to 3.0.4 - Move to python3 gobject introspection bindings +- Disable gtkmathview plugins until requires issue is fixed * Wed Jul 24 2019 Fedora Release Engineering - 1:3.0.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a321b30d63633db0dd0416493743be69726d0cab Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 22 Jan 2020 21:01:27 +0000 Subject: [PATCH 08/49] add missing abiword-3.0.4-pygobject.patch --- abiword-3.0.4-pygobject.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 abiword-3.0.4-pygobject.patch diff --git a/abiword-3.0.4-pygobject.patch b/abiword-3.0.4-pygobject.patch new file mode 100644 index 0000000..0926131 --- /dev/null +++ b/abiword-3.0.4-pygobject.patch @@ -0,0 +1,22 @@ +From 51787d61993cb3981c18e4cf174fc229734fba1e Mon Sep 17 00:00:00 2001 +From: Jean Brefort +Date: Sun, 6 Dec 2015 11:04:10 +0000 +Subject: [PATCH] Update python override code. Fixes #13745 and #13746, thanks + to David Gutteridge. + +git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/trunk@35171 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6 +--- + src/gi-overrides/Abi.py | 2 ++ + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/gi-overrides/Abi.py b/src/gi-overrides/Abi.py +index 666fd61bf4..e3b61b9bf1 100644 +--- a/src/gi-overrides/Abi.py ++++ b/src/gi-overrides/Abi.py +@@ -1,4 +1,6 @@ + import sys ++import gi ++gi.require_version('Gtk', '3.0') + from gi.repository import Gtk + from ..overrides import override + from ..importer import modules From 99b56fca58faa62ca042ae9f59797d931cc892a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:07:30 +0000 Subject: [PATCH 09/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index e7b1970..7b284e4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -225,6 +225,9 @@ find %{buildroot} -name '*.a' -delete %{python3_sitearch}/* %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 1:3.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Nov 29 2019 Peter Robinson 1:3.0.4-1 - Update to 3.0.4 - Move to python3 gobject introspection bindings From 41749cbce7f7d46c2ee561d14b30046e80daeeaf Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Wed, 29 Jan 2020 15:06:41 +0000 Subject: [PATCH 10/49] Packaging cleanups and py3 fixes --- abiword.spec | 54 +++++++--------------------------------------------- 1 file changed, 7 insertions(+), 47 deletions(-) diff --git a/abiword.spec b/abiword.spec index 7b284e4..77a09f4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -6,7 +6,7 @@ Summary: Word processing program Name: abiword Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: GPLv2+ URL: http://www.abisource.com/ @@ -16,6 +16,7 @@ Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-3 Source11: abiword.mime Source12: abiword.keys Source13: abiword.xml + Patch0: abiword-2.6.0-windowshelppaths.patch Patch1: abiword-2.8.3-desktop.patch Patch2: abiword-2.6.0-boolean.patch @@ -68,6 +69,7 @@ BuildRequires: wv-devel BuildRequires: zlib-devel Requires: libabiword = %{epoch}:%{version}-%{release} +Requires: python3-gobject-base %description AbiWord is a cross-platform Open Source word processor. It is full-featured, @@ -129,51 +131,6 @@ ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh cd $RPM_BUILD_DIR/abiword-%{version} %{make_install} -# Register as an application to be visible in the software center -# -# NOTE: It would be *awesome* if this file was maintained by the upstream -# project, translated and installed into the right place during `make install`. -# -# See http://www.freedesktop.org/software/appstream/docs/ for more details. -# -mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata -cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < - - - - abiword.desktop - CC0-1.0 - -

- AbiWord is a free word processing program similar to Microsoft® Word. - It is suitable for a wide variety of word processing tasks. -

-

- AbiWord allows you to collaborate with multiple people on one document at the - same time. - It is tightly integrated with the AbiCollab.net web service, which lets you - store documents online, allows easy document sharing with your friends, and - performs format conversions on the fly. -

- -
- http://www.abisource.com/ - - - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/abiword/a.png - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/abiword/b.png - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/abiword/c.png - - -
-EOF - # install the documentation cd abiword-docs-3.0.1 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord/help @@ -222,9 +179,12 @@ find %{buildroot} -name '*.a' -delete %{_datadir}/gir-1.0/Abi-3.0.gir %files -n python3-abiword -%{python3_sitearch}/* +%pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Wed Jan 29 2020 Peter Robinson 1:3.0.4-3 +- Packaging cleanups and fixes + * Tue Jan 28 2020 Fedora Release Engineering - 1:3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From ace4550de8b7f126c8c5ec018c443b1f90b151c9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 2 Feb 2020 14:57:02 +0000 Subject: [PATCH 11/49] a few more cleanups --- ...tch => abiword-3.0.2-explicit-python.patch | 0 abiword.spec | 166 ++++-------------- sources | 2 +- 3 files changed, 31 insertions(+), 137 deletions(-) rename abiword-3.0.2-explicit-python2.patch => abiword-3.0.2-explicit-python.patch (100%) diff --git a/abiword-3.0.2-explicit-python2.patch b/abiword-3.0.2-explicit-python.patch similarity index 100% rename from abiword-3.0.2-explicit-python2.patch rename to abiword-3.0.2-explicit-python.patch diff --git a/abiword.spec b/abiword.spec index 77a09f4..40de642 100644 --- a/abiword.spec +++ b/abiword.spec @@ -1,18 +1,16 @@ -%define majorversion 3 -%define minorversion 0 -%define microversion 4 -%define svnver 0 +%define bigversion 3.0 +%define docsversion 3.0.1 -Summary: Word processing program Name: abiword -Version: %{majorversion}.%{minorversion}.%{microversion} -Release: 3%{?dist} +Version: 3.0.4 +Release: 4%{?dist} Epoch: 1 +Summary: Word processing program License: GPLv2+ URL: http://www.abisource.com/ Source0: http://abisource.com/downloads/abiword/%{version}/source/abiword-%{version}.tar.gz -Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-3.0.2.tar.gz +Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-%{docsversion}.tar.gz Source11: abiword.mime Source12: abiword.keys Source13: abiword.xml @@ -21,11 +19,9 @@ Patch0: abiword-2.6.0-windowshelppaths.patch Patch1: abiword-2.8.3-desktop.patch Patch2: abiword-2.6.0-boolean.patch Patch3: abiword-3.0.0-librevenge.patch -Patch4: abiword-3.0.2-explicit-python2.patch +Patch4: abiword-3.0.2-explicit-python.patch Patch5: abiword-3.0.4-pygobject.patch -BuildRequires: autoconf -BuildRequires: automake BuildRequires: aiksaurus-devel BuildRequires: aiksaurus-gtk-devel BuildRequires: asio-devel @@ -42,6 +38,7 @@ BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: goffice-devel BuildRequires: gtk3-devel +# Probably because it's gtk2 based #BuildRequires: gtkmathview-devel BuildRequires: libgsf-devel BuildRequires: libpng-devel @@ -108,35 +105,34 @@ Python bindings for developing with libabiword %patch1 -p1 -b .desktop %patch2 -p1 -b .boolean %patch3 -p0 -b .librevenge -%patch4 -p1 -b .explicit_python2 +%patch4 -p1 -b .explicit_python %patch5 -p1 -b .pygo # setup abiword documentation -cd abiword-docs-3.0.1 +pushd abiword-docs-%{docsversion} %patch0 -p1 -b .windowshelppaths +# some of the help dirs have bad perms (#109261) +find . -type d -exec chmod -c o+rx {} \; +popd %build -# build libabiword and abiword -cd $RPM_BUILD_DIR/abiword-%{version} - %configure --enable-plugins --enable-clipart --enable-templates --enable-introspection %{make_build} V=1 # build the documentation -cd abiword-docs-3.0.1 +pushd abiword-docs-%{docsversion} ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh +popd %install -cd $RPM_BUILD_DIR/abiword-%{version} %{make_install} # install the documentation -cd abiword-docs-3.0.1 -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord/help -cp -rp help/* $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord/help/ -# some of the help dirs have bad perms (#109261) -find $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord/help/ -type d -exec chmod -c o+rx {} \; +pushd abiword-docs-%{docsversion} +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{bigversion}/AbiWord/help +cp -rp help/* $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{bigversion}/AbiWord/help/ +popd install -p -m 0644 -D %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/mime-info/abiword.mime install -p -m 0644 -D %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mime-info/abiword.keys @@ -158,30 +154,33 @@ find %{buildroot} -name '*.a' -delete %{_datadir}/icons/hicolor/*/apps/abiword.png %{_datadir}/icons/hicolor/scalable/apps/abiword.svg # Abiword help -%{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord +%{_datadir}/%{name}-%{bigversion}/AbiWord %{_mandir}/man1/abiword.1.gz %files -n libabiword -%doc $RPM_BUILD_DIR/%{name}-%{version}/COPYING $RPM_BUILD_DIR/%{name}-%{version}/COPYRIGHT.TXT -%{_libdir}/libabiword-%{majorversion}.%{minorversion}.so +%license COPYING COPYRIGHT.TXT +%{_libdir}/libabiword-%{bigversion}.so %{_libdir}/libAiksaurusGtk3* -%{_libdir}/%{name}-%{majorversion}.%{minorversion} +%{_libdir}/%{name}-%{bigversion} %{_libdir}/girepository-1.0/Abi-3.0.typelib -%{_datadir}/%{name}-%{majorversion}.%{minorversion} +%{_datadir}/%{name}-%{bigversion} %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service %{_datadir}/telepathy/clients/AbiCollab.client # Abiword help - included in GUI app -%exclude %{_datadir}/%{name}-%{majorversion}.%{minorversion}/AbiWord +%exclude %{_datadir}/%{name}-%{bigversion}/AbiWord %files -n libabiword-devel -%{_includedir}/%{name}-%{majorversion}.%{minorversion} -%{_libdir}/pkgconfig/%{name}-%{majorversion}.%{minorversion}.pc +%{_includedir}/%{name}-%{bigversion} +%{_libdir}/pkgconfig/%{name}-%{bigversion}.pc %{_datadir}/gir-1.0/Abi-3.0.gir %files -n python3-abiword %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Sun Feb 2 2020 Peter Robinson 1:3.0.4-4 +- More packaging cleanups and fixes + * Wed Jan 29 2020 Peter Robinson 1:3.0.4-3 - Packaging cleanups and fixes @@ -339,108 +338,3 @@ find %{buildroot} -name '*.a' -delete * Mon Oct 14 2013 Peter Robinson 1:3.0.0-1 - Update to 3.0.0 stable - -* Sat Aug 03 2013 Fedora Release Engineering - 1:2.8.6-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Jul 30 2013 Petr Machata - 1:2.8.6-23 -- Rebuild for boost 1.54.0 - -* Sun Feb 17 2013 Christoph Wickert - 1:2.8.6-22 -- Make desktop file --vendor conditional -- Remove obsolete category 'Applications" from desktop file - -* Sat Feb 09 2013 Rahul Sundaram - 1:2.8.6-21 -- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247 -- clean up spec to follow current guidelines -- remove obsolete and unapplied boolean patch - -* Fri Jan 18 2013 Adam Tkac - 1:2.8.6-20 -- rebuild due to "jpeg8-ABI" feature drop - -* Fri Dec 21 2012 Adam Tkac - 1:2.8.6-19 -- rebuild against new libjpeg - -* Wed Jul 18 2012 Fedora Release Engineering - 1:2.8.6-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Feb 27 2012 Tom Callaway - 1:2.8.6-17 -- fix build against modern glib, libpng - -* Thu Jan 12 2012 Fedora Release Engineering - 1:2.8.6-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 06 2011 Adam Jackson - 1:2.8.6-15 -- Rebuild for new libpng - -* Tue Aug 9 2011 Peter Robinson - 1:2.8.6-14 -- rebuild with link-grammar now its back - -* Tue Aug 2 2011 Peter Robinson - 1:2.8.6-13 -- rebuild for new asio -- drop obsolete OLPC and ARM includes - -* Tue Aug 02 2011 Marc Maurer - 1:2.8.6-12 -- Fix a typo in the previous patch - -* Tue Aug 02 2011 Marc Maurer - 1:2.8.6-11 -- Fix BZ 716005: --no-undefined is a linker flag, not a g++ flag - -* Tue Aug 02 2011 Marc Maurer - 1:2.8.6-10 -- Mixed up the microversion and the release - -* Tue Aug 02 2011 Marc Maurer - 1:2.8.6-9 -- Remove link-grammar from the BR and R until it is revived - -* Thu May 05 2011 Chris Tyler - 1:2.8.6-8 -- Excluded asio-devel from ARM builds - -* Mon Feb 07 2011 Fedora Release Engineering - 1:2.8.6-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Dec 30 2010 Peter Robinson - 1:2.8.6-6 -- Rebuild for library soname bumps - -* Wed Dec 8 2010 Caolán McNamara - 1:2.8.6-5 -- Rebuild for libwpd 0.9 - -* Wed Dec 8 2010 Peter Robinson - 1:2.8.6-4 -- Rebuild for library soname bumps - -* Wed Sep 29 2010 jkeating - 1:2.8.6-3 -- Rebuilt for gcc bug 634757 - -* Wed Sep 22 2010 Peter Robinson - 1:2.8.6-2 -- Move abiword gui help from the library to the app. Fixes 578596 - -* Sat Aug 14 2010 Marc Maurer - 1:2.8.6-1 -- New upstream release - -* Sat Jun 05 2010 Marc Maurer - 1:2.8.5-1 -- New upstream release - -* Fri Apr 16 2010 Marc Maurer - 1:2.8.4-1 -- New upstream release - -* Thu Apr 08 2010 Marc Maurer - 1:2.8.3-2 -- Update .desktop patch - -* Thu Apr 08 2010 Marc Maurer - 1:2.8.3-1 -- New upstream release - -* Tue Mar 02 2010 Marc Maurer - 1:2.8.2-1 -- New upstream release -- Package the man page - -* Wed Dec 23 2009 Rahul Sundaram -1:2.8.1-4 -- Rebuild again since the wv soname bump was accidental -- Remove superflous BuildRoot definitions and removals - -* Mon Dec 21 2009 Peter Robinson - 1:2.8.1-3 -- Rebuild against new libwv - -* Sun Nov 01 2009 Marc Maurer - 1:2.8.1-2 -- Rebuild - -* Sun Nov 01 2009 Marc Maurer - 1:2.8.1-1 -- New upstream release diff --git a/sources b/sources index 93895ad..440cebf 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (abiword-3.0.4.tar.gz) = 121708e010cef6722cab5622dc762f2f92c46e43b65b90b881b4f25ff32c1696fa2d281a3a6f2c04d5b9231bbbd0040281e9d4d7e594ec0ace6caae9c9021ec4 -SHA512 (abiword-docs-3.0.2.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 +SHA512 (abiword-docs-3.0.1.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 From 38cd4bc71a5afcd816736c39af5ab24339b8fee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:39:57 +0200 Subject: [PATCH 12/49] Rebuilt for Python 3.9 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 40de642..33ca3b2 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -178,6 +178,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Tue May 26 2020 Miro Hrončok - 1:3.0.4-5 +- Rebuilt for Python 3.9 + * Sun Feb 2 2020 Peter Robinson 1:3.0.4-4 - More packaging cleanups and fixes From f6c4fa0dec3afd40d81c2e855b2e8a7c304e57ec Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 22 Jun 2020 17:39:26 -0700 Subject: [PATCH 13/49] Fix build with recent ASIO and automake (#1817658) Since automake is now newer than the version used to produce the tarball, our patch that touches gi-overrides/Makefile.am causes the build to fail - we need to run aclocal and automake to fix this. To fix the ASIO-related build failure reported as #1817658 we have to build with `-DASIO_ENABLE_BOOST` - asio now uses standalone mode automatically when C++11 or later is detected, but it seems abiword can't build this way. See https://github.com/chriskohlhoff/asio/commit/265e75cd and https://github.com/openscenegraph/OpenSceneGraph/issues/921 for more on that. --- abiword.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 33ca3b2..797b559 100644 --- a/abiword.spec +++ b/abiword.spec @@ -25,6 +25,8 @@ Patch5: abiword-3.0.4-pygobject.patch BuildRequires: aiksaurus-devel BuildRequires: aiksaurus-gtk-devel BuildRequires: asio-devel +# Needed while explicit-python.patch touches gi-overrides/Makefile.am +BuildRequires: automake BuildRequires: bison BuildRequires: boost-devel BuildRequires: bzip2-devel @@ -116,8 +118,12 @@ find . -type d -exec chmod -c o+rx {} \; popd %build -%configure --enable-plugins --enable-clipart --enable-templates --enable-introspection +# Needed while explicit-python.patch touches gi-overrides/Makefile.am +aclocal +automake +export CXXFLAGS="$RPM_OPT_FLAGS -DASIO_ENABLE_BOOST" +%configure --enable-plugins --enable-clipart --enable-templates --enable-introspection %{make_build} V=1 # build the documentation From a5d5f75ad7115a19a7992fd98d747c1bf3e96939 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 11:40:07 +0000 Subject: [PATCH 14/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 797b559..5022b9d 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -184,6 +184,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 1:3.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 1:3.0.4-5 - Rebuilt for Python 3.9 From 0d468c8914be524dfb2dba8820e347663fa3e12f Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 27 Jul 2020 15:36:25 -0600 Subject: [PATCH 15/49] - Force C++14 as the code is not ready for C++17 --- abiword.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/abiword.spec b/abiword.spec index 5022b9d..66cb3e8 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -122,7 +122,7 @@ popd aclocal automake -export CXXFLAGS="$RPM_OPT_FLAGS -DASIO_ENABLE_BOOST" +export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS -DASIO_ENABLE_BOOST" %configure --enable-plugins --enable-clipart --enable-templates --enable-introspection %{make_build} V=1 @@ -184,6 +184,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Mon Jul 27 2020 Jeff Law - 1:3.0.4-7 +- Force C++14 as the code is not ready for C++17 + * Mon Jul 27 2020 Fedora Release Engineering - 1:3.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 5ca85291da755a1874a6a584833c2453448d4c01 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jul 2020 23:47:04 +0000 Subject: [PATCH 16/49] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 66cb3e8..8c8c5aa 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -184,6 +184,10 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Fri Jul 31 2020 Fedora Release Engineering - 1:3.0.4-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Jeff Law - 1:3.0.4-7 - Force C++14 as the code is not ready for C++17 From 447b7a3cef69e9782741c5ccf31b76770cd2d3ee Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 16 Dec 2020 22:15:48 +0000 Subject: [PATCH 17/49] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- abiword.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/abiword.spec b/abiword.spec index 8c8c5aa..ee05ef4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -66,6 +66,7 @@ BuildRequires: t1lib-devel BuildRequires: telepathy-glib-devel BuildRequires: wv-devel BuildRequires: zlib-devel +BuildRequires: make Requires: libabiword = %{epoch}:%{version}-%{release} Requires: python3-gobject-base From 0ec46942f8893fa79c42619c01f5ab1a299bf035 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 25 Jan 2021 23:43:55 +0000 Subject: [PATCH 18/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index ee05ef4..ff97505 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -185,6 +185,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Mon Jan 25 2021 Fedora Release Engineering - 1:3.0.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Jul 31 2020 Fedora Release Engineering - 1:3.0.4-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1d009a9be7c2cb7429f92c7ee3a5ceb4d1d328ea Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 21 Mar 2021 13:46:16 +0000 Subject: [PATCH 19/49] Add libgcrypt-devel build dep --- abiword.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/abiword.spec b/abiword.spec index ff97505..efccd26 100644 --- a/abiword.spec +++ b/abiword.spec @@ -42,6 +42,7 @@ BuildRequires: goffice-devel BuildRequires: gtk3-devel # Probably because it's gtk2 based #BuildRequires: gtkmathview-devel +BuildRequires: libgcrypt-devel BuildRequires: libgsf-devel BuildRequires: libpng-devel BuildRequires: librevenge-devel From 9dd015611e98dad8c515577737de5f3054f04b79 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 19:58:43 +0200 Subject: [PATCH 20/49] Rebuilt for Python 3.10 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index efccd26..a3eb50a 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Fri Jun 04 2021 Python Maint - 1:3.0.4-10 +- Rebuilt for Python 3.10 + * Mon Jan 25 2021 Fedora Release Engineering - 1:3.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From ee622de5ae1debd9382b65bcebde3b254a51b72b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:15:52 +0000 Subject: [PATCH 21/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From b32100ebad5cf40c846867a1fefd29c927ce140f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:10:57 +0000 Subject: [PATCH 22/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index a3eb50a..e9fb878 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.4 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 1:3.0.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 1:3.0.4-10 - Rebuilt for Python 3.10 From f0e2a4d3fc412ebb05606002cd8dcc44823d496c Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 23 Oct 2021 16:57:29 +0100 Subject: [PATCH 23/49] 3.0.5 --- abiword.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/abiword.spec b/abiword.spec index e9fb878..5ad15fb 100644 --- a/abiword.spec +++ b/abiword.spec @@ -2,8 +2,8 @@ %define docsversion 3.0.1 Name: abiword -Version: 3.0.4 -Release: 11%{?dist} +Version: 3.0.5 +Release: 1%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Sat Oct 23 2021 Peter Robinson - 1:3.0.5-1 +- Update to 3.0.5 + * Wed Jul 21 2021 Fedora Release Engineering - 1:3.0.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 440cebf..0b0f5a3 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (abiword-3.0.4.tar.gz) = 121708e010cef6722cab5622dc762f2f92c46e43b65b90b881b4f25ff32c1696fa2d281a3a6f2c04d5b9231bbbd0040281e9d4d7e594ec0ace6caae9c9021ec4 +SHA512 (abiword-3.0.5.tar.gz) = a2484268901ff47307c9d1f1928622e364f1006f22ce38257c585144df9411dfe3c2dea28c1f1f50a6e545e8cc579cce34117a89dfa771e20312e3ea1a9989d6 SHA512 (abiword-docs-3.0.1.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 From 3ac733d8288ac204a2cb2cb5342228308f9bea7c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 20:50:50 +0000 Subject: [PATCH 24/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 5ad15fb..971f553 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 1:3.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Sat Oct 23 2021 Peter Robinson - 1:3.0.5-1 - Update to 3.0.5 From 2532877d8eb1524578f1be9467fa14eccf8e6667 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 20:59:12 +0200 Subject: [PATCH 25/49] Rebuilt for Python 3.11 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 971f553..3471980 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Mon Jun 13 2022 Python Maint - 1:3.0.5-3 +- Rebuilt for Python 3.11 + * Wed Jan 19 2022 Fedora Release Engineering - 1:3.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From aaec86db0d9822d72831448377b3a0d3990f17cf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:21:32 +0000 Subject: [PATCH 26/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 3471980..0f1e5ba 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -186,6 +186,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitearch}/gi/overrides/Abi.py %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 1:3.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 1:3.0.5-3 - Rebuilt for Python 3.11 From 2cdf9b2366e89329dba1d79541b2e8f012be8b65 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 16 Jan 2023 20:10:42 -0500 Subject: [PATCH 27/49] Fix flatpak build --- abiword.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/abiword.spec b/abiword.spec index 0f1e5ba..799da52 100644 --- a/abiword.spec +++ b/abiword.spec @@ -125,7 +125,9 @@ aclocal automake export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS -DASIO_ENABLE_BOOST" -%configure --enable-plugins --enable-clipart --enable-templates --enable-introspection +%configure \ + --enable-plugins --enable-clipart --enable-templates --enable-introspection \ + --with-gir-dir=%{_datadir}/gir-1.0 --with-typelib-dir=%{_libdir}/girepository-1.0 %{make_build} V=1 # build the documentation @@ -134,7 +136,7 @@ ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh popd %install -%{make_install} +%{make_install} overridesdir=%{python3_sitelib}/gi/overrides # install the documentation pushd abiword-docs-%{docsversion} @@ -163,7 +165,7 @@ find %{buildroot} -name '*.a' -delete %{_datadir}/icons/hicolor/scalable/apps/abiword.svg # Abiword help %{_datadir}/%{name}-%{bigversion}/AbiWord -%{_mandir}/man1/abiword.1.gz +%{_mandir}/man1/abiword.1* %files -n libabiword %license COPYING COPYRIGHT.TXT @@ -183,7 +185,7 @@ find %{buildroot} -name '*.a' -delete %{_datadir}/gir-1.0/Abi-3.0.gir %files -n python3-abiword -%pycached %{python3_sitearch}/gi/overrides/Abi.py +%pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog * Wed Jul 20 2022 Fedora Release Engineering - 1:3.0.5-4 From 1686779ebb3a9461843d0007973a4c926a364feb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:19:10 +0000 Subject: [PATCH 28/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 799da52..2c2e853 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 Summary: Word processing program License: GPLv2+ @@ -188,6 +188,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 1:3.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 1:3.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 457c6b5a5bfff2e988fbce30498d214fd8c36572 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 8 Mar 2023 14:52:52 -0600 Subject: [PATCH 29/49] migrated to SPDX license --- abiword.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/abiword.spec b/abiword.spec index 2c2e853..c065889 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,10 +3,10 @@ Name: abiword Version: 3.0.5 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 Summary: Word processing program -License: GPLv2+ +License: GPL-2.0-or-later URL: http://www.abisource.com/ Source0: http://abisource.com/downloads/abiword/%{version}/source/abiword-%{version}.tar.gz @@ -188,6 +188,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Mar 08 2023 Gwyn Ciesla - 1:3.0.5-6 +- migrated to SPDX license + * Wed Jan 18 2023 Fedora Release Engineering - 1:3.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From eee51f82bb4e2da12812054d13c0b808e2a14729 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 15 Jun 2023 17:00:03 +0200 Subject: [PATCH 30/49] Rebuilt for Python 3.12 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index c065889..7bbd542 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 6%{?dist} +Release: 7%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -188,6 +188,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Thu Jun 15 2023 Python Maint - 1:3.0.5-7 +- Rebuilt for Python 3.12 + * Wed Mar 08 2023 Gwyn Ciesla - 1:3.0.5-6 - migrated to SPDX license From 52591f2d9c73609c160395c551939a725851d90e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 12:49:09 +0000 Subject: [PATCH 31/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 7bbd542..813f3f4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -188,6 +188,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 1:3.0.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jun 15 2023 Python Maint - 1:3.0.5-7 - Rebuilt for Python 3.12 From 57149a875dec5c87fe20f25ee1d4394eeafbddbd Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 6 Nov 2023 08:38:37 -0600 Subject: [PATCH 32/49] Drop i686 --- abiword.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 813f3f4..1b5f4b4 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -15,6 +15,8 @@ Source11: abiword.mime Source12: abiword.keys Source13: abiword.xml +ExcludeArch: %{ix86} + Patch0: abiword-2.6.0-windowshelppaths.patch Patch1: abiword-2.8.3-desktop.patch Patch2: abiword-2.6.0-boolean.patch @@ -188,6 +190,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Sat Nov 04 2023 Gwyn Ciesla 1:3.0.5-9 +- Drop i386 on f40+ + * Wed Jul 19 2023 Fedora Release Engineering - 1:3.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From a87d23c7af932bd2473edb27135c9905eab2d106 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 6 Nov 2023 08:45:12 -0600 Subject: [PATCH 33/49] Update patch macros --- abiword.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/abiword.spec b/abiword.spec index 1b5f4b4..7ad5ba6 100644 --- a/abiword.spec +++ b/abiword.spec @@ -108,15 +108,15 @@ Python bindings for developing with libabiword %setup -q -a 1 # patch abiword -%patch1 -p1 -b .desktop -%patch2 -p1 -b .boolean -%patch3 -p0 -b .librevenge -%patch4 -p1 -b .explicit_python -%patch5 -p1 -b .pygo +%patch -P 1 -p1 -b .desktop +%patch -P 2 -p1 -b .boolean +%patch -P 3 -p0 -b .librevenge +%patch -P 4 -p1 -b .explicit_python +%patch -P 5 -p1 -b .pygo # setup abiword documentation pushd abiword-docs-%{docsversion} -%patch0 -p1 -b .windowshelppaths +%patch -P 0 -p1 -b .windowshelppaths # some of the help dirs have bad perms (#109261) find . -type d -exec chmod -c o+rx {} \; popd From 496d4af51003cc5b97b89cec0a06ef30f36804dd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 12:02:03 +0000 Subject: [PATCH 34/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 7ad5ba6..0595c54 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 9%{?dist} +Release: 10%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -190,6 +190,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 1:3.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Nov 04 2023 Gwyn Ciesla 1:3.0.5-9 - Drop i386 on f40+ From 552658332cb3bda6bed6831d1ef63af535eb9ac0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 22:33:59 +0000 Subject: [PATCH 35/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 0595c54..3ab4c57 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -190,6 +190,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 1:3.0.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 1:3.0.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From a872c697d4f1f72dc4ad1681d66f16bc11e948de Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 31 Jan 2024 15:59:06 -0600 Subject: [PATCH 36/49] Add missing include --- abiword.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 3ab4c57..5d7c84d 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 11%{?dist} +Release: 12%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -23,6 +23,7 @@ Patch2: abiword-2.6.0-boolean.patch Patch3: abiword-3.0.0-librevenge.patch Patch4: abiword-3.0.2-explicit-python.patch Patch5: abiword-3.0.4-pygobject.patch +Patch6: xml-inc.patch BuildRequires: aiksaurus-devel BuildRequires: aiksaurus-gtk-devel @@ -113,6 +114,7 @@ Python bindings for developing with libabiword %patch -P 3 -p0 -b .librevenge %patch -P 4 -p1 -b .explicit_python %patch -P 5 -p1 -b .pygo +%patch -P 6 -p0 -b .xml # setup abiword documentation pushd abiword-docs-%{docsversion} @@ -190,6 +192,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Jan 31 2024 Gwyn Ciesla - 1:3.0.5-12 +- Add missing include + * Mon Jan 22 2024 Fedora Release Engineering - 1:3.0.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 5bf9a4748fe00c76dc8c89c407086b2d651f8fad Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 31 Jan 2024 15:59:31 -0600 Subject: [PATCH 37/49] Add missing include --- xml-inc.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 xml-inc.patch diff --git a/xml-inc.patch b/xml-inc.patch new file mode 100644 index 0000000..549740f --- /dev/null +++ b/xml-inc.patch @@ -0,0 +1,10 @@ +--- src/af/util/xp/ut_stringbuf.cpp~ 2021-07-03 10:46:07.000000000 -0500 ++++ src/af/util/xp/ut_stringbuf.cpp 2024-01-31 14:56:13.075934064 -0600 +@@ -26,6 +26,7 @@ + #include + + #include ++#include + + #include + From 4ae5885f00d6b43dffaf15cfcf1aa30330ed388f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 22:30:49 +0200 Subject: [PATCH 38/49] Rebuilt for Python 3.13 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 5d7c84d..142434e 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 12%{?dist} +Release: 13%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -192,6 +192,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Sat Jun 08 2024 Python Maint - 1:3.0.5-13 +- Rebuilt for Python 3.13 + * Wed Jan 31 2024 Gwyn Ciesla - 1:3.0.5-12 - Add missing include From 236d7c3486548e5c5585b7ec30e93d877cca8f61 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 16:30:35 +0000 Subject: [PATCH 39/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 142434e..d2e4c5a 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 13%{?dist} +Release: 14%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -192,6 +192,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 1:3.0.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jun 08 2024 Python Maint - 1:3.0.5-13 - Rebuilt for Python 3.13 From fbec46193727e02322ca107fe126d1da41936aea Mon Sep 17 00:00:00 2001 From: Alexander Ploumistos Date: Sun, 8 Sep 2024 22:22:45 +0200 Subject: [PATCH 40/49] Rebuilt for goffice-0.10.57 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index d2e4c5a..6cf22cc 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -192,6 +192,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Sun Sep 08 2024 Alexander Ploumistos - 1:3.0.5-15 +- Rebuilt for goffice-0.10.57 + * Wed Jul 17 2024 Fedora Release Engineering - 1:3.0.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 918145aef82421e16fed4052eecafd218c13ba2d Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 25 Sep 2024 09:55:56 -0500 Subject: [PATCH 41/49] Metainfo fix --- abiword.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/abiword.spec b/abiword.spec index 6cf22cc..5442ac5 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 15%{?dist} +Release: 16%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -71,6 +71,7 @@ BuildRequires: telepathy-glib-devel BuildRequires: wv-devel BuildRequires: zlib-devel BuildRequires: make +BuildRequires: libappstream-glib Requires: libabiword = %{epoch}:%{version}-%{release} Requires: python3-gobject-base @@ -156,11 +157,15 @@ install -p -m 0644 -D %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/mime/packages/abiwo find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.a' -delete +mkdir -p %{buildroot}%{_metainfodir}/ +mv %{buildroot}%{_datadir}/appdata/abiword.appdata.xml %{buildroot}%{_metainfodir}/ +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdata.xml + %ldconfig_scriptlets -n libabiword %files %{_bindir}/abiword -%{_datadir}/appdata/*.appdata.xml +%{_metainfodir}/abiword.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/mime-info/abiword.mime %{_datadir}/mime-info/abiword.keys @@ -192,6 +197,9 @@ find %{buildroot} -name '*.a' -delete %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Tue Sep 24 2024 Gwyn Ciesla - 1:3.0.5-16 +- Fix metainfo + * Sun Sep 08 2024 Alexander Ploumistos - 1:3.0.5-15 - Rebuilt for goffice-0.10.57 From f8d69a795cedf33ac62eabec71e9bb2d92f35818 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Tue, 22 Oct 2024 13:03:37 -0500 Subject: [PATCH 42/49] Fix desktop filename --- abiword.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 5442ac5..9c0c74f 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 16%{?dist} +Release: 17%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -157,6 +157,8 @@ install -p -m 0644 -D %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/mime/packages/abiwo find %{buildroot} -name '*.la' -delete find %{buildroot} -name '*.a' -delete +mv %{buildroot}%{_datadir}/applications/abiword.desktop %{buildroot}%{_datadir}/applications/com.abisource.AbiWord.desktop + mkdir -p %{buildroot}%{_metainfodir}/ mv %{buildroot}%{_datadir}/appdata/abiword.appdata.xml %{buildroot}%{_metainfodir}/ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdata.xml @@ -197,6 +199,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Tue Oct 22 2024 Gwyn Ciesla - 1:3.0.5-17 +- Fix desktop filename + * Tue Sep 24 2024 Gwyn Ciesla - 1:3.0.5-16 - Fix metainfo From 3a0024b3ff276f838d1317cb0176d37f32fb7d72 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 10:28:39 +0000 Subject: [PATCH 43/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 9c0c74f..11576d5 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 17%{?dist} +Release: 18%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -199,6 +199,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 1:3.0.5-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Tue Oct 22 2024 Gwyn Ciesla - 1:3.0.5-17 - Fix desktop filename From 88fa0e8b2751a26f0f9a266e029e4d78e9caad40 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 14:28:23 +0200 Subject: [PATCH 44/49] Rebuilt for Python 3.14 --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 11576d5..8e7e31b 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 18%{?dist} +Release: 19%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -199,6 +199,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Tue Jun 03 2025 Python Maint - 1:3.0.5-19 +- Rebuilt for Python 3.14 + * Thu Jan 16 2025 Fedora Release Engineering - 1:3.0.5-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 1f8f7dd406e4c710b6c1d54ad66e37528b6b7de1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 16:42:18 +0000 Subject: [PATCH 45/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 8e7e31b..fff7242 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 19%{?dist} +Release: 20%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -199,6 +199,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 1:3.0.5-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Jun 03 2025 Python Maint - 1:3.0.5-19 - Rebuilt for Python 3.14 From aab3747109ebdb1ef70e2ec56a062ac0dd2bc9ed Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:37:41 +0200 Subject: [PATCH 46/49] Rebuilt for Python 3.14.0rc2 bytecode --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index fff7242..0918f96 100644 --- a/abiword.spec +++ b/abiword.spec @@ -3,7 +3,7 @@ Name: abiword Version: 3.0.5 -Release: 20%{?dist} +Release: 21%{?dist} Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later @@ -199,6 +199,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Fri Aug 15 2025 Python Maint - 1:3.0.5-21 +- Rebuilt for Python 3.14.0rc2 bytecode + * Wed Jul 23 2025 Fedora Release Engineering - 1:3.0.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 95e1c47100854b3c36fdc3c8d76589a54070b114 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 4 Sep 2025 13:34:54 -0500 Subject: [PATCH 47/49] 3.0.7 --- .gitignore | 1 + abiword.spec | 52 +++++++++++++++++---------------------------------- sources | 3 +-- xml-inc.patch | 10 ---------- 4 files changed, 19 insertions(+), 47 deletions(-) delete mode 100644 xml-inc.patch diff --git a/.gitignore b/.gitignore index a5f0a51..1f0fb78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /abiword-3.*.tar.gz /abiword-docs-3.*.tar.gz +/AbiWord-release-3.0.7.tar.bz2 diff --git a/abiword.spec b/abiword.spec index 0918f96..881f2ee 100644 --- a/abiword.spec +++ b/abiword.spec @@ -1,16 +1,19 @@ %define bigversion 3.0 -%define docsversion 3.0.1 + +%global forgeurl https://gitlab.gnome.org/World/AbiWord Name: abiword -Version: 3.0.5 -Release: 21%{?dist} +Version: 3.0.7 +Release: 1%{?dist} +%global tag release-%{version} +%forgemeta + Epoch: 1 Summary: Word processing program License: GPL-2.0-or-later -URL: http://www.abisource.com/ +URL: %{forgeurl} -Source0: http://abisource.com/downloads/abiword/%{version}/source/abiword-%{version}.tar.gz -Source1: http://abisource.com/downloads/abiword/%{version}/source/abiword-docs-%{docsversion}.tar.gz +Source0: %{forgesource} Source11: abiword.mime Source12: abiword.keys Source13: abiword.xml @@ -23,13 +26,12 @@ Patch2: abiword-2.6.0-boolean.patch Patch3: abiword-3.0.0-librevenge.patch Patch4: abiword-3.0.2-explicit-python.patch Patch5: abiword-3.0.4-pygobject.patch -Patch6: xml-inc.patch BuildRequires: aiksaurus-devel BuildRequires: aiksaurus-gtk-devel BuildRequires: asio-devel # Needed while explicit-python.patch touches gi-overrides/Makefile.am -BuildRequires: automake +BuildRequires: automake autoconf libtool autoconf-archive BuildRequires: bison BuildRequires: boost-devel BuildRequires: bzip2-devel @@ -107,7 +109,7 @@ Python bindings for developing with libabiword %prep # setup abiword -%setup -q -a 1 +%setup -qn AbiWord-release-%{version} # patch abiword %patch -P 1 -p1 -b .desktop @@ -115,40 +117,21 @@ Python bindings for developing with libabiword %patch -P 3 -p0 -b .librevenge %patch -P 4 -p1 -b .explicit_python %patch -P 5 -p1 -b .pygo -%patch -P 6 -p0 -b .xml - -# setup abiword documentation -pushd abiword-docs-%{docsversion} -%patch -P 0 -p1 -b .windowshelppaths -# some of the help dirs have bad perms (#109261) -find . -type d -exec chmod -c o+rx {} \; -popd %build # Needed while explicit-python.patch touches gi-overrides/Makefile.am -aclocal -automake +./autogen.sh export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS -DASIO_ENABLE_BOOST" %configure \ --enable-plugins --enable-clipart --enable-templates --enable-introspection \ - --with-gir-dir=%{_datadir}/gir-1.0 --with-typelib-dir=%{_libdir}/girepository-1.0 + --with-gir-dir=%{_datadir}/gir-1.0 --with-typelib-dir=%{_libdir}/girepository-1.0 \ + --enable-maintainer-mode %{make_build} V=1 -# build the documentation -pushd abiword-docs-%{docsversion} -ABI_DOC_PROG=$(pwd)/../%{name}-%{version}/src/abiword ./make-html.sh -popd - %install %{make_install} overridesdir=%{python3_sitelib}/gi/overrides -# install the documentation -pushd abiword-docs-%{docsversion} -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{bigversion}/AbiWord/help -cp -rp help/* $RPM_BUILD_ROOT/%{_datadir}/%{name}-%{bigversion}/AbiWord/help/ -popd - install -p -m 0644 -D %{SOURCE11} $RPM_BUILD_ROOT%{_datadir}/mime-info/abiword.mime install -p -m 0644 -D %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mime-info/abiword.keys install -p -m 0644 -D %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/mime/packages/abiword.xml @@ -174,8 +157,6 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %{_datadir}/mime/packages/abiword.xml %{_datadir}/icons/hicolor/*/apps/abiword.png %{_datadir}/icons/hicolor/scalable/apps/abiword.svg -# Abiword help -%{_datadir}/%{name}-%{bigversion}/AbiWord %{_mandir}/man1/abiword.1* %files -n libabiword @@ -187,8 +168,6 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %{_datadir}/%{name}-%{bigversion} %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.AbiCollab.service %{_datadir}/telepathy/clients/AbiCollab.client -# Abiword help - included in GUI app -%exclude %{_datadir}/%{name}-%{bigversion}/AbiWord %files -n libabiword-devel %{_includedir}/%{name}-%{bigversion} @@ -199,6 +178,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Wed Sep 03 2025 Gwyn Ciesla - 1:3.0.7-1 +- 3.0.7 + * Fri Aug 15 2025 Python Maint - 1:3.0.5-21 - Rebuilt for Python 3.14.0rc2 bytecode diff --git a/sources b/sources index 0b0f5a3..5450106 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (abiword-3.0.5.tar.gz) = a2484268901ff47307c9d1f1928622e364f1006f22ce38257c585144df9411dfe3c2dea28c1f1f50a6e545e8cc579cce34117a89dfa771e20312e3ea1a9989d6 -SHA512 (abiword-docs-3.0.1.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5 +SHA512 (AbiWord-release-3.0.7.tar.bz2) = 8cd75bcef936e8db1f859a8685e44c60b6f23a61a3bd702f320fa931dd645c85e9c2e671f870b7873ed57f37f75de71888f8a261cc6c97a58edf7af2114c26b7 diff --git a/xml-inc.patch b/xml-inc.patch deleted file mode 100644 index 549740f..0000000 --- a/xml-inc.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/af/util/xp/ut_stringbuf.cpp~ 2021-07-03 10:46:07.000000000 -0500 -+++ src/af/util/xp/ut_stringbuf.cpp 2024-01-31 14:56:13.075934064 -0600 -@@ -26,6 +26,7 @@ - #include - - #include -+#include - - #include - From 24a516c8f1670006514d456bbb574ba458849e08 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:06:15 +0200 Subject: [PATCH 48/49] Rebuilt for Python 3.14.0rc3 bytecode --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 881f2ee..41c5053 100644 --- a/abiword.spec +++ b/abiword.spec @@ -4,7 +4,7 @@ Name: abiword Version: 3.0.7 -Release: 1%{?dist} +Release: 2%{?dist} %global tag release-%{version} %forgemeta @@ -178,6 +178,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Fri Sep 19 2025 Python Maint - 1:3.0.7-2 +- Rebuilt for Python 3.14.0rc3 bytecode + * Wed Sep 03 2025 Gwyn Ciesla - 1:3.0.7-1 - 3.0.7 From d39127196a948478191666aaa62521df4e96b7ba Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:23:39 +0000 Subject: [PATCH 49/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- abiword.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/abiword.spec b/abiword.spec index 41c5053..58de5d6 100644 --- a/abiword.spec +++ b/abiword.spec @@ -4,7 +4,7 @@ Name: abiword Version: 3.0.7 -Release: 2%{?dist} +Release: 3%{?dist} %global tag release-%{version} %forgemeta @@ -178,6 +178,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat %pycached %{python3_sitelib}/gi/overrides/Abi.py %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1:3.0.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Sep 19 2025 Python Maint - 1:3.0.7-2 - Rebuilt for Python 3.14.0rc3 bytecode