drop conditionals for rhel < 9 and fedora < 36

f41
Caolán McNamara 3 years ago
parent 3ad712428f
commit bddc32c9c1

2
.gitignore vendored

@ -1,5 +1,3 @@
/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip /a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip /17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
/185d60944ea767075d27247c3162b3bc-unowinreg.dll /185d60944ea767075d27247c3162b3bc-unowinreg.dll

@ -73,20 +73,13 @@ Source8: libreoffice-multiliblauncher.sh
Source9: %{external_url}/dtoa-20180411.tgz Source9: %{external_url}/dtoa-20180411.tgz
Source10: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip Source10: %{external_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
%if 0%{?fedora} && 0%{?fedora} < 36
Source11: %{external_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
Source12: %{external_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
%endif
#Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose #Unfortunately later versions of hsqldb changed the file format, so if we use a later version we loose
#backwards compatability. #backwards compatability.
Source13: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip Source11: %{external_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
Source14: %{external_url}/../extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf Source12: %{external_url}/../extern/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
%global bundling_options %{?bundling_options} --without-system-hsqldb %global bundling_options %{?bundling_options} --without-system-hsqldb
Provides: bundled(hsqldb) = 1.8.0 Provides: bundled(hsqldb) = 1.8.0
%if 0%{?fedora} && 0%{?fedora} < 36
Provides: bundled(rhino) = 1.5
%endif
Provides: bundled(xsltml) = 2.1.2 Provides: bundled(xsltml) = 2.1.2
# symbolic icons # symbolic icons
@ -214,20 +207,13 @@ BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(libeot) BuildRequires: pkgconfig(libeot)
BuildRequires: pkgconfig(libepubgen-0.1) BuildRequires: pkgconfig(libepubgen-0.1)
BuildRequires: pkgconfig(libqxp-0.0) BuildRequires: pkgconfig(libqxp-0.0)
%if 0%{?fedora} > 33 || 0%{?rhel} > 8 BuildRequires: pkgconfig(liborcus-0.17)
BuildRequires: pkgconfig(liborcus-0.16) BuildRequires: pkgconfig(mdds-2.0)
%else
BuildRequires: pkgconfig(liborcus-0.15)
%endif
BuildRequires: pkgconfig(mdds-1.5)
BuildRequires: pkgconfig(zxing) BuildRequires: pkgconfig(zxing)
BuildRequires: libnumbertext-devel BuildRequires: libnumbertext-devel
# java stuff # java stuff
BuildRequires: ant BuildRequires: ant
%if 0%{?fedora} && 0%{?fedora} < 36
BuildRequires: bsh
%endif
BuildRequires: java-devel BuildRequires: java-devel
BuildRequires: junit BuildRequires: junit
BuildRequires: pentaho-reporting-flow-engine BuildRequires: pentaho-reporting-flow-engine
@ -316,10 +302,8 @@ Obsoletes: libreoffice-headless < 1:4.4.0.0
Obsoletes: libreoffice-math-debuginfo < 1:6.4.7.2 Obsoletes: libreoffice-math-debuginfo < 1:6.4.7.2
Provides: libreoffice-headless = %{epoch}:%{version}-%{release} Provides: libreoffice-headless = %{epoch}:%{version}-%{release}
Provides: libreoffice-headless%{?_isa} = %{epoch}:%{version}-%{release} Provides: libreoffice-headless%{?_isa} = %{epoch}:%{version}-%{release}
%if 0%{?fedora} > 35 || 0%{?rhel}
Obsoletes: libreoffice-bsh < 1:7.3.0.4 Obsoletes: libreoffice-bsh < 1:7.3.0.4
Obsoletes: libreoffice-rhino < 1:7.3.0.4 Obsoletes: libreoffice-rhino < 1:7.3.0.4
%endif
%description core %description core
The shared core libraries and support files for LibreOffice. The shared core libraries and support files for LibreOffice.
@ -352,25 +336,6 @@ Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
GUI database front-end for LibreOffice. Allows creation and management of GUI database front-end for LibreOffice. Allows creation and management of
databases through a GUI. databases through a GUI.
%if 0%{?fedora} && 0%{?fedora} < 36
%package bsh
Summary: BeanShell support for LibreOffice
Requires: bsh
Requires: java >= 1:1.6
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
%description bsh
Support BeanShell scripts in LibreOffice.
%package rhino
Summary: JavaScript support for LibreOffice
Requires: java >= 1:1.6
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
%description rhino
Support JavaScript scripts in LibreOffice.
%endif
%package officebean %package officebean
Summary: JavaBean for LibreOffice Components Summary: JavaBean for LibreOffice Components
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
@ -741,11 +706,7 @@ This package provides gdb pretty printers for package %{name}.
Summary: %{langname} language pack for LibreOffice \ Summary: %{langname} language pack for LibreOffice \
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \ Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} \
%{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \ %{-a:Requires: autocorr-%{-a*}}%{!-a:%{-A:Requires: autocorr-%{lang}}} \
%if 0%{?rhel} && 0%{?rhel} < 9 \
%{-f:Requires: font(:lang=%{-f*})}%{!-f:%{-F:Requires: font(:lang=%{lang})}} \
%else \
%{-f:Recommends: langpacks-%{-f*}}%{!-f:%{-F:Recommends: langpacks-%{lang}}} \ %{-f:Recommends: langpacks-%{-f*}}%{!-f:%{-F:Recommends: langpacks-%{lang}}} \
%endif \
%{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \ %{-h:Requires: hunspell-%{-h*}}%{!-h:%{-H:Requires: hunspell-%{lang}}} \
%{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \ %{-m:Requires: mythes-%{-m*}}%{!-m:%{-M:Requires: mythes-%{lang}}} \
%{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \ %{-y:Requires: hyphen-%{-y*}}%{!-y:%{-Y:Requires: hyphen-%{lang}}} \
@ -867,18 +828,9 @@ Rules for auto-correcting common %{langname} typing errors. \
%langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -g pa_IN -X %langpack -l pa -n Punjabi -F -H -Y -s ctl -L pa-IN -g pa_IN -X
%langpack -l pl -n Polish -F -H -Y -M -A -T -X %langpack -l pl -n Polish -F -H -Y -M -A -T -X
%if 0%{?rhel} && 0%{?rhel} < 9
%define langpack_lang Brazilian Portuguese
%langpack -l pt-BR -n %{langpack_lang} -f pt -h pt -y pt -m pt -a pt -p pt_BR -T -X -g pt_BR
%else
%define langpack_lang Brazilian Portuguese %define langpack_lang Brazilian Portuguese
%langpack -l pt-BR -n %{langpack_lang} -f pt_BR -h pt -y pt -m pt -a pt -p pt_BR -T -X -g pt_BR %langpack -l pt-BR -n %{langpack_lang} -f pt_BR -h pt -y pt -m pt -a pt -p pt_BR -T -X -g pt_BR
%endif
%langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt %langpack -l pt-PT -n Portuguese -f pt -h pt -y pt -m pt -a pt -p pt_PT -T -L pt -x pt
%langpack -l ro -n Romanian -A -F -H -Y -M -T -X %langpack -l ro -n Romanian -A -F -H -Y -M -T -X
%langpack -l ru -n Russian -F -H -Y -M -A -T -X %langpack -l ru -n Russian -F -H -Y -M -A -T -X
@ -904,24 +856,12 @@ Rules for auto-correcting common %{langname} typing errors. \
%langpack -l ve -n Venda -F -H -X %langpack -l ve -n Venda -F -H -X
%langpack -l xh -n Xhosa -F -H -X %langpack -l xh -n Xhosa -F -H -X
%if 0%{?rhel} && 0%{?rhel} < 9
%define langpack_lang Simplified Chinese
%langpack -l zh-Hans -n %{langpack_lang} -f zh-cn -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -g zh_CN
%define langpack_lang Traditional Chinese
%langpack -l zh-Hant -n %{langpack_lang} -f zh-tw -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -g zh_TW
%else
%define langpack_lang Simplified Chinese %define langpack_lang Simplified Chinese
%langpack -l zh-Hans -n %{langpack_lang} -f zh_CN -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -g zh_CN %langpack -l zh-Hans -n %{langpack_lang} -f zh_CN -a zh -p zh_CN -s cjk -T -L zh-CN -x zh-CN -g zh_CN
%define langpack_lang Traditional Chinese %define langpack_lang Traditional Chinese
%langpack -l zh-Hant -n %{langpack_lang} -f zh_TW -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -g zh_TW %langpack -l zh-Hant -n %{langpack_lang} -f zh_TW -a zh -p zh_TW -s cjk -T -L zh-TW -x zh-TW -g zh_TW
%endif
%langpack -l zu -n Zulu -F -H -Y -X %langpack -l zu -n Zulu -F -H -Y -X
%undefine langpack_lang %undefine langpack_lang
@ -1061,15 +1001,11 @@ export CFLAGS=$ARCH_FLAGS
export CXXFLAGS=$ARCH_FLAGS export CXXFLAGS=$ARCH_FLAGS
%if 0%{?rhel} %if 0%{?rhel}
%define distrooptions --disable-eot --disable-scripting-beanshell --disable-scripting-javascript --disable-firebird-sdbc %define distrooptions --disable-eot --disable-firebird-sdbc
%else %else
# fedora # fedora
%if 0%{?fedora} > 35
%define distrooptions --enable-eot --enable-kf5 --disable-scripting-beanshell --disable-scripting-javascript
%else
%define distrooptions --enable-eot --enable-kf5 %define distrooptions --enable-eot --enable-kf5
%endif %endif
%endif
%if %{with langpacks} %if %{with langpacks}
%define with_lang --with-lang='%{langpack_langs}' %define with_lang --with-lang='%{langpack_langs}'
@ -1119,6 +1055,7 @@ touch autogen.lastrun
--with-gdrive-client-id="457862564325.apps.googleusercontent.com" \ --with-gdrive-client-id="457862564325.apps.googleusercontent.com" \
--enable-python=system \ --enable-python=system \
--with-idlc-cpp=cpp \ --with-idlc-cpp=cpp \
--disable-scripting-beanshell --disable-scripting-javascript \
%{distrooptions} \ %{distrooptions} \
%{?bundling_options} \ %{?bundling_options} \
%{?archoptions} \ %{?archoptions} \
@ -1887,19 +1824,6 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%{_bindir}/oobase %{_bindir}/oobase
%{_mandir}/man1/oobase.1* %{_mandir}/man1/oobase.1*
%if 0%{?fedora} && 0%{?fedora} < 36
%files bsh
%{baseinstdir}/program/classes/ScriptProviderForBeanShell.jar
%{baseinstdir}/program/services/scriptproviderforbeanshell.rdb
%{baseinstdir}/share/Scripts/beanshell
%files rhino
%{baseinstdir}/program/classes/js.jar
%{baseinstdir}/program/classes/ScriptProviderForJavaScript.jar
%{baseinstdir}/program/services/scriptproviderforjavascript.rdb
%{baseinstdir}/share/Scripts/javascript
%endif
%files wiki-publisher %files wiki-publisher
%docdir %{baseinstdir}/share/extensions/wiki-publisher/license %docdir %{baseinstdir}/share/extensions/wiki-publisher/license
%{baseinstdir}/share/extensions/wiki-publisher %{baseinstdir}/share/extensions/wiki-publisher
@ -2262,6 +2186,8 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Wed Feb 02 2022 Caolán McNamara <caolanm@redhat.com> - 1:7.3.0.3-1 * Wed Feb 02 2022 Caolán McNamara <caolanm@redhat.com> - 1:7.3.0.3-1
- 7.3.0 release - 7.3.0 release
- drop conditionals for rhel < 9
- drop conditionals for fedora < 36
* Tue Feb 01 2022 Caolán McNamara <caolanm@redhat.com> - 1:7.2.5.2-5 * Tue Feb 01 2022 Caolán McNamara <caolanm@redhat.com> - 1:7.2.5.2-5
- Related: rhbz#2029810 set NoDisplay=true for .desktop on s390x/aarch64 - Related: rhbz#2029810 set NoDisplay=true for .desktop on s390x/aarch64

@ -1,5 +1,3 @@
SHA512 (798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip) = ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f
SHA512 (35c94d2df8893241173de1d16b6034c0-swingExSrc.zip) = 4a48f1e32907fb2dee601cda3cd7a0d7198b2d51f2a572b647f1e93f901fd511eef3567676e52dfb1723a2cdfbc01f2015ca0bb22903b0bc1476dd618cc9aa8a
SHA512 (17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip) = a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a SHA512 (17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip) = a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a
SHA512 (185d60944ea767075d27247c3162b3bc-unowinreg.dll) = 854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c SHA512 (185d60944ea767075d27247c3162b3bc-unowinreg.dll) = 854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c
SHA512 (a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip) = 2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a SHA512 (a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip) = 2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a

Loading…
Cancel
Save