Compare commits
38 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d39127196a | ||
|
|
24a516c8f1 | ||
|
|
95e1c47100 | ||
|
|
aab3747109 | ||
|
|
1f8f7dd406 | ||
|
|
88fa0e8b27 | ||
|
|
3a0024b3ff | ||
|
|
f8d69a795c | ||
|
|
918145aef8 | ||
|
|
fbec461937 | ||
|
|
236d7c3486 | ||
|
|
4ae5885f00 | ||
|
|
5bf9a4748f | ||
|
|
a872c697d4 | ||
|
|
552658332c | ||
|
|
496d4af510 | ||
|
|
a87d23c7af | ||
|
|
57149a875d | ||
|
|
52591f2d9c | ||
|
|
eee51f82bb | ||
|
|
457c6b5a5b | ||
|
|
1686779ebb | ||
|
|
2cdf9b2366 | ||
|
|
aaec86db0d | ||
|
|
2532877d8e | ||
|
|
3ac733d828 | ||
|
|
f0e2a4d3fc | ||
|
|
b32100ebad | ||
|
|
ee622de5ae | ||
|
|
9dd015611e | ||
|
|
1d009a9be7 | ||
|
|
0ec46942f8 | ||
|
|
447b7a3cef | ||
|
|
5ca85291da | ||
|
|
0d468c8914 | ||
|
|
a5d5f75ad7 | ||
|
|
f6c4fa0dec | ||
|
|
38cd4bc71a |
3 changed files with 136 additions and 42 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
|
||||
|
|
|
|||
174
abiword.spec
174
abiword.spec
|
|
@ -1,20 +1,25 @@
|
|||
%define bigversion 3.0
|
||||
%define docsversion 3.0.1
|
||||
|
||||
%global forgeurl https://gitlab.gnome.org/World/AbiWord
|
||||
|
||||
Name: abiword
|
||||
Version: 3.0.4
|
||||
Release: 4%{?dist}
|
||||
Version: 3.0.7
|
||||
Release: 3%{?dist}
|
||||
%global tag release-%{version}
|
||||
%forgemeta
|
||||
|
||||
Epoch: 1
|
||||
Summary: Word processing program
|
||||
License: GPLv2+
|
||||
URL: http://www.abisource.com/
|
||||
License: GPL-2.0-or-later
|
||||
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
|
||||
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
Patch0: abiword-2.6.0-windowshelppaths.patch
|
||||
Patch1: abiword-2.8.3-desktop.patch
|
||||
Patch2: abiword-2.6.0-boolean.patch
|
||||
|
|
@ -25,6 +30,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 autoconf libtool autoconf-archive
|
||||
BuildRequires: bison
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: bzip2-devel
|
||||
|
|
@ -40,6 +47,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
|
||||
|
|
@ -64,6 +72,8 @@ BuildRequires: t1lib-devel
|
|||
BuildRequires: telepathy-glib-devel
|
||||
BuildRequires: wv-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
Requires: libabiword = %{epoch}:%{version}-%{release}
|
||||
Requires: python3-gobject-base
|
||||
|
|
@ -99,40 +109,28 @@ Python bindings for developing with libabiword
|
|||
|
||||
%prep
|
||||
# setup abiword
|
||||
%setup -q -a 1
|
||||
%setup -qn AbiWord-release-%{version}
|
||||
|
||||
# patch abiword
|
||||
%patch1 -p1 -b .desktop
|
||||
%patch2 -p1 -b .boolean
|
||||
%patch3 -p0 -b .librevenge
|
||||
%patch4 -p1 -b .explicit_python
|
||||
%patch5 -p1 -b .pygo
|
||||
|
||||
# setup abiword documentation
|
||||
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
|
||||
%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
|
||||
|
||||
%build
|
||||
%configure --enable-plugins --enable-clipart --enable-templates --enable-introspection
|
||||
# Needed while explicit-python.patch touches gi-overrides/Makefile.am
|
||||
./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 \
|
||||
--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}
|
||||
|
||||
# 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
|
||||
%{make_install} overridesdir=%{python3_sitelib}/gi/overrides
|
||||
|
||||
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
|
||||
|
|
@ -142,20 +140,24 @@ 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
|
||||
|
||||
%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
|
||||
%{_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.gz
|
||||
%{_mandir}/man1/abiword.1*
|
||||
|
||||
%files -n libabiword
|
||||
%license COPYING COPYRIGHT.TXT
|
||||
|
|
@ -166,8 +168,6 @@ find %{buildroot} -name '*.a' -delete
|
|||
%{_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}
|
||||
|
|
@ -175,9 +175,103 @@ 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
|
||||
* 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
|
||||
|
||||
* Tue Sep 24 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:3.0.5-16
|
||||
- Fix metainfo
|
||||
|
||||
* Sun Sep 08 2024 Alexander Ploumistos <alexpl@fedoraproject.org> - 1:3.0.5-15
|
||||
- Rebuilt for goffice-0.10.57
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1:3.0.5-13
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Wed Jan 31 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:3.0.5-12
|
||||
- Add missing include
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Nov 04 2023 Gwyn Ciesla <gwync@protonmail.com> 1:3.0.5-9
|
||||
- Drop i386 on f40+
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1:3.0.5-7
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 1:3.0.5-6
|
||||
- migrated to SPDX license
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:3.0.5-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Oct 23 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1:3.0.5-1
|
||||
- Update to 3.0.5
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.4-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:3.0.4-10
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.4-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Jeff Law <law@redhat.com> - 1:3.0.4-7
|
||||
- Force C++14 as the code is not ready for C++17
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.0.4-5
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Sun Feb 2 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1:3.0.4-4
|
||||
- More packaging cleanups and fixes
|
||||
|
||||
|
|
|
|||
3
sources
3
sources
|
|
@ -1,2 +1 @@
|
|||
SHA512 (abiword-3.0.4.tar.gz) = 121708e010cef6722cab5622dc762f2f92c46e43b65b90b881b4f25ff32c1696fa2d281a3a6f2c04d5b9231bbbd0040281e9d4d7e594ec0ace6caae9c9021ec4
|
||||
SHA512 (abiword-docs-3.0.1.tar.gz) = 8d6e5987fd2b58019aebe000d6ab1f10943a53cbbeb01fa53bbcf1a90904eed42182d09862070278ecace187d2510a889e763fe493bf2e2fa381b224e17c98e5
|
||||
SHA512 (AbiWord-release-3.0.7.tar.bz2) = 8cd75bcef936e8db1f859a8685e44c60b6f23a61a3bd702f320fa931dd645c85e9c2e671f870b7873ed57f37f75de71888f8a261cc6c97a58edf7af2114c26b7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue