diff --git a/libreoffice.spec b/libreoffice.spec index efa61ae..5a8eecd 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -4,6 +4,9 @@ %define _default_patch_flags -s -l # undef to get english only and no-langpacks for a faster smoketest build %define langpacks 1 +# make it easier to download sources from pre-release site +# http://dev-builds.libreoffice.org/pre-releases/src +%define source_url http://download.documentfoundation.org/libreoffice/src %if %{langpacks} %define langpack_langs en-US af ar as bg bn ca cs cy da de dz el es et eu fi fr ga gl gu he hi hr hu it ja ko kn lt mai ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru sh si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-CN zh-TW zu @@ -20,26 +23,26 @@ License: LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Ne Group: Applications/Productivity URL: http://www.documentfoundation.org/develop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: http://download.documentfoundation.org/libreoffice/src/libreoffice-artwork-%{version}.tar.bz2 -Source1: http://download.documentfoundation.org/libreoffice/src/libreoffice-base-%{version}.tar.bz2 -Source2: http://download.documentfoundation.org/libreoffice/src/libreoffice-bootstrap-%{version}.tar.bz2 -Source3: http://download.documentfoundation.org/libreoffice/src/libreoffice-calc-%{version}.tar.bz2 -Source4: http://download.documentfoundation.org/libreoffice/src/libreoffice-components-%{version}.tar.bz2 -Source5: http://download.documentfoundation.org/libreoffice/src/libreoffice-extensions-%{version}.tar.bz2 -Source6: http://download.documentfoundation.org/libreoffice/src/libreoffice-extras-%{version}.tar.bz2 -Source7: http://download.documentfoundation.org/libreoffice/src/libreoffice-filters-%{version}.tar.bz2 -Source8: http://download.documentfoundation.org/libreoffice/src/libreoffice-help-%{version}.tar.bz2 -Source9: http://download.documentfoundation.org/libreoffice/src/libreoffice-impress-%{version}.tar.bz2 -Source10: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-core-%{version}.tar.bz2 -Source11: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-extern-%{version}.tar.bz2 -Source12: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-extern-sys-%{version}.tar.bz2 -Source13: http://download.documentfoundation.org/libreoffice/src/libreoffice-libs-gui-%{version}.tar.bz2 -Source14: http://download.documentfoundation.org/libreoffice/src/libreoffice-postprocess-%{version}.tar.bz2 -Source15: http://download.documentfoundation.org/libreoffice/src/libreoffice-sdk-%{version}.tar.bz2 -Source16: http://download.documentfoundation.org/libreoffice/src/libreoffice-testing-%{version}.tar.bz2 -Source17: http://download.documentfoundation.org/libreoffice/src/libreoffice-ure-%{version}.tar.bz2 -Source18: http://download.documentfoundation.org/libreoffice/src/libreoffice-writer-%{version}.tar.bz2 -Source19: http://download.documentfoundation.org/libreoffice/src/libreoffice-translations-%{version}.tar.bz2 +Source0: /libreoffice-artwork-%{version}.tar.bz2 +Source1: %{source_url}/libreoffice-base-%{version}.tar.bz2 +Source2: %{source_url}/libreoffice-bootstrap-%{version}.tar.bz2 +Source3: %{source_url}/libreoffice-calc-%{version}.tar.bz2 +Source4: %{source_url}/libreoffice-components-%{version}.tar.bz2 +Source5: %{source_url}/libreoffice-extensions-%{version}.tar.bz2 +Source6: %{source_url}/libreoffice-extras-%{version}.tar.bz2 +Source7: %{source_url}/libreoffice-filters-%{version}.tar.bz2 +Source8: %{source_url}/libreoffice-help-%{version}.tar.bz2 +Source9: %{source_url}/libreoffice-impress-%{version}.tar.bz2 +Source10: %{source_url}/libreoffice-libs-core-%{version}.tar.bz2 +Source11: %{source_url}/libreoffice-libs-extern-%{version}.tar.bz2 +Source12: %{source_url}/libreoffice-libs-extern-sys-%{version}.tar.bz2 +Source13: %{source_url}/libreoffice-libs-gui-%{version}.tar.bz2 +Source14: %{source_url}/libreoffice-postprocess-%{version}.tar.bz2 +Source15: %{source_url}/libreoffice-sdk-%{version}.tar.bz2 +Source16: %{source_url}/libreoffice-testing-%{version}.tar.bz2 +Source17: %{source_url}/libreoffice-ure-%{version}.tar.bz2 +Source18: %{source_url}/libreoffice-writer-%{version}.tar.bz2 +Source19: %{source_url}/libreoffice-translations-%{version}.tar.bz2 Source20: http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll Source21: redhat-langpacks.tar.gz Source22: libreoffice-multiliblauncher.sh