Merge branch 'sandino/24.2.1.2-el9' into backports/centos-9
This commit is contained in:
commit
be2a85187c
20 changed files with 117 additions and 23 deletions
1
CentOS-9
Symbolic link
1
CentOS-9
Symbolic link
|
@ -0,0 +1 @@
|
|||
rpmbuild
|
|
@ -1,9 +1,4 @@
|
|||
|
||||
%ifarch s390x
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2259004
|
||||
%global _lto_cflags %nil
|
||||
%endif
|
||||
|
||||
# download path contains version without the last (fourth) digit
|
||||
%global libo_version 24.2.1
|
||||
# Should contain .alphaX / .betaX, if this is pre-release (actually
|
||||
|
@ -47,6 +42,30 @@
|
|||
%bcond_with serverconfig
|
||||
%endif
|
||||
|
||||
# Disable firebird for RHEL
|
||||
%if 0%{?rhel}
|
||||
%bcond_with firebird
|
||||
%else
|
||||
%bcond_without firebird
|
||||
%endif
|
||||
|
||||
# Handle KDE/Qt integration for Fedora and RHEL/EPEL
|
||||
%if 0%{?rhel} && 0%{?rhel} < 10
|
||||
%bcond_with kf5
|
||||
%bcond_with kf6
|
||||
%endif
|
||||
|
||||
# KDE Plasma 5 integration only for Fedora
|
||||
%if 0%{?fedora}
|
||||
%bcond_without kf5
|
||||
%endif
|
||||
|
||||
# KDE Plasma 6 integration for Fedora and RHEL/EPEL 10+
|
||||
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
|
||||
%bcond_without kf6
|
||||
%endif
|
||||
|
||||
|
||||
# generated by %%langpack definitions
|
||||
%global langpack_langs %{nil}
|
||||
|
||||
|
@ -58,8 +77,8 @@ ExcludeArch: %{ix86}
|
|||
Summary: Free Software Productivity Suite
|
||||
Name: libreoffice
|
||||
Epoch: 1
|
||||
Version: %{libo_version}.1
|
||||
Release: 3%{?libo_prerelease}%{?dist}
|
||||
Version: %{libo_version}.2
|
||||
Release: 8%{?libo_prerelease}%{?dist}
|
||||
# default new files are: MPLv2
|
||||
# older files are typically: MPLv2 incorporating work under ASLv2
|
||||
# nlpsolver is: LGPLv3
|
||||
|
@ -146,7 +165,7 @@ BuildRequires: boost-devel
|
|||
BuildRequires: cups-devel
|
||||
BuildRequires: dragonbox-static
|
||||
BuildRequires: fontpackages-devel
|
||||
%if 0%{?fedora}
|
||||
%if %{with firebird}
|
||||
BuildRequires: firebird-devel
|
||||
%endif
|
||||
BuildRequires: frozen-devel
|
||||
|
@ -213,9 +232,15 @@ BuildRequires: unixODBC-devel
|
|||
BuildRequires: zxcvbn-c-devel
|
||||
BuildRequires: %{libo_python_executable}
|
||||
|
||||
# Uncomment for backtraces
|
||||
#BuildRequires: gdb
|
||||
|
||||
# libs / headers - conditional
|
||||
%if 0%{?fedora}
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 10
|
||||
BuildRequires: pkgconfig(libe-book-0.1)
|
||||
%endif
|
||||
|
||||
%if %{with kf5}
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: kf5-kconfig-devel
|
||||
|
@ -226,6 +251,15 @@ BuildRequires: kf5-kio-devel
|
|||
BuildRequires: kf5-kwindowsystem-devel
|
||||
%endif
|
||||
|
||||
%if %{with kf6}
|
||||
BuildRequires: qt6-qtbase-devel
|
||||
BuildRequires: kf6-kconfig-devel
|
||||
BuildRequires: kf6-kcoreaddons-devel
|
||||
BuildRequires: kf6-ki18n-devel
|
||||
BuildRequires: kf6-kio-devel
|
||||
BuildRequires: kf6-kwindowsystem-devel
|
||||
%endif
|
||||
|
||||
BuildRequires: gpgmepp-devel
|
||||
BuildRequires: pkgconfig(cppunit) >= 1.14.0
|
||||
BuildRequires: pkgconfig(graphite2)
|
||||
|
@ -300,6 +334,7 @@ Patch11: lo-7.6-ppc64le-tests.patch
|
|||
# https://bugs.gentoo.org/917618
|
||||
# https://bugs.documentfoundation.org/show_bug.cgi?id=158108
|
||||
Patch12: libreoffice-7.5.8.2-icu-74-compatibility.patch
|
||||
Patch13: 86abb6fd8a8f680f9fc5ff1db775845c9f4e254b.patch
|
||||
Patch500: 0001-disable-libe-book-support.patch
|
||||
# https://lists.freedesktop.org/archives/libreoffice/2023-September/090948.html
|
||||
Patch501: kahansum_test_fix_for_aarc64_s390x.patch
|
||||
|
@ -395,7 +430,7 @@ to be written in python.
|
|||
|
||||
%package base
|
||||
Summary: Database front-end for LibreOffice
|
||||
%if 0%{?fedora}
|
||||
%if %{with firebird}
|
||||
Requires: firebird
|
||||
%endif
|
||||
%ifarch %{java_arches}
|
||||
|
@ -678,7 +713,7 @@ Supplements: (%{name}-core%{?_isa} and gtk4%{?_isa})
|
|||
%description gtk4
|
||||
An experimental plug-in for LibreOffice that enables integration into GTK+ 4 environment.
|
||||
|
||||
%if 0%{?fedora}
|
||||
%if %{with kf5}
|
||||
|
||||
%package kf5
|
||||
Summary: LibreOffice KDE Frameworks 5 integration plug-in
|
||||
|
@ -690,13 +725,34 @@ Obsoletes: libreoffice-kde4 < 1:6.3.0.0
|
|||
Obsoletes: libreoffice-kde5 < 1:6.4.7.3
|
||||
Obsoletes: libreoffice-kde4-debuginfo < 1:6.3.0.0
|
||||
Obsoletes: libreoffice-kde5-debuginfo < 1:6.4.7.3
|
||||
%if (0%{?fedora} && 0%{?fedora} < 40)
|
||||
Supplements: (%{name}-core%{?_isa} and plasma-workspace)
|
||||
%endif
|
||||
|
||||
%description kf5
|
||||
A plug-in for LibreOffice that enables integration into the KDE Frameworks 5.
|
||||
|
||||
%endif
|
||||
|
||||
%if %{with kf6}
|
||||
|
||||
%package kf6
|
||||
Summary: LibreOffice KDE Frameworks 6 integration plug-in
|
||||
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Provides: %{name}-plugin = %{epoch}:%{version}-%{release}
|
||||
Provides: %{name}-plugin%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: libreoffice-kde4 < 1:6.3.0.0
|
||||
Obsoletes: libreoffice-kde5 < 1:6.4.7.3
|
||||
Obsoletes: libreoffice-kde4-debuginfo < 1:6.3.0.0
|
||||
Obsoletes: libreoffice-kde5-debuginfo < 1:6.4.7.3
|
||||
Supplements: (%{name}-core%{?_isa} and plasma-workspace)
|
||||
|
||||
%description kf6
|
||||
A plug-in for LibreOffice that enables integration into the KDE Frameworks 6.
|
||||
|
||||
%endif
|
||||
|
||||
%package -n libreofficekit
|
||||
Summary: A library providing access to LibreOffice functionality
|
||||
License: MPLv2.0
|
||||
|
@ -1060,6 +1116,8 @@ mv -f redhat.soc extras/source/palettes/standard.soc
|
|||
# Temporarily disable failing tests
|
||||
%ifarch ppc64le
|
||||
sed -i -e s/CppunitTest_dbaccess_RowSetClones// dbaccess/Module_dbaccess.mk
|
||||
# the following actually succeeded as of 2024-02-23, remove if it succeeds again.
|
||||
#sed -i -e s/CppunitTest_dbaccess_hsqldb_test// dbaccess/Module_dbaccess.mk
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
# Nothing to do
|
||||
|
@ -1138,15 +1196,11 @@ done
|
|||
ARCH_FLAGS="$ARCH_FLAGS -g1"
|
||||
%endif
|
||||
export ARCH_FLAGS
|
||||
export CFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn"
|
||||
export CXXFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn"
|
||||
export CFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn -I%{_includedir}/KF6/KConfig/"
|
||||
export CXXFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn -I%{_includedir}/KF6/KConfig/"
|
||||
|
||||
%if 0%{?rhel}
|
||||
%define distrooptions --disable-eot --disable-firebird-sdbc
|
||||
%else
|
||||
# fedora
|
||||
%define distrooptions --enable-eot --enable-kf5
|
||||
%endif
|
||||
# Distro build options
|
||||
%define distrooptions --enable-eot %{!?with_firebird:--disable-firebird-sdbc} %{?with_kf5:--enable-kf5} %{?with_kf6:--enable-kf6}
|
||||
|
||||
%ifarch %{java_arches}
|
||||
%define javaoptions --with-java --enable-ext-nlpsolver --enable-ext-wiki-publisher
|
||||
|
@ -1942,7 +1996,7 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
|
|||
%endif
|
||||
%{baseinstdir}/program/libabplo.so
|
||||
%{baseinstdir}/program/libdbplo.so
|
||||
%if 0%{?fedora}
|
||||
%if %{with firebird}
|
||||
%{baseinstdir}/program/libfirebird_sdbclo.so
|
||||
%endif
|
||||
%ifarch %{java_arches}
|
||||
|
@ -2318,8 +2372,7 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
%endif
|
||||
%{baseinstdir}/program/libvclplug_gtk4lo.so
|
||||
|
||||
%if 0%{?fedora}
|
||||
|
||||
%if %{with kf5}
|
||||
%files kf5
|
||||
%{baseinstdir}/program/kf5.abignore
|
||||
%{baseinstdir}/program/libkf5be1lo.so
|
||||
|
@ -2328,6 +2381,14 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
|
||||
%endif
|
||||
|
||||
%if %{with kf6}
|
||||
|
||||
%files kf6
|
||||
%{baseinstdir}/program/libvclplug_kf6lo.so
|
||||
%{baseinstdir}/program/libvclplug_qt6lo.so
|
||||
|
||||
%endif
|
||||
|
||||
%files -n libreofficekit
|
||||
%{baseinstdir}/share/libreofficekit
|
||||
%{_libdir}/girepository-1.0/LOKDocView-%{girapiversion}.typelib
|
||||
|
@ -2341,6 +2402,32 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
%{_includedir}/LibreOfficeKit
|
||||
|
||||
%changelog
|
||||
* Thu Apr 04 2024 Sandino Araico Sánchez <sandino@sandino.net> - 1:24.2.1.2-8
|
||||
- Backport de 24.2.1.2 para CentOS 9
|
||||
|
||||
* Wed Apr 03 2024 Sandino Araico Sánchez <sandino@sandino.net> - 1:24.2.1.2-6
|
||||
- Disable KF6 on Fedora 39
|
||||
- liborcus >= 0.19 dependency
|
||||
|
||||
* Mon Mar 18 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.2-5
|
||||
- Patch for kf6 scaling
|
||||
|
||||
* Fri Mar 08 2024 Neal Gompa <ngompa@fedoraproject.org> - 1:24.2.1.2-2
|
||||
- Rework build conditionals for firebird+kf5+kf6 and fix supplements for
|
||||
kf5
|
||||
|
||||
* Mon Mar 04 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.2-1
|
||||
- 24.2.1.2, enable kf6
|
||||
|
||||
* Tue Feb 27 2024 Jiri Vanek <jvanek@redhat.com> - 1:24.2.1.1-7
|
||||
- Rebuilt for java-21-openjdk as system jdk
|
||||
|
||||
* Fri Feb 23 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-6
|
||||
- Re-enable test
|
||||
|
||||
* Fri Feb 23 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-5
|
||||
- Disable test on ppc64le
|
||||
|
||||
* Thu Feb 22 2024 Sandino Araico Sánchez <sandino@sandino.net> - 1:24.2.1.1-3
|
||||
- Backport de 24.2.1.1 para CentOS 9
|
||||
|
||||
|
@ -2351,9 +2438,15 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
|
|||
- Backport de 24.2.0.2 para CentOS 9
|
||||
- El __pycache__ ya no se borra
|
||||
|
||||
* Wed Feb 21 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-2
|
||||
* Wed Feb 21 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-4
|
||||
- Draw requires oglrans
|
||||
|
||||
* Mon Feb 19 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-3
|
||||
- Re-enable LTO on s390x
|
||||
|
||||
* Mon Feb 19 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-2
|
||||
- Re-enable LTO on s390x
|
||||
|
||||
* Tue Feb 13 2024 Gwyn Ciesla <gwync@protonmail.com> - 1:24.2.1.1-1
|
||||
- 24.2.1.1
|
||||
|
Loading…
Reference in a new issue