diff options
author | CoprDistGit <infra@openeuler.org> | 2023-11-16 10:03:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-11-16 10:03:08 +0000 |
commit | 7c82555f97bafcac354459388b770e20e3450a41 (patch) | |
tree | 88f5c908cb6fc736c21c4c6c4dff272b89a1e237 /libreoffice.spec | |
parent | 15e8baa0e3dcf686bddf3ca4f4c222695599872a (diff) |
automatic import of libreoffice
Diffstat (limited to 'libreoffice.spec')
-rw-r--r-- | libreoffice.spec | 43 |
1 files changed, 29 insertions, 14 deletions
diff --git a/libreoffice.spec b/libreoffice.spec index 0f4acc4..a43be0c 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1,5 +1,5 @@ # download path contains version without the last (fourth) digit -%global libo_version 7.5.5 +%global libo_version 7.5.2 %global vendoroption --with-vendor="%{_vendor}" %global libo_python python3 @@ -20,11 +20,11 @@ # generated by %%langpack definitions %global langpack_langs %{nil} -%global bundling_options 1 +%global bundling_options %{nil} Summary: Free Software Productivity Suite -Epoch: 1 Name: libreoffice +Epoch: 1 Version: %{libo_version}.2 Release: 1 # default new files are: MPLv2 @@ -130,14 +130,12 @@ Patch1: 0001-disble-tip-of-the-day-dialog-by-default.patch Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch # backported Patch3: 0001-Revert-tdf-101630-gdrive-support-w-oAuth-and-Drive-A.patch -Patch4: 0001-default-to-sifr-for-gnome-light-mode.patch +Patch4: 0001-Use-sifr-and-sifr_dark-for-gnome.patch +Patch5: 0001-rhbz-2171265-Report-fatal-InitApplicationServiceMana.patch +Patch6: 0001-rhbz-2171265-Filter-out-all-non-.rdb-files.patch # TODO investigate these -Patch5: 0001-aarch64-failing-here.patch -Patch6: 0001-include-filename-if-the-test-fails.patch -# backported -Patch7: 0001-fix-testSignDocument_PEM_PDF.patch -Patch8: 0001-Only-pass-I.-arguments-to-g-ir-scanner-by-using-pkg-.patch -Patch9: 0001-Adapt-test-code-to-cURL-8.2.0.patch +Patch7: 0001-aarch64-failing-here.patch +Patch8: 0001-include-filename-if-the-test-fails.patch # not upstreamed Patch500: 0001-disable-libe-book-support.patch @@ -402,7 +400,7 @@ Summary: UNO Runtime Environment Requires: %{name}-ure-common = %{epoch}:%{version}-%{release} Requires: unzip%{?_isa} %ifarch %{java_arches} -#we want to ensure that a libjvm.so of this arch is available +# we want to ensure that a libjvm.so of this arch is available Requires: libjvm.so%{?mark64} %endif @@ -842,6 +840,24 @@ sed -i -e /CppunitTest_sc_statistical_functions_test/d sc/Module_sc.mk # aarch64 sed -i -e /CppunitTest_dbaccess_hsqldb_test/d dbaccess/Module_dbaccess.mk # ppc64le sed -i -e s/CppunitTest_dbaccess_RowSetClones// dbaccess/Module_dbaccess.mk # ppc64le sed -i -e s/CppunitTest_sw_macros_test// sw/Module_sw.mk # s390x +# del some tests +#sed -i -e /CppunitTest_chart2_export2/d chart2/Module_chart2.mk +#sed -i -e /CppunitTest_chart2_import2/d chart2/Module_chart2.mk +#sed -i -e /CppunitTest_sdext_pdfimport/d sdext/Module_sdext.mk +#sed -i -e /CppunitTest_vcl_text/d vcl/Module_vcl.mk +#sed -i -e /CppunitTest_sd_layout_tests/d sd/Module_sd.mk +#sed -i -e /CppunitTest_sc_subsequent_export_test2/d sc/Module_sc.mk +#sed -i -e /CppunitTest_sw_ooxmlexport14/d sw/Module_sw.mk +#sed -i -e /CppunitTest_sc_subsequent_filters_test2/d sc/Module_sc.mk +#sed -i -e /CppunitTest_sd_export_tests-ooxml3/d sd/Module_sd.mk +#sed -i -e /CppunitTest_sc_vba_macro_test/d sc/Module_sc.mk +#sed -i -e /CppunitTest_sw_globalfilter/d sw/Module_sw.mk +#sed -i -e /CppunitTest_sc_uicalc/d sc/Module_sc.mk +#sed -i -e /CppunitTest_sw_ooxmlexport11/d sw/Module_sw.mk +#sed -i -e /CppunitTest_sw_ooxmlexport12/d sw/Module_sw.mk +#sed -i -e /CppunitTest_sw_ooxmlexport13/d sw/Module_sw.mk +#sed -i -e /CppunitTest_sw_ooxmlexport16/d sw/Module_sw.mk +# git rm vcl/qa/cppunit/graphicfilter/data/tiff/fail/CVE-2017-9936-1.tiff @@ -965,9 +981,8 @@ rm -rf $WORKDIR/CxxObject $WORKDIR/GenCxxObject $WORKDIR/HelpTarget $WORKDIR/Lin export PRODUCTVERSIONSHORT PRODUCTVERSION # installation - -install -m 0755 -d %{buildroot}%{instdir} export LC_ALL=C +install -m 0755 -d %{buildroot}%{instdir} if ! make instsetoo_native PKGFORMAT=installed DISABLE_STRIP=1 EPM=not-used-but-must-be-set; then echo - ---dump log start--- cat $WORKDIR/installation/LibreOffice/installed/logging/en-US/log_*_en-US.log @@ -1985,5 +2000,5 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/LibreOfficeKit %changelog -* Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 1:7.5.5.2-1 +* Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 1:7.5.2.2-1 - Package init |