# undef to get english only and no-langpacks for a faster smoketest build
%bcond_without langpacks
%if %{with langpacks}
%define langpack_langs en-US af ar as bg bn ca cs cy da de dz el es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv 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
%define with_lang --with-lang="%{langpack_langs}"
%else
@ -24,8 +26,6 @@
%define with_lang ''
%endif
%bcond_without binfilter
Summary: Free Software Productivity Suite
Name: libreoffice
Epoch: 1
@ -597,7 +597,7 @@ Rules for auto-correcting common %{langname} typing errors. \
%*
%if %{langpacks}
%if %{with langpacks}
%langpack -l af -n Afrikaans -F -H -Y -A -S
%langpack -l ar -n Arabic -F -H -S
@ -681,7 +681,7 @@ Rules for auto-correcting common %{langname} typing errors. \