diff --git a/libreoffice.spec b/libreoffice.spec index 9d74a7b..b6c683f 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -15,11 +15,11 @@ %endif %if %{with l10n} -%define langs en-US af ar as bg bn br bs ca cs cy da de dz el en-GB es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv mai mk ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-TW zh-CN zu -%define helplangs ar bg bn bs ca cs da de dz el en-GB es et eu fi fr gl gu he hi hr hu it ja ko lt lv mk nb nl nn pl pt pt-BR ro ru si sk sl sv ta tr uk zh-CN zh-TW en-US +%define langs en_US af ar as bg bn br bs ca cs cy da de dz el en_GB es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv mai mk ml mr nb nl nn nr nso or pa_IN pl pt pt_BR ro ru si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh_TW zh_CN zu +%define helplangs ar bg bn bs ca cs da de dz el en_GB es et eu fi fr gl gu he hi hr hu it ja ko lt lv mk nb nl nn pl pt pt_BR ro ru si sk sl sv ta tr uk zh_CN zh_TW en_US %else -%define langs en-US -%define helplangs en-US +%define langs en_US +%define helplangs en_US %endif %define javaless 1 @@ -58,6 +58,7 @@ Source1: %{relurl}/%{ooname}-dictionaries-%{buildver}.tar.xz Source2: %{relurl}/%{ooname}-help-%{buildver}.tar.xz Source3: %{relurl}/%{ooname}-translations-%{buildver}.tar.xz Source4: %{devexurl}/185d60944ea767075d27247c3162b3bc-unowinreg.dll +Source5: locales.csv # Unused, should be dropped in future package updates Source10: Mandriva-Rosa_Icons.tar.bz2 @@ -679,8 +680,7 @@ Conflicts: %{name}-common < 1:6.3.5 \ \ %%files style-%1 \ %{ooodir}/share/config/images_%{1}*.zip -} \ -%{nil} +} %style_package breeze %style_package colibre @@ -809,2106 +809,64 @@ creation and management of PostgreSQL databases through a GUI. #---------------------------------------------------------------------------- %if %{with l10n} -%package l10n-af -Summary: Afrikaans language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-af -Requires: urw-fonts -Requires: myspell-af -Provides: LibreOffice-l10n-af = %{EVRD} -%description l10n-af -This package contains the localization of LibreOffice in Afrikaans. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif +%define l10n_package()\ +%{expand:\ +%%package l10n-%{1} \ +Summary: %(echo "%{2}" | sed -e 's,___, ,g') language support for LibreOffice \ +Group: Office \ +Provides: %{ooname}-l10n = %{EVRD} \ +Requires: %{ooname}-common = %{EVRD} \ +Requires: locales-%{1} \ +Provides: LibreOffice-l10n-%{1} = %{EVRD} \ +\ +%%description l10n-%{1} \ +This package contains the localization of LibreOffice in %(echo "%{2}" | sed -e 's,___, ,g'). \ +It contains the user interface, the templates and the autotext \ +features. Please note that not all of these are available for all \ +possible language. You can switch user interface language using the \ +standard locales system. \ +\ +%%files l10n-%{1} \ +%{ooodir}/share/registry/res/*_%{3}.* \ +%{ooodir}/share/registry/*-%{3}.* \ +%%optional %{ooodir}/share/registry/*_%{3}.* \ +%{ooodir}/share/autotext/%{3} \ +%{ooodir}/readmes/README_%{3} \ +%{ooodir}/program/resource/%{1} +} + +%{expand: +%(for i in %{langs}; do \ +[ "$i" = "en_US" ] && continue; \ +name="$(grep "^${i};" %{SOURCE5} | awk -F ';' '{print $2}' | tail -n 1 | sed -E -e 's,[[:blank:]],___,g' || :)" ; \ +j="$(echo "$i" | sed -e 's,_,-,g')" ; \ +echo "%%{l10n_package "$i" "$name" "$j"}"; \ +done)} + +%define help_package()\ +%{expand: +%%package help-%{1} \ +Summary: %(echo "%{2}" | sed -e 's,___, ,g') help for LibreOffice \ +Group: Office \ +Provides: %{ooname}-help = %{EVRD} \ +Requires: %{ooname}-l10n-%{1} = %{EVRD} \ +Provides: LibreOffice-help-%{1} = %{EVRD} \ +\ +%%description help-%{1} \ +This package contains the localized help files of LibreOffice in %(echo "%{2}" | sed -e 's,___, ,g'). \ +\ +%%files help-%{1} \ +%{ooodir}/help/%{3} +} + +%{expand: +%(for i in %{helplangs} ; do \ +name="$(grep "^${i};" %{SOURCE5} | awk -F ';' '{print $2}' | tail -n 1 || :)" ; \ +j="$(echo "$i" | sed -e 's,_,-,g')" ; \ +echo "%%{help_package "$i" "$(echo "$name" | sed -E -e 's,[[:blank:]],___,g')" "$j"}"; \ +done) } -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ar -Summary: Arabic language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ar -Requires: fonts-ttf-arabic -Provides: LibreOffice-l10n-ar = %{EVRD} - -%description l10n-ar -This package contains the localization of LibreOffice in Arabic. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-as -Summary: Assamese language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-as -Provides: LibreOffice-l10n-as = %{EVRD} - -%description l10n-as -This package contains the localization of LibreOffice in Assamese. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-bg -Summary: Bulgarian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-bg -Provides: LibreOffice-l10n-bg = %{EVRD} -Recommends: %{ooname}-help-bg = %{EVRD} - -%description l10n-bg -This package contains the localization of LibreOffice in Bulgarian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-bn -Summary: Bengali language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-bn -Provides: LibreOffice-l10n-bn = %{EVRD} -Recommends: %{ooname}-help-bn = %{EVRD} - -%description l10n-bn -This package contains the localization of LibreOffice in Bengali. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-br -Summary: Breton language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-br -Provides: LibreOffice-l10n-br = %{EVRD} - -%description l10n-br -This package contains the localization of LibreOffice in Breton. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-bs -Summary: Bosnian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-bs -Provides: LibreOffice-l10n-bs = %{EVRD} -Recommends: %{ooname}-help-bs = %{EVRD} - -%description l10n-bs -This package contains the localization of LibreOffice in Bosnian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ca -Summary: Catalan language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ca -Requires: urw-fonts -Requires: myspell-ca -Provides: LibreOffice-l10n-ca = %{EVRD} -Recommends: %{ooname}-help-ca = %{EVRD} - -%description l10n-ca -This package contains the localization of LibreOffice in Catalan. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-cs -Summary: Czech language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-cs -Requires: urw-fonts -Requires: myspell-cs -Requires: myspell-hyph-cs -Provides: LibreOffice-l10n-cs = %{EVRD} -Recommends: %{ooname}-help-cs = %{EVRD} - -%description l10n-cs -This package contains the localization of LibreOffice in Czech. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-cy -Summary: Welsh language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-cy -Requires: urw-fonts -Requires: myspell-cy -Provides: LibreOffice-l10n-cy = %{EVRD} - -%description l10n-cy -This package contains the localization of LibreOffice in Welsh. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-da -Summary: Danish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-da -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-da, myspell-hyph-da -Provides: LibreOffice-l10n-da = %{EVRD} -Recommends: %{ooname}-help-da = %{EVRD} - -%description l10n-da -This package contains the localization of LibreOffice in Danish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-de -Summary: German language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-de -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-de -Requires: myspell-hyph-de -Provides: LibreOffice-l10n-de = %{EVRD} -Recommends: %{ooname}-help-de = %{EVRD} - -%description l10n-de -This package contains the localization of LibreOffice in German. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-dz -Summary: Dzongkha language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-dz -Provides: LibreOffice-l10n-dz = %{EVRD} -Recommends: %{ooname}-help-dz = %{EVRD} - -%description l10n-dz -This package contains the localization of LibreOffice in Dzongkha. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-el -Summary: Greek language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-el -Requires: fonts-type1-greek -Requires: myspell-el -Requires: myspell-hyph-el -Provides: LibreOffice-l10n-el = %{EVRD} -Recommends: %{ooname}-help-el = %{EVRD} - -%description l10n-el -This package contains the localization of LibreOffice in Greek. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-en_GB -Summary: British language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-en -Requires: urw-fonts -Requires: myspell-en_GB -Requires: myspell-hyph-en -Provides: LibreOffice-l10n-en_GB = %{EVRD} -Recommends: %{ooname}-help-en_GB = %{EVRD} - -%description l10n-en_GB -This package contains the localization of LibreOffice in British. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-es -Summary: Spanish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-es -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-es -Requires: myspell-hyph-es -Provides: LibreOffice-l10n-es = %{EVRD} -Recommends: %{ooname}-help-es = %{EVRD} - -%description l10n-es -This package contains the localization of LibreOffice in Spanish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-et -Summary: Estonian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-et -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-et -Requires: myspell-hyph-et -Provides: LibreOffice-l10n-et = %{EVRD} -Recommends: %{ooname}-help-et = %{EVRD} - -%description l10n-et -This package contains the localization of LibreOffice in Estonian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-eu -Summary: Basque language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-eu -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Provides: LibreOffice-l10n-eu = %{EVRD} -Recommends: %{ooname}-help-eu = %{EVRD} - -%description l10n-eu -This package contains the localization of LibreOffice in Basque. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-fa -Summary: Farsi language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-fa -Provides: LibreOffice-l10n-fa = %{EVRD} - -%description l10n-fa -This package contains the localization of LibreOffice in Farsi. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-fi -Summary: Finnish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-fi -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Provides: LibreOffice-l10n-fi = %{EVRD} -Recommends: %{ooname}-help-fi = %{EVRD} - -%description l10n-fi -This package contains the localization of LibreOffice in Finnish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-fr -Summary: French language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-fr -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-fr -Requires: myspell-hyph-fr -Provides: LibreOffice-l10n-fr = %{EVRD} -Recommends: %{ooname}-help-fr = %{EVRD} - -%description l10n-fr -This package contains the localization of LibreOffice in French. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ga -Summary: Irish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ga -Provides: LibreOffice-l10n-ga = %{EVRD} - -%description l10n-ga -This package contains the localization of LibreOffice in Irish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-gl -Summary: Galician language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-gl -Provides: LibreOffice-l10n-gl = %{EVRD} -Recommends: %{ooname}-help-gl = %{EVRD} - -%description l10n-gl -This package contains the localization of LibreOffice in Galician. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-gu -Summary: Gujarati language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-gu -Provides: LibreOffice-l10n-gu = %{EVRD} -Recommends: %{ooname}-help-gu = %{EVRD} - -%description l10n-gu -This package contains the localization of LibreOffice in Gujarati. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-he -Summary: Hebrew language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-he -Requires: urw-fonts -Provides: LibreOffice-l10n-he = %{EVRD} -Recommends: %{ooname}-help-he = %{EVRD} - -%description l10n-he -This package contains the localization of LibreOffice in Hebrew. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-hi -Summary: Hindi language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-hi -Requires: urw-fonts -Provides: LibreOffice-l10n-hi = %{EVRD} -Recommends: %{ooname}-help-hi = %{EVRD} - -%description l10n-hi -This package contains the localization of LibreOffice in Hindi. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-hr -Summary: Croatian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-hr -Provides: LibreOffice-l10n-hr = %{EVRD} -Recommends: %{ooname}-help-hr = %{EVRD} - -%description l10n-hr -This package contains the localization of LibreOffice in Croatian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-hu -Summary: Hungarian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-hu -Requires: urw-fonts -Requires: myspell-hu -Requires: myspell-hyph-hu -Provides: LibreOffice-l10n-hu = %{EVRD} -Recommends: %{ooname}-help-hu = %{EVRD} - -%description l10n-hu -This package contains the localization of LibreOffice in Hungarian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-it -Summary: Italian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-it -Requires: myspell-hyph-it -Provides: LibreOffice-l10n-it = %{EVRD} -Recommends: %{ooname}-help-it = %{EVRD} - -%description l10n-it -This package contains the localization of LibreOffice in Italian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ja -Summary: Japanese language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ja -Requires: fonts-ttf-japanese -Provides: LibreOffice-l10n-ja = %{EVRD} -Recommends: %{ooname}-help-ja = %{EVRD} - -%description l10n-ja -This package contains the localization of LibreOffice in Japanese. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-kn -Summary: Kannada language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-kn -Provides: LibreOffice-l10n-kn = %{EVRD} - -%description l10n-kn -This package contains the localization of LibreOffice in Kannada. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ko -Summary: Korean language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ko -Requires: fonts-ttf-korean >= 1.0.2 -Provides: LibreOffice-l10n-ko = %{EVRD} -Recommends: %{ooname}-help-ko = %{EVRD} - -%description l10n-ko -This package contains the localization of LibreOffice in Korean. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-lt -Summary: Lithuanian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-lt -Provides: LibreOffice-l10n-lt = %{EVRD} - -%description l10n-lt -This package contains the localization of LibreOffice in Lithuanian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-lv -Summary: Latvian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-lv -Provides: LibreOffice-l10n-lv = %{EVRD} - -%description l10n-lv -This package contains the localization of LibreOffice in Latvian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-mai -Summary: Maithili language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-mai -Provides: LibreOffice-l10n-mai = %{EVRD} - -%description l10n-mai -This package contains the localization of LibreOffice in Maithili. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ml -Summary: Malayalam language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ml -Provides: LibreOffice-l10n-ml = %{EVRD} - -%description l10n-ml -This package contains the localization of LibreOffice in Malayalam. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-mk -Summary: Macedonian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-mk -Provides: LibreOffice-l10n-mk = %{EVRD} -Recommends: %{ooname}-help-mk = %{EVRD} - -%description l10n-mk -This package contains the localization of LibreOffice in Macedonian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-mr -Summary: Marathi language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-mr -Provides: LibreOffice-l10n-mr = %{EVRD} - -%description l10n-mr -This package contains the localization of LibreOffice in Marathi. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-nb -Summary: Norwegian Bokmal language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-no -Requires: urw-fonts -Provides: LibreOffice-l10n-nb = %{EVRD} -Recommends: %{ooname}-help-nb = %{EVRD} - -%description l10n-nb -This package contains the localization of LibreOffice in Norwegian Bokmal. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-nl -Summary: Dutch language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-nl -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-nl -Requires: myspell-hyph-nl -Provides: LibreOffice-l10n-nl = %{EVRD} -Recommends: %{ooname}-help-nl = %{EVRD} - -%description l10n-nl -This package contains the localization of LibreOffice in Dutch. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-nn -Summary: Norwegian Nynorsk language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-no -Requires: urw-fonts -Provides: LibreOffice-l10n-nn = %{EVRD} -Recommends: %{ooname}-help-nn = %{EVRD} - -%description l10n-nn -This package contains the localization of LibreOffice in Norwegian Nynorsk. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-nr -Summary: Ndebele language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-nr -Provides: LibreOffice-l10n-nr = %{EVRD} - -%description l10n-nr -This package contains the localization of LibreOffice in Ndebele. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-nso -Summary: Northern Shoto language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-nso -Provides: LibreOffice-l10n-nso = %{EVRD} - -%description l10n-nso -This package contains the localization of LibreOffice in Northern Shoto. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-or -Summary: Oriya language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-or -Provides: LibreOffice-l10n-or = %{EVRD} - -%description l10n-or -This package contains the localization of LibreOffice in Oriya. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-pa_IN -Summary: Punjabi language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-pa -Provides: LibreOffice-l10n-pa_IN = %{EVRD} -Provides: LibreOffice-l10n-pa = %{EVRD} - -%description l10n-pa_IN -This package contains the localization of LibreOffice in Punjabi. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-pl -Summary: Polish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-pl -Requires: urw-fonts -Requires: myspell-pl -Requires: myspell-hyph-pl -Provides: LibreOffice-l10n-pl = %{EVRD} -Recommends: %{ooname}-help-pl = %{EVRD} - -%description l10n-pl -This package contains the localization of LibreOffice in Polish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-pt -Summary: Portuguese language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-pt -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-pt -Requires: myspell-hyph-pt -Provides: LibreOffice-l10n-pt = %{EVRD} -Recommends: %{ooname}-help-pt = %{EVRD} - -%description l10n-pt -This package contains the localization of LibreOffice in Portuguese. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-pt_BR -Summary: Portuguese Brazilian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: locales-pt -Requires: urw-fonts -Requires: myspell-pt_BR -Provides: LibreOffice-l10n_pt_BR = %{EVRD} -Recommends: %{ooname}-help-pt_BR = %{EVRD} - -%description l10n-pt_BR -This package contains the localization of LibreOffice in Portuguese -Brazilian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ro -Summary: Romanian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ro -Provides: LibreOffice-l10n-ro = %{EVRD} - -%description l10n-ro -This package contains the localization of LibreOffice in Romanian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ru -Summary: Russian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ru -Recommends: fonts-ttf-paratype -Requires: urw-fonts -Requires: myspell-ru -Requires: myspell-hyph-ru -Provides: LibreOffice-l10n-ru = %{EVRD} -Recommends: %{ooname}-help-ru = %{EVRD} - -%description l10n-ru -This package contains the localization of LibreOffice in Russian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-shs -Summary: Secwepemctsin language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-shs -Provides: LibreOffice-l10n-shs = %{EVRD} - -%description l10n-shs -This package contains the localization of LibreOffice in Secwepemctsin. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-si -Summary: Sinhalese language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-si -Provides: LibreOffice-l10n-si = %{EVRD} -Recommends: %{ooname}-help-si = %{EVRD} - -%description l10n-si -This package contains the localization of LibreOffice in Sinhalese. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-sk -Summary: Slovak language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-sk -Requires: urw-fonts -Requires: myspell-sk -Requires: myspell-hyph-sk -Provides: LibreOffice-l10n-sk = %{EVRD} -Recommends: %{ooname}-help-sk = %{EVRD} - -%description l10n-sk -This package contains the localization of LibreOffice in Slovak. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-sl -Summary: Slovenian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-sl -Requires: urw-fonts -Requires: myspell-sl, myspell-hyph-sl -Provides: LibreOffice-l10n-sl = %{EVRD} -Recommends: %{ooname}-help-sl = %{EVRD} - -%description l10n-sl -This package contains the localization of LibreOffice in Slovenian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-sr -Summary: Serbian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-sr -Provides: LibreOffice-l10n-sr = %{EVRD} - -%description l10n-sr -This package contains the localization of LibreOffice in Serbian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-st -Summary: Sotho language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-st -Provides: LibreOffice-l10n-st = %{EVRD} - -%description l10n-st -This package contains the localization of LibreOffice in Sotho. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ss -Summary: Swati language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ss -Provides: LibreOffice-l10n-ss = %{EVRD} - -%description l10n-ss -This package contains the localization of LibreOffice in Swati. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-sv -Summary: Swedish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-sv -Requires: fonts-ttf-dejavu -Requires: urw-fonts -Requires: myspell-sv -Requires: myspell-hyph-sv -Provides: LibreOffice-l10n-sv = %{EVRD} -Recommends: %{ooname}-help-sv = %{EVRD} - -%description l10n-sv -This package contains the localization of LibreOffice in Swedish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ta -Summary: Tamil language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ta -Requires: urw-fonts -Provides: LibreOffice-l10n-ta = %{EVRD} - -%description l10n-ta -This package contains the localization of LibreOffice in Tamil. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-te -Summary: Telugu language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-te -Provides: LibreOffice-l10n-te = %{EVRD} - -%description l10n-te -This package contains the localization of LibreOffice in Telugu. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-th -Summary: Thai language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-th -Provides: LibreOffice-l10n-th = %{EVRD} - -%description l10n-th -This package contains the localization of LibreOffice in Thai. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-tn -Summary: Tswana language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-tn -Provides: LibreOffice-l10n-tn = %{EVRD} - -%description l10n-tn -This package contains the localization of LibreOffice in Tswana. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-tr -Summary: Turkish language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-tr -Requires: urw-fonts -Provides: LibreOffice-l10n-tr = %{EVRD} -Recommends: %{ooname}-help-tr = %{EVRD} - -%description l10n-tr -This package contains the localization of LibreOffice in Turkish. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ts -Summary: Tsonga language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ts -Provides: LibreOffice-l10n-ts = %{EVRD} - -%description l10n-ts -This package contains the localization of LibreOffice in Tsonga. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-uk -Summary: Ukrainian language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-uk -Provides: LibreOffice-l10n-uk = %{EVRD} -Recommends: %{ooname}-help-uk = %{EVRD} - -%description l10n-uk -This package contains the localization of LibreOffice in Ukrainian. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-ve -Summary: Venda language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-ve -Provides: LibreOffice-l10n-ve = %{EVRD} - -%description l10n-ve -This package contains the localization of LibreOffice in Venda. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-xh -Summary: Xhosa language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-xh -Provides: LibreOffice-l10n-xh = %{EVRD} - -%description l10n-xh -This package contains the localization of LibreOffice in Xhosa. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-zh_CN -Summary: Chinese Simplified language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-zh -Requires: fonts-ttf-chinese -Provides: LibreOffice-l10n-zh_CN = %{EVRD} -Recommends: %{ooname}-help-zh_CN = %{EVRD} - -%description l10n-zh_CN -This package contains the localization of LibreOffice in Chinese Simplified. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-zh_TW -Summary: Chinese Traditional language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-zh -Requires: fonts-ttf-chinese -Provides: LibreOffice-l10n-zh_TW = %{EVRD} -Recommends: %{ooname}-help-zh_TW = %{EVRD} - -%description l10n-zh_TW -This package contains the localization of LibreOffice in Chinese -Traditional. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package l10n-zu -Summary: Zulu language support for LibreOffice -Group: Office -Provides: %{ooname}-l10n = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Requires: locales-zu -Requires: urw-fonts -Requires: myspell-zu -Provides: LibreOffice-l10n-zu = %{EVRD} - -%description l10n-zu -This package contains the localization of LibreOffice in Zulu. -It contains the user interface, the templates and the autotext -features. Please note that not all of these are available for all -possible language. You can switch user interface language using the -standard locales system. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ar -Summary: Arabic help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ar = %{EVRD} -Provides: LibreOffice-help-ar = %{EVRD} - -%description help-ar -This package contains the localized help files of LibreOffice in Arabic. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-bg -Summary: Bulgarian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-bg = %{EVRD} -Provides: LibreOffice-help-bg = %{EVRD} - -%description help-bg -This package contains the localized help files of LibreOffice in Bulgarian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-bn -Summary: Bengali help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-bn = %{EVRD} -Provides: LibreOffice-help-bn = %{EVRD} - -%description help-bn -This package contains the localized help files of LibreOffice in Bengali. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-bs -Summary: Bosnian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-bs = %{EVRD} -Provides: LibreOffice-help-bs = %{EVRD} - -%description help-bs -This package contains the localized help files of LibreOffice in Bosnian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ca -Summary: Catalan help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ca = %{EVRD} -Provides: LibreOffice-help-ca = %{EVRD} - -%description help-ca -This package contains the localized help files of LibreOffice in Catalan. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-cs -Summary: Czech help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-cs = %{EVRD} -Provides: LibreOffice-help-cs = %{EVRD} - -%description help-cs -This package contains the localized help files of LibreOffice in Czech. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-da -Summary: Danish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-da = %{EVRD} -Provides: LibreOffice-help-da = %{EVRD} - -%description help-da -This package contains the localized help files of LibreOffice in Danish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-de -Summary: German help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-de = %{EVRD} -Provides: LibreOffice-help-de = %{EVRD} - -%description help-de -This package contains the localized help files of LibreOffice in German. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-dz -Summary: Dzongkha help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-dz = %{EVRD} -Provides: LibreOffice-help-dz = %{EVRD} - -%description help-dz -This package contains the localized help files of LibreOffice in Dzongkha. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-el -Summary: Greek help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-el = %{EVRD} -Provides: LibreOffice-help-el = %{EVRD} - -%description help-el -This package contains the localized help files of LibreOffice in Greek. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-en_GB -Summary: British help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-en_GB = %{EVRD} -Provides: LibreOffice-help-en_GB = %{EVRD} - -%description help-en_GB -This package contains the localized help files of LibreOffice in British. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-en_US -Summary: American English help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-common = %{EVRD} -Provides: LibreOffice-help-en_US = %{EVRD} - -%description help-en_US -This package contains the localized help files of LibreOffice -in American English. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-es -Summary: Spanish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-es = %{EVRD} -Provides: LibreOffice-help-es = %{EVRD} - -%description help-es -This package contains the localized help files of LibreOffice in Spanish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-et -Summary: Estonian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-et = %{EVRD} -Provides: LibreOffice-help-et = %{EVRD} - -%description help-et -This package contains the localized help files of LibreOffice in Estonian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-eu -Summary: Basque help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-eu = %{EVRD} -Provides: LibreOffice-help-eu = %{EVRD} - -%description help-eu -This package contains the localized help files of LibreOffice in Basque. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-fi -Summary: Finnish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-fi = %{EVRD} -Provides: LibreOffice-help-fi = %{EVRD} - -%description help-fi -This package contains the localized help files of LibreOffice in Finnish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-fr -Summary: French help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-fr = %{EVRD} -Provides: LibreOffice-help-fr = %{EVRD} - -%description help-fr -This package contains the localized help files of LibreOffice in French. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-gu -Summary: Gujarati help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-gu = %{EVRD} -Provides: LibreOffice-help-gu = %{EVRD} - -%description help-gu -This package contains the localized help files of LibreOffice in Gujarati. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-gl -Summary: Galician help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-gl = %{EVRD} -Provides: LibreOffice-help-gl = %{EVRD} - -%description help-gl -This package contains the localized help files of LibreOffice in Galician. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-he -Summary: Hebrew help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-he = %{EVRD} -Provides: LibreOffice-help-he = %{EVRD} - -%description help-he -This package contains the localized help files of LibreOffice in Hebrew. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-hi -Summary: Hindi help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-hi = %{EVRD} -Provides: LibreOffice-help-hi = %{EVRD} - -%description help-hi -This package contains the localized help files of LibreOffice in Hindi. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-hr -Summary: Croatian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-hr = %{EVRD} -Provides: LibreOffice-help-hr = %{EVRD} - -%description help-hr -This package contains the localized help files of LibreOffice in Croatian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-hu -Summary: Hungarian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-hu = %{EVRD} -Provides: LibreOffice-help-hu = %{EVRD} - -%description help-hu -This package contains the localized help files of LibreOffice in Hungarian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-it -Summary: Italian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-it = %{EVRD} -Provides: LibreOffice-help-it = %{EVRD} - -%description help-it -This package contains the localized help files of LibreOffice in Italian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ja -Summary: Japanese help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ja = %{EVRD} -Provides: LibreOffice-help-ja = %{EVRD} - -%description help-ja -This package contains the localized help files of LibreOffice in Japanese. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ko -Summary: Korean help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ko = %{EVRD} -Provides: LibreOffice-help-ko = %{EVRD} - -%description help-ko -This package contains the localized help files of LibreOffice in Korean. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-lt -Summary: Lithuanian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-lt = %{EVRD} -Provides: LibreOffice-help-lt = %{EVRD} - -%description help-lt -This package contains the localized help files of LibreOffice in Lithuanian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-lv -Summary: Latvian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-lv = %{EVRD} -Provides: LibreOffice-help-lv = %{EVRD} - -%description help-lv -This package contains the localized help files of LibreOffice in Latvian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-mk -Summary: Macedonian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-mk = %{EVRD} -Provides: LibreOffice-help-mk = %{EVRD} - -%description help-mk -This package contains the localized help files of LibreOffice in Macedonian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-nb -Summary: Norwegian Bokmal help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-nb = %{EVRD} -Provides: LibreOffice-help-nb = %{EVRD} - -%description help-nb -This package contains the localized help files of LibreOffice in Norwegian -Bokmal. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-nl -Summary: Dutch help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-nl = %{EVRD} -Provides: LibreOffice-help-nl = %{EVRD} - -%description help-nl -This package contains the localized help files of LibreOffice in Dutch. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-nn -Summary: Norwegian Nynorsk help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-nn = %{EVRD} -Provides: LibreOffice-help-nn = %{EVRD} - -%description help-nn -This package contains the localized help files of LibreOffice in Norwegian -Nynorsk. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-pl -Summary: Polish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-pl = %{EVRD} -Provides: LibreOffice-help-pl = %{EVRD} - -%description help-pl -This package contains the localized help files of LibreOffice in Polish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-pt -Summary: Portuguese help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-pt = %{EVRD} -Provides: LibreOffice-help-pt = %{EVRD} - -%description help-pt -This package contains the localized help files of LibreOffice in Portuguese. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-pt_BR -Summary: Portuguese Brazilian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-pt_BR = %{EVRD} -Provides: LibreOffice-help-pt_BR = %{EVRD} - -%description help-pt_BR -This package contains the localized help files of LibreOffice in Portuguese -Brazilian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ro -Summary: Romanian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ro = %{EVRD} -Provides: LibreOffice-help-ro = %{EVRD} - -%description help-ro -This package contains the localized help files of LibreOffice in Romanian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ru -Summary: Russian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ru = %{EVRD} -Provides: LibreOffice-help-ru = %{EVRD} - -%description help-ru -This package contains the localized help files of LibreOffice in Russian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-si -Summary: Sinhalese help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-si = %{EVRD} -Provides: LibreOffice-help-si = %{EVRD} - -%description help-si -This package contains the localized help files of LibreOffice in Sinhalese. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-sk -Summary: Slovak help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-sk = %{EVRD} -Provides: LibreOffice-help-sk = %{EVRD} - -%description help-sk -This package contains the localized help files of LibreOffice in Slovak. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-sl -Summary: Slovenian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-sl = %{EVRD} -Provides: LibreOffice-help-sl = %{EVRD} - -%description help-sl -This package contains the localized help files of LibreOffice in Slovenian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-sv -Summary: Swedish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-sv = %{EVRD} -Provides: LibreOffice-help-sv = %{EVRD} - -%description help-sv -This package contains the localized help files of LibreOffice in Swedish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-ta -Summary: Tamil help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-ta = %{EVRD} -Provides: LibreOffice-help-ta = %{EVRD} - -%description help-ta -This package contains the localized help files of LibreOffice in Tamil. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-tr -Summary: Turkish help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-tr = %{EVRD} -Provides: LibreOffice-help-tr = %{EVRD} - -%description help-tr -This package contains the localized help files of LibreOffice in Turkish. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-uk -Summary: Ukrainian help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-uk = %{EVRD} -Provides: LibreOffice-help-uk = %{EVRD} - -%description help-uk -This package contains the localized help files of LibreOffice in Ukrainian. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-zh_CN -Summary: Chinese Simplified help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-zh_CN = %{EVRD} -Provides: LibreOffice-help-zn_CN = %{EVRD} - -%description help-zh_CN -This package contains the localized help files of LibreOffice in Chinese -Simplified. -%endif - -#---------------------------------------------------------------------------- - -%if %{with l10n} -%package help-zh_TW -Summary: Chinese Traditional help for LibreOffice -Group: Office -Provides: %{ooname}-help = %{EVRD} -Requires: %{ooname}-l10n-zh_TW = %{EVRD} -Provides: LibreOffice-help-zn_CT = %{EVRD} - -%description help-zh_TW -This package contains the localized help files of LibreOffice in Chinese -Traditional. %endif #---------------------------------------------------------------------------- @@ -3005,7 +963,7 @@ sed -i \ %else --with-jdk-home="%{java_home}" \ %endif - --with-lang="%{langs}" \ + --with-lang="$(echo %{langs} | sed -e 's,_,-,g')" \ --without-myspell-dicts \ --with-system-dicts \ --with-help \ @@ -3188,22 +1146,8 @@ egrep -v "libreoffice/share/xdg/(base|calc|draw|impress|math|writer)" file-lists cat file-lists/core_list.uniq.sorted.txt > file-lists/core_list.txt ## styles have their own packages -sed -E -i -e "/^.*images_.*\.zip$/d" file-lists/common_list.txt - -# files for help-* and l10n-* packages -%if %{with l10n} -%{expand:%(for i in %{langs}; do - [ "$i" = "en-US" ] && continue; - i=`echo $i |sed -e 's,-,_,g'`; - [ "$i" = "sh" ] && echo "%%files l10n-shs -f file-lists/lang_${i}_list.txt" || echo "%%files l10n-$i -f file-lists/lang_${i}_list.txt"; -done)} - -%{expand:%(for i in %{helplangs}; do - l=`echo $i |sed -e 's,-,_,g'`; - echo "%%files help-$l -f file-lists/help_${l}_list.txt"; - echo "%%{_libdir}/libreoffice/help/$i"; -done)} -%endif +sed -E -i -e "/^.*images_.*\.zip$/d" file-lists/*.txt +echo %{ooodir}/share/config/images_helpimg.zip >> file-lists/core_list.txt %check # FIXME enable once the connection failures in firebird and hsqldb are fixed diff --git a/locales.csv b/locales.csv new file mode 100644 index 0000000..9606085 --- /dev/null +++ b/locales.csv @@ -0,0 +1,71 @@ +af;Afrikaans +ar;Arabic +as;Assamese +bg;Bulgarian +bn;Bengali +br;Breton +bs;Bosnian +ca;Catalan +cs;Czech +cy;Welsh +da;Danish +de;German +dz;Dzongkha +el;Greek +en_GB;British English +en_US;American English +es;Spanish +et;Estonian +eu;Basque +fa;Farsi +fi;Finnish +fr;French +ga;Irish +gl;Galician +gu;Gujarati +he;Hebrew +hi;Hindi +hr;Croatian +hu;Hungarian +it;Italian +ja;Japanese +kn;Kannada +ko;Korean +lt;Lithuanian +lv;Latvian +mai;Maithili +ml;Malayalam +mk;Macedonian +mr;Marathi +nb;Norwegian Bokmal +nl;Dutch +nn;Norwegian Nynorsk +nr;Ndebele +nso;Northern Shoto +or;Oriya +pa_IN;Punjabi +pl;Polish +pt;Portuguese +pt_BR;Portuguese Brazilian +ro;Romanian +ru;Russian +shs;Secwepemctsin +si;Sinhalese +sk;Slovak +sl;Slovenian +sr;Serbian +st;Sotho +ss;Swati +sv;Swedish +ta;Tamil +te;Telugu +th;Thai +tn;Tswana +tr;Turkish +ts;Tsonga +uk;Ukrainian +ve;Venda +xh;Xhosa +zh_CN;Chinese Simplified +zh_TW;Chinese Traditional +zu;Zulu