Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d39127196a | ||
|
|
24a516c8f1 | ||
|
|
95e1c47100 | ||
|
|
aab3747109 | ||
|
|
1f8f7dd406 | ||
|
|
88fa0e8b27 | ||
|
|
3a0024b3ff |
4 changed files with 37 additions and 47 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/abiword-3.*.tar.gz
|
||||
/abiword-docs-3.*.tar.gz
|
||||
/AbiWord-release-3.0.7.tar.bz2
|
||||
|
|
|
|||
70
abiword.spec
70
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: 17%{?dist}
|
||||
Version: 3.0.7
|
||||
Release: 3%{?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,27 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/abiword.appdat
|
|||
%pycached %{python3_sitelib}/gi/overrides/Abi.py
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1:3.0.7-2
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Wed Sep 03 2025 Gwyn Ciesla <gwync@protonmail.com> - 1:3.0.7-1
|
||||
- 3.0.7
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1:3.0.5-21
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1:3.0.5-19
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Oct 22 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:3.0.5-17
|
||||
- Fix desktop filename
|
||||
|
||||
|
|
|
|||
3
sources
3
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
|
||||
|
|
|
|||
|
|
@ -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 <algorithm>
|
||||
|
||||
#include <libxml/uri.h>
|
||||
+#include <libxml/globals.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue