1 |
# download path contains version without the last (fourth) digit |
# download path contains version without the last (fourth) digit |
2 |
%define libo_version 4.1.1 |
%define libo_version 4.1.2 |
3 |
# Should contain .alphaX / .betaX, if this is pre-release (actually |
# Should contain .alphaX / .betaX, if this is pre-release (actually |
4 |
# pre-RC) version. The pre-release string is part of tarball file names, |
# pre-RC) version. The pre-release string is part of tarball file names, |
5 |
# so we need a way to define it easily at one place. |
# so we need a way to define it easily at one place. |
39 |
%define _enable_debug_packages 0 |
%define _enable_debug_packages 0 |
40 |
|
|
41 |
Name: libreoffice |
Name: libreoffice |
42 |
Version: %{libo_version}.2 |
Version: %{libo_version}.1 |
43 |
Release: %mkrel 2%{?libo_prerelease} |
Release: %mkrel 2%{?libo_prerelease} |
44 |
Summary: Free Software Productivity Suite |
Summary: Free Software Productivity Suite |
45 |
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 |
License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 |
189 |
Patch14: 0001-Related-rhbz-968892-discard-impossible-languages-for.patch |
Patch14: 0001-Related-rhbz-968892-discard-impossible-languages-for.patch |
190 |
Patch15: 0002-Related-rhbz-968892-discard-impossible-languages-for.patch |
Patch15: 0002-Related-rhbz-968892-discard-impossible-languages-for.patch |
191 |
Patch16: 0001-Resolves-fdo-48835-application-menu-for-LibreOffice.patch |
Patch16: 0001-Resolves-fdo-48835-application-menu-for-LibreOffice.patch |
192 |
Patch17: 0001-only-use-the-SSPI-support-with-internal-neon.patch |
Patch17: 0001-Make-charmap.cxx-compile-with-icu-4.4.patch |
193 |
Patch18: 0001-Always-try-to-mount-in-gio-Content-getGFileInfo.patch |
Patch18: 0001-Resolves-rhbz-1006850-crash-in-SwCommentRuler-GetCom.patch |
194 |
Patch19: 0001-Resolves-rhbz-998046-store-last-size-position-of-the.patch |
Patch19: 0001-select-sheet-menu-as-a-right-click-popup-to-the-prev.patch |
|
Patch20: 0001-Make-charmap.cxx-compile-with-icu-4.4.patch |
|
|
Patch21: 0001-rhbz-1000150-Do-not-call-exit-upon-XIOError.patch |
|
195 |
|
|
196 |
#Mageia Patch |
#Mageia Patch |
197 |
|
|
921 |
%patch14 -p1 -b .rhbz-968892-discard-impossible-languages-for.patch |
%patch14 -p1 -b .rhbz-968892-discard-impossible-languages-for.patch |
922 |
%patch15 -p1 -b .rhbz-968892-discard-impossible-languages-for.patch |
%patch15 -p1 -b .rhbz-968892-discard-impossible-languages-for.patch |
923 |
%patch16 -p1 -b .fdo-48835-application-menu-for-LibreOffice.patch |
%patch16 -p1 -b .fdo-48835-application-menu-for-LibreOffice.patch |
924 |
%patch17 -p1 -b .only-use-the-SSPI-support-with-internal-neon.patch |
%patch17 -p1 -b .Make-charmap.cxx-compile-with-icu-4.4.patch |
925 |
%patch18 -p1 -b .Always-try-to-mount-in-gio-Content-getGFileInfo.patch |
%patch18 -p1 -b .rhbz-1006850-crash-in-SwCommentRuler-GetCom.patch |
926 |
%patch19 -p1 -b .rhbz-998046-store-last-size-position-of-the.patch |
%patch19 -p1 -b .select-sheet-menu-as-a-right-click-popup-to-the-prev.patch |
|
%patch20 -p1 -b .Make-charmap.cxx-compile-with-icu-4.4.patch |
|
|
%patch21 -p1 -b .rhbz-1000150-Do-not-call-exit-upon-XIOError.patch |
|
927 |
|
|
928 |
|
|
929 |
# TODO: check this |
# TODO: check this |
931 |
# strings with spattering of translated strings |
# strings with spattering of translated strings |
932 |
rm -rf translations/source/{gu,he,hr}/helpcontent2 |
rm -rf translations/source/{gu,he,hr}/helpcontent2 |
933 |
|
|
|
# disable failing test |
|
|
# FIXME something to do with python3? |
|
|
sed -i -e /sw_macros_test/d -e /sw_subsequent_.\*port/d sw/Module_sw.mk |
|
|
|
|
934 |
%build |
%build |
935 |
echo build start time is `date`, diskspace: `df -h . | tail -n 1` |
echo build start time is `date`, diskspace: `df -h . | tail -n 1` |
936 |
echo building localizations: %{langpack_langs} |
echo building localizations: %{langpack_langs} |