temp. disable building of help on ARM to fix build

f41
David Tardon 8 years ago
parent 209860c4a6
commit 0327b7b857

@ -32,12 +32,19 @@
%global file_triggers 1 %global file_triggers 1
%endif %endif
%global girapiversion 0.1 %global girapiversion 0.1
%ifarch %{arm}
%global armhack 1
%endif
# get english only and no-langpacks for a faster smoketest build # get english only and no-langpacks for a faster smoketest build
# fedpkg compile/install/local/mockbuild does not handle --without ATM, # fedpkg compile/install/local/mockbuild does not handle --without ATM,
# so it is necessary to change this to bcond_with to achieve the same # so it is necessary to change this to bcond_with to achieve the same
# effect # effect
%if 0%{?armhack}
%bcond_with langpacks
%else
%bcond_without langpacks %bcond_without langpacks
%endif
# remove workdir at the end of %%build, to allow build on space-constrained machines # remove workdir at the end of %%build, to allow build on space-constrained machines
%ifarch s390 s390x %ifarch s390 s390x
@ -802,7 +809,9 @@ Provides additional %{langname} translations and resources for LibreOffice. \
%{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \ %{-s:%{baseinstdir}/share/registry/%{-s*}_%{_langpack_lang}.xcd} \
%{-T: \ %{-T: \
%docdir %{baseinstdir}/help/%{_langpack_lang} \ %docdir %{baseinstdir}/help/%{_langpack_lang} \
%if !0%{?armhack}
%{baseinstdir}/help/%{_langpack_lang} \ %{baseinstdir}/help/%{_langpack_lang} \
%endif
} \ } \
%{-i:%{expand:%%_langpack_common %{-i*}}} \ %{-i:%{expand:%%_langpack_common %{-i*}}} \
} \ } \
@ -1084,7 +1093,9 @@ touch autogen.lastrun
--with-build-version="%{version}-%{release}" \ --with-build-version="%{version}-%{release}" \
--with-external-dict-dir=/usr/share/myspell \ --with-external-dict-dir=/usr/share/myspell \
--with-external-tar="$EXTSRCDIR" \ --with-external-tar="$EXTSRCDIR" \
%if !0%{?armhack}
--with-help \ --with-help \
%endif
--with-system-dicts \ --with-system-dicts \
--with-system-libs \ --with-system-libs \
--without-fonts \ --without-fonts \
@ -1451,6 +1462,7 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%files core %files core
%dir %{baseinstdir} %dir %{baseinstdir}
%dir %{baseinstdir}/help %dir %{baseinstdir}/help
%if !0%{?armhack}
%docdir %{baseinstdir}/help/en-US %docdir %{baseinstdir}/help/en-US
%dir %{baseinstdir}/help/en-US %dir %{baseinstdir}/help/en-US
%{baseinstdir}/help/en-US/default.css %{baseinstdir}/help/en-US/default.css
@ -1462,6 +1474,7 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%{baseinstdir}/help/en-US/sbasic.* %{baseinstdir}/help/en-US/sbasic.*
%{baseinstdir}/help/en-US/schart.* %{baseinstdir}/help/en-US/schart.*
%{baseinstdir}/help/en-US/shared.* %{baseinstdir}/help/en-US/shared.*
%endif
%{baseinstdir}/help/idxcaption.xsl %{baseinstdir}/help/idxcaption.xsl
%{baseinstdir}/help/idxcontent.xsl %{baseinstdir}/help/idxcontent.xsl
%{baseinstdir}/help/main_transform.xsl %{baseinstdir}/help/main_transform.xsl
@ -1873,7 +1886,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif %endif
%files base %files base
%if !0%{?armhack}
%{baseinstdir}/help/en-US/sdatabase.* %{baseinstdir}/help/en-US/sdatabase.*
%endif
%{baseinstdir}/program/classes/hsqldb.jar %{baseinstdir}/program/classes/hsqldb.jar
%{baseinstdir}/program/classes/reportbuilder.jar %{baseinstdir}/program/classes/reportbuilder.jar
%{baseinstdir}/program/classes/reportbuilderwizard.jar %{baseinstdir}/program/classes/reportbuilderwizard.jar
@ -1966,7 +1981,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%doc instdir/LICENSE %doc instdir/LICENSE
%files calc %files calc
%if !0%{?armhack}
%{baseinstdir}/help/en-US/scalc.* %{baseinstdir}/help/en-US/scalc.*
%endif
%{baseinstdir}/program/libanalysislo.so %{baseinstdir}/program/libanalysislo.so
%{baseinstdir}/program/libcalclo.so %{baseinstdir}/program/libcalclo.so
%{baseinstdir}/program/libdatelo.so %{baseinstdir}/program/libdatelo.so
@ -2009,7 +2026,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif %endif
%files draw %files draw
%if !0%{?armhack}
%{baseinstdir}/help/en-US/sdraw.* %{baseinstdir}/help/en-US/sdraw.*
%endif
%{baseinstdir}/share/registry/draw.xcd %{baseinstdir}/share/registry/draw.xcd
%{baseinstdir}/program/pagein-draw %{baseinstdir}/program/pagein-draw
%{baseinstdir}/program/sdraw %{baseinstdir}/program/sdraw
@ -2031,7 +2050,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%{baseinstdir}/program/msgbox.py* %{baseinstdir}/program/msgbox.py*
%files writer %files writer
%if !0%{?armhack}
%{baseinstdir}/help/en-US/swriter.* %{baseinstdir}/help/en-US/swriter.*
%endif
%{baseinstdir}/program/libhwplo.so %{baseinstdir}/program/libhwplo.so
%{baseinstdir}/program/liblwpftlo.so %{baseinstdir}/program/liblwpftlo.so
%{baseinstdir}/program/libmswordlo.so %{baseinstdir}/program/libmswordlo.so
@ -2058,7 +2079,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif %endif
%files impress %files impress
%if !0%{?armhack}
%{baseinstdir}/help/en-US/simpress.* %{baseinstdir}/help/en-US/simpress.*
%endif
%{baseinstdir}/program/libanimcorelo.so %{baseinstdir}/program/libanimcorelo.so
%{baseinstdir}/program/libplacewarelo.so %{baseinstdir}/program/libplacewarelo.so
%{baseinstdir}/program/libPresentationMinimizerlo.so %{baseinstdir}/program/libPresentationMinimizerlo.so
@ -2086,7 +2109,9 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%endif %endif
%files math %files math
%if !0%{?armhack}
%{baseinstdir}/help/en-US/smath.* %{baseinstdir}/help/en-US/smath.*
%endif
%{baseinstdir}/program/libsmlo.so %{baseinstdir}/program/libsmlo.so
%{baseinstdir}/program/libsmdlo.so %{baseinstdir}/program/libsmdlo.so
%{baseinstdir}/program/resource/smen-US.res %{baseinstdir}/program/resource/smen-US.res
@ -2296,6 +2321,7 @@ done
%changelog %changelog
* Wed Jan 18 2017 David Tardon <dtardon@redhat.com> - 1:5.3.0.2-1 * Wed Jan 18 2017 David Tardon <dtardon@redhat.com> - 1:5.3.0.2-1
- update to 5.3.0 rc2 - update to 5.3.0 rc2
- temp. disable building of help on ARM to fix build
* Tue Jan 10 2017 David Tardon <dtardon@redhat.com> - 1:5.3.0.1-1 * Tue Jan 10 2017 David Tardon <dtardon@redhat.com> - 1:5.3.0.1-1
- update to 5.3.0 rc1 - update to 5.3.0 rc1

Loading…
Cancel
Save