diff --git a/CentOS-9/SPECS/liborcus.spec b/CentOS-9/SPECS/liborcus.spec index 04f0b16..23731c1 100644 --- a/CentOS-9/SPECS/liborcus.spec +++ b/CentOS-9/SPECS/liborcus.spec @@ -207,7 +207,6 @@ make check %{?_smp_mflags} %doc doc/_doxygen/html %changelog -## START: Generated by rpmautospec * Thu Jan 18 2024 Jonathan Wakely - 0.19.2-2 - Rebuilt for Boost 1.83 diff --git a/CentOS-9/SPECS/libreoffice.spec b/CentOS-9/SPECS/libreoffice.spec index c01900f..a031c8f 100644 --- a/CentOS-9/SPECS/libreoffice.spec +++ b/CentOS-9/SPECS/libreoffice.spec @@ -1,4 +1,9 @@ +%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.0 # Should contain .alphaX / .betaX, if this is pre-release (actually @@ -53,8 +58,8 @@ ExcludeArch: %{ix86} Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 -Version: %{libo_version}.1 -Release: 1 +Version: %{libo_version}.2 +Release: 6%{?libo_prerelease}%{?dist} # default new files are: MPLv2 # older files are typically: MPLv2 incorporating work under ASLv2 # nlpsolver is: LGPLv3 @@ -65,7 +70,7 @@ Release: 1 # writerperfect/source/common/DirectoryStream.cxx: MPLv2 or LGPLv2+ # extras/source/autocorr/lang/hr/license.md: GPL 2.0 or LGPL2 or MPLv1.1 # odk/examples/java/...: 3 clause BSD -License: MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only) +License: MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only) AND MIT URL: http://www.libreoffice.org/ Source0: %{source_url}/libreoffice-%{version}%{?libo_prerelease}%{?libo_buildfix}.tar.xz @@ -87,6 +92,7 @@ Source11: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zi # with system provided hsqldb without major hacking. Source12: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip Source13: %{external_url}/../extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf +Source14: %{external_url}/Java-WebSocket-1.5.4.tar.gz %global bundling_options %{?bundling_options} --without-system-hsqldb Provides: bundled(hsqldb) = 1.8.0 @@ -232,6 +238,7 @@ BuildRequires: pkgconfig(mdds-2.1) BuildRequires: pkgconfig(zxing) BuildRequires: libnumbertext-devel BuildRequires: frozen-static +BuildRequires: zxcvbn-c-devel %ifarch %{java_arches} # java stuff @@ -283,6 +290,8 @@ Patch1: 0001-disble-tip-of-the-day-dialog-by-default.patch Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch # backported Patch3: 0001-default-to-sifr-for-gnome-light-mode.patch +# backported +Patch4: py313.patch # not upstreamed # fix FTB in ppc64le from sharkcz # https://lists.freedesktop.org/archives/libreoffice/2023-August/090870.html @@ -890,6 +899,7 @@ Rules for auto-correcting common %{langname} typing errors. \ %langpack -l id -n Indonesian -F -H -Y -T -X %langpack -l it -n Italian -F -H -Y -M -A -T -X %langpack -l ja -n Japanese -F -A -s cjk -T -X +%{baseinstdir}/share/template/common/l10n/ja_ott_normal.ott %langpack -l kk -n Kazakh -F -H -X %langpack -l kn -n Kannada -F -H -Y -X %langpack -l ko -n Korean -F -H -A -s cjk -T -X @@ -996,6 +1006,7 @@ Rules for auto-correcting common %{langname} typing errors. \ %autocorr -l sl -n Slovenian %autocorr -l sr -n Serbian %autocorr -l sv -n Swedish +%autocorr -l th -n Thai %autocorr -l tr -n Turkish %autocorr -l vi -n Vietnamese %autocorr -l vro -n Võro @@ -1034,11 +1045,11 @@ mv -f redhat.soc extras/source/palettes/standard.soc # apply patches %autopatch -p1 -M 99 %if 0%{?rhel} -%patch500 -p1 +%patch -P 500 -p1 %endif %ifarch aarch64 s390x ppc64le -%patch501 -p1 +%patch -P 501 -p1 %endif # Temporarily disable failing tests @@ -1058,8 +1069,25 @@ sed -i -e s/CppunitTest_basic_macros// basic/Module_basic.mk # Other test exclusions pointed out by sharkcz sed -i -e /CppunitTest_vcl_svm_test/d vcl/Module_vcl.mk sed -i -e /CppunitTest_sw_core_layout/d sw/Module_sw.mk +# https://bugs.documentfoundation.org/show_bug.cgi?id=158722 +sed -i -e /CppunitTest_desktop_lib/d desktop/Module_desktop.mk +# https://bugs.documentfoundation.org/show_bug.cgi?id=159184 +sed -i -e /CppunitTest_vcl_png_test/d vcl/Module_vcl.mk +# https://bugs.documentfoundation.org/show_bug.cgi?id=159211 +sed -i -e /CppunitTest_sd_png_export_tests/d sd/Module_sd.mk %endif +%if 0%{?rhel} +# Pruebas unitarias que fallan en 24.2.0.1 +sed -i -e /CppunitTest_sc_ucalc_formula\ /d sc/Module_sc.mk +sed -i -e /CppunitTest_sdext_pdfimport/d sdext/Module_sdext.mk +sed -i -e /CppunitTest_sw_core_layout/d sw/Module_sw.mk +sed -i -e /CppunitTest_sw_htmlimport/d sw/Module_sw.mk +sed -i -e /CppunitTest_sw_layoutwriter/d sw/Module_sw.mk # Se borran todas, 1 2 y 3 +sed -i -e /CppunitTest_sw_uiwriter6/d sw/Module_sw.mk +%endif + + #see rhbz#2072615 rm -f vcl/qa/cppunit/graphicfilter/data/tiff/fail/CVE-2017-9936-1.tiff @@ -1105,8 +1133,8 @@ done ARCH_FLAGS="$ARCH_FLAGS -g1" %endif export ARCH_FLAGS -export CFLAGS=$ARCH_FLAGS -export CXXFLAGS=$ARCH_FLAGS +export CFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn" +export CXXFLAGS="$ARCH_FLAGS -I%{_includedir}/zxcvbn" %if 0%{?rhel} %define distrooptions --disable-eot --disable-firebird-sdbc @@ -1172,7 +1200,8 @@ touch autogen.lastrun %{distrooptions} \ %{?bundling_options} \ %{?archoptions} \ - %{?flatpakoptions} + %{?flatpakoptions} \ + --with-system-zxcvbn if ! %make_build; then echo "build attempt 1 failed" @@ -1547,7 +1576,7 @@ rm -f %{buildroot}%{baseinstdir}/program/officebean.abignore # Clean other ppyhon 3.9 pycache in CentOS 9 # rm -rf /home/sandino/rpmbuild/BUILDROOT/libreoffice-7.3.1.3-4.el9.x86_64/usr/lib64/python3.9/site-packages/__pycache__ -rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ +#rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %check @@ -1557,7 +1586,7 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar # Clean other ppyhon 3.9 pycache in CentOS 9 # rm -rf /home/sandino/rpmbuild/BUILDROOT/libreoffice-7.3.1.3-4.el9.x86_64/usr/lib64/python3.9/site-packages/__pycache__ -rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ +#rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ @@ -1598,7 +1627,6 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/program/libdeployment.so %{baseinstdir}/program/libdeploymentgui.so %{baseinstdir}/program/libdlgprovlo.so -#%%{baseinstdir}/program/libexpwraplo.so %{baseinstdir}/program/libfps_officelo.so %{baseinstdir}/program/gdbtrace %{baseinstdir}/program/gengal @@ -1622,7 +1650,6 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/program/libdbahsqllo.so %{baseinstdir}/program/libdbaselo.so %{baseinstdir}/program/libdbaxmllo.so -#{baseinstdir}/program/libdbmmlo.so %{baseinstdir}/program/libdbpool2.so %{baseinstdir}/program/libdbtoolslo.so %{baseinstdir}/program/libdbulo.so @@ -1695,7 +1722,6 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/program/libucbhelper.so %{baseinstdir}/program/libucpchelp1.so %{baseinstdir}/program/libucpdav1.so -%{baseinstdir}/program/libucpftp1.so %{baseinstdir}/program/libucphier1.so %{baseinstdir}/program/libucppkg1.so %{baseinstdir}/program/libunordflo.so @@ -1789,7 +1815,6 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/share/config/soffice.cfg/modules %{baseinstdir}/share/config/soffice.cfg/*/ui %{baseinstdir}/share/palette -%{baseinstdir}/share/config/webcast %{baseinstdir}/share/config/wizard %dir %{baseinstdir}/share/dtd %{baseinstdir}/share/dtd/officedocument @@ -1818,7 +1843,7 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/share/template/common/presnt %{baseinstdir}/share/template/common/styles %{baseinstdir}/share/template/common/wizard -%dir %{baseinstdir}/share/template/common/l10n +%{baseinstdir}/share/template/common/l10n/ %{baseinstdir}/share/template/wizard %dir %{baseinstdir}/share/wordbook %{baseinstdir}/share/wordbook/en-GB.dic @@ -2072,7 +2097,6 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/program/impress.abignore %endif %{baseinstdir}/program/libPresentationMinimizerlo.so -#%%{baseinstdir}/program/libPresenterScreenlo.so %{baseinstdir}/program/libwpftimpresslo.so %dir %{baseinstdir}/share/config/soffice.cfg/simpress %{baseinstdir}/share/config/soffice.cfg/simpress/effects.xml @@ -2137,6 +2161,7 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{baseinstdir}/program/classes/libreoffice.jar %{baseinstdir}/program/classes/ridl.jar %{baseinstdir}/program/classes/unoloader.jar +%{baseinstdir}/program/classes/java_websocket.jar %{baseinstdir}/program/javaldx %{baseinstdir}/program/javavendors.xml %{baseinstdir}/program/jvmfwk3rc @@ -2229,7 +2254,9 @@ rm -rvf %{buildroot}%{libo_python_sitearch}/__pycache__ %{libo_python_sitearch}/uno.py* %{libo_python_sitearch}/unohelper.py* %{libo_python_sitearch}/officehelper.py* -%{baseinstdir}/share/registry/pyuno.xcd +%{libo_python_sitearch}/__pycache__/uno.cpython-* +%{libo_python_sitearch}/__pycache__/unohelper.cpython-* +%{libo_python_sitearch}/__pycache__/officehelper.cpython-* %files librelogo %{baseinstdir}/share/registry/librelogo.xcd @@ -2309,11 +2336,38 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/LibreOfficeKit %changelog +* Wed Feb 21 2024 Sandino Araico Sánchez - 1:24.2.0.2-6 +- Backport de 24.2.0.2 para CentOS 9 +- El __pycache__ ya no se borra + +* Thu Jan 25 2024 Fedora Release Engineering - 1:24.2.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 24 2024 Sandino Araico Sánchez - 24.2.0.2-1 +- Subida de versión +- autocorr para Thai + +* Tue Jan 23 2024 Sandino Araico Sánchez - 24.2.0.1-1 +- Subida de versión +- Requerimiento de gcc-12 para compilación usando gcc-toolset-12 +- Dependencias: liborcus 0.19 y libargon2 +- Pruebas unitarias que fallan, temporalmente borradas +- Correcciones en la sección %files + * Thu Jan 18 2024 Sandino Araico Sánchez - 24.2.0.1-1 - Subida de versión - Requerimiento de gcc-12 para compilación usando gcc-toolset-12 - Dependencias: liborcus 0.19 y libargon2 +* Thu Jan 18 2024 Gwyn Ciesla - 1:24.2.0.2-3 +- Re-enable LTO for non-s390x arches + +* Wed Jan 17 2024 Gwyn Ciesla - 1:24.2.0.2-2 +- Temporarily disable LTO due to gcc14 bug + +* Wed Jan 17 2024 Gwyn Ciesla - 1:24.2.0.2-1 +- 24.2.0.2 + * Tue Dec 12 2023 Sandino Araico Sánchez - 1:7.6.4.1-2 - Backport de 7.6.4.1 para CentOS 9 @@ -5153,3 +5207,4 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || : * Wed Sep 29 2010 Caolán McNamara 3.2.99.1-1 - initial import of the leviathan +## END: Generated by rpmautospec