# # spec file for package myspell-dictionaries # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # ################################################################### ## DO NOT EDIT THIS SPEC FILE ## Generate: sh update.sh ################################################################### Name: myspell-dictionaries Version: 20140417 Release: 0 Summary: A Source Package for Dictionaries Used by MySpell License: AGPL-3.0 and BSD-2-Clause and BSD-3-Clause and BSD-4-Clause and CC-BY-SA-1.0 and CC-BY-SA-3.0 and GFDL-1.1 and GPL-2.0 and GPL-2.0+ and GPL-3.0 and GPL-3.0+ and LGPL-2.0 and LGPL-2.1 and LGPL-2.1+ and LGPL-3.0 and LGPL-3.0+ and MPL-1.1 Group: Productivity/Text/Spell Url: http://cgit.freedesktop.org/libreoffice/dictionaries/ Source0: dictionaries.tar.xz BuildRequires: dos2unix BuildRequires: recode BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Obsoletes: libreoffice-hyphen Obsoletes: libreoffice-thesaurus-bg Obsoletes: libreoffice-thesaurus-ca Obsoletes: libreoffice-thesaurus-cs Obsoletes: libreoffice-thesaurus-da Obsoletes: libreoffice-thesaurus-de Obsoletes: libreoffice-thesaurus-de-AT Obsoletes: libreoffice-thesaurus-de-CH Obsoletes: libreoffice-thesaurus-el Obsoletes: libreoffice-thesaurus-en-AU Obsoletes: libreoffice-thesaurus-en-GB Obsoletes: libreoffice-thesaurus-en-US Obsoletes: libreoffice-thesaurus-es Obsoletes: libreoffice-thesaurus-es-AR Obsoletes: libreoffice-thesaurus-es-VE Obsoletes: libreoffice-thesaurus-fr Obsoletes: libreoffice-thesaurus-ga Obsoletes: libreoffice-thesaurus-hu Obsoletes: libreoffice-thesaurus-it Obsoletes: libreoffice-thesaurus-nb Obsoletes: libreoffice-thesaurus-ne Obsoletes: libreoffice-thesaurus-pl Obsoletes: libreoffice-thesaurus-pt Obsoletes: libreoffice-thesaurus-ro Obsoletes: libreoffice-thesaurus-ru Obsoletes: libreoffice-thesaurus-sk Obsoletes: libreoffice-thesaurus-sl Obsoletes: libreoffice-thesaurus-sv Obsoletes: myspell-african Obsoletes: myspell-albanian Obsoletes: myspell-american Obsoletes: myspell-arabic Obsoletes: myspell-armenian Obsoletes: myspell-assamese Obsoletes: myspell-asturian Obsoletes: myspell-australian Obsoletes: myspell-austrian Obsoletes: myspell-belarusian Obsoletes: myspell-bengali Obsoletes: myspell-brazilian Obsoletes: myspell-breton Obsoletes: myspell-british Obsoletes: myspell-bulgarian Obsoletes: myspell-canadian Obsoletes: myspell-catalan Obsoletes: myspell-chichewa Obsoletes: myspell-coptic Obsoletes: myspell-croatian Obsoletes: myspell-czech Obsoletes: myspell-danish Obsoletes: myspell-dutch Obsoletes: myspell-esperanto Obsoletes: myspell-estonian Obsoletes: myspell-faroese Obsoletes: myspell-french Obsoletes: myspell-friulian Obsoletes: myspell-gaelic-scots Obsoletes: myspell-galician Obsoletes: myspell-german Obsoletes: myspell-greek Obsoletes: myspell-gujarati Obsoletes: myspell-haitian Obsoletes: myspell-hebrew Obsoletes: myspell-hindi Obsoletes: myspell-hungarian Obsoletes: myspell-icelandic Obsoletes: myspell-indonese Obsoletes: myspell-irish Obsoletes: myspell-italian Obsoletes: myspell-kazakh Obsoletes: myspell-khmer Obsoletes: myspell-kichwa Obsoletes: myspell-kikuyu Obsoletes: myspell-kinyarwanda Obsoletes: myspell-kiswahili Obsoletes: myspell-korean Obsoletes: myspell-kurdish Obsoletes: myspell-latin Obsoletes: myspell-latvian Obsoletes: myspell-lithuanian Obsoletes: myspell-lower-sorbian Obsoletes: myspell-macedonian Obsoletes: myspell-maithili Obsoletes: myspell-malagasy Obsoletes: myspell-malay Obsoletes: myspell-malayalam Obsoletes: myspell-maory Obsoletes: myspell-marathi Obsoletes: myspell-mexican Obsoletes: myspell-ndebele Obsoletes: myspell-new-zealand Obsoletes: myspell-norsk-bokmaal Obsoletes: myspell-norsk-nynorsk Obsoletes: myspell-nswiss Obsoletes: myspell-occitan-lengadocian Obsoletes: myspell-persian Obsoletes: myspell-polish Obsoletes: myspell-portuguese Obsoletes: myspell-romanian Obsoletes: myspell-russian Obsoletes: myspell-serbian-cyrillic Obsoletes: myspell-serbian-latin Obsoletes: myspell-setswana Obsoletes: myspell-sinhala Obsoletes: myspell-slovak Obsoletes: myspell-slovene Obsoletes: myspell-sotho-northern Obsoletes: myspell-south-african-english Obsoletes: myspell-spanish Obsoletes: myspell-spanish-argentine Obsoletes: myspell-spanish-bolivian Obsoletes: myspell-spanish-chilean Obsoletes: myspell-spanish-colombian Obsoletes: myspell-spanish-costa-rican Obsoletes: myspell-spanish-dominican Obsoletes: myspell-spanish-ecuadorian Obsoletes: myspell-spanish-guatemalan Obsoletes: myspell-spanish-honduran Obsoletes: myspell-spanish-nicaraguan Obsoletes: myspell-spanish-panamanian Obsoletes: myspell-spanish-paraguayan Obsoletes: myspell-spanish-peruvian Obsoletes: myspell-spanish-puerto-rican Obsoletes: myspell-spanish-salvadorean Obsoletes: myspell-spanish-uruguayan Obsoletes: myspell-spanish-venezuelan Obsoletes: myspell-swati Obsoletes: myspell-swedish Obsoletes: myspell-swedish-finland Obsoletes: myspell-tagalog Obsoletes: myspell-thai Obsoletes: myspell-tsonga Obsoletes: myspell-ukrainian Obsoletes: myspell-valencian Obsoletes: myspell-venda Obsoletes: myspell-vietnamese Obsoletes: myspell-welsh Obsoletes: myspell-xhosa Obsoletes: myspell-yiddish Obsoletes: myspell-zulu %description This source package contains dictionaries for MySpell. The MySpell spell-checker is used by the OpenOffice.org office suite, the Mozilla Composer, and the Mozilla Mail message composition window. %package -n myspell-af_ZA Summary: MySpell af_ZA Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-african Provides: myspell-dictionary Provides: locale(libreoffice:af_NA) Provides: locale(libreoffice:af_ZA) Provides: locale(seamonkey-spellchecker:af_NA) Provides: locale(seamonkey-spellchecker:af_ZA) %description -n myspell-af_ZA Afrikaans spelling dictionary, and hyphenation rules. %package -n myspell-an_ES Summary: MySpell an_ES Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:an) Provides: locale(libreoffice:an_ES) Provides: locale(seamonkey-spellchecker:an) Provides: locale(seamonkey-spellchecker:an_ES) %description -n myspell-an_ES Aragonese spelling dictionary. %package -n myspell-ar Summary: MySpell ar Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-arabic Provides: myspell-dictionary Provides: locale(libreoffice:ar_AE) Provides: locale(libreoffice:ar_BH) Provides: locale(libreoffice:ar_DZ) Provides: locale(libreoffice:ar_EG) Provides: locale(libreoffice:ar_IQ) Provides: locale(libreoffice:ar_JO) Provides: locale(libreoffice:ar_KW) Provides: locale(libreoffice:ar_LB) Provides: locale(libreoffice:ar_LY) Provides: locale(libreoffice:ar_MA) Provides: locale(libreoffice:ar_OM) Provides: locale(libreoffice:ar_QA) Provides: locale(libreoffice:ar_SA) Provides: locale(libreoffice:ar_SD) Provides: locale(libreoffice:ar_SY) Provides: locale(libreoffice:ar_TN) Provides: locale(libreoffice:ar_YE) Provides: locale(seamonkey-spellchecker:ar_AE) Provides: locale(seamonkey-spellchecker:ar_BH) Provides: locale(seamonkey-spellchecker:ar_DZ) Provides: locale(seamonkey-spellchecker:ar_EG) Provides: locale(seamonkey-spellchecker:ar_IQ) Provides: locale(seamonkey-spellchecker:ar_JO) Provides: locale(seamonkey-spellchecker:ar_KW) Provides: locale(seamonkey-spellchecker:ar_LB) Provides: locale(seamonkey-spellchecker:ar_LY) Provides: locale(seamonkey-spellchecker:ar_MA) Provides: locale(seamonkey-spellchecker:ar_OM) Provides: locale(seamonkey-spellchecker:ar_QA) Provides: locale(seamonkey-spellchecker:ar_SA) Provides: locale(seamonkey-spellchecker:ar_SD) Provides: locale(seamonkey-spellchecker:ar_SY) Provides: locale(seamonkey-spellchecker:ar_TN) Provides: locale(seamonkey-spellchecker:ar_YE) %description -n myspell-ar Arabic spelling dictionary, and thesaurus Ayaspell. %package -n myspell-be_BY Summary: MySpell be_BY Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-belarusian Provides: myspell-dictionary Provides: locale(libreoffice:be_BY) Provides: locale(seamonkey-spellchecker:be_BY) %description -n myspell-be_BY Belarusian spelling dictionary. %package -n myspell-bg_BG Summary: MySpell bg_BG Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-bg Provides: myspell-bulgarian Provides: myspell-dictionary Provides: locale(libreoffice:bg_BG) Provides: locale(seamonkey-spellchecker:bg_BG) %description -n myspell-bg_BG Bulgarian spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-bn_BD Summary: MySpell bn_BD Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-bengali Provides: myspell-dictionary Provides: locale(libreoffice:bn_BD) Provides: locale(libreoffice:bn_IN) Provides: locale(seamonkey-spellchecker:bn_BD) Provides: locale(seamonkey-spellchecker:bn_IN) %description -n myspell-bn_BD Bengali spelling dictionary. %package -n myspell-br_FR Summary: MySpell br_FR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-breton Provides: myspell-dictionary Provides: locale(libreoffice:br_FR) Provides: locale(seamonkey-spellchecker:br_FR) %description -n myspell-br_FR Breton spelling dictionary. %package -n myspell-bs_BA Summary: MySpell bs_BA Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:bs) Provides: locale(libreoffice:bs_BA) Provides: locale(seamonkey-spellchecker:bs) Provides: locale(seamonkey-spellchecker:bs_BA) %description -n myspell-bs_BA Bosnian spelling dictionary. %package -n myspell-ca Summary: MySpell ca Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-ca Provides: myspell-catalan Provides: myspell-dictionary Provides: myspell-valencian Provides: locale(libreoffice:ca_AD) Provides: locale(libreoffice:ca_ES) Provides: locale(libreoffice:ca_ES_valencia) Provides: locale(libreoffice:ca_FR) Provides: locale(libreoffice:ca_IT) Provides: locale(seamonkey-spellchecker:ca_AD) Provides: locale(seamonkey-spellchecker:ca_ES) Provides: locale(seamonkey-spellchecker:ca_ES_valencia) Provides: locale(seamonkey-spellchecker:ca_FR) Provides: locale(seamonkey-spellchecker:ca_IT) %description -n myspell-ca Catalan spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-cs_CZ Summary: MySpell cs_CZ Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-cs Provides: myspell-czech Provides: myspell-dictionary Provides: locale(libreoffice:cs_CZ) Provides: locale(seamonkey-spellchecker:cs_CZ) %description -n myspell-cs_CZ Czech spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-da_DK Summary: MySpell da_DK Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-da Provides: myspell-danish Provides: myspell-dictionary Provides: locale(libreoffice:da_DK) Provides: locale(seamonkey-spellchecker:da_DK) %description -n myspell-da_DK Danish spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-de Summary: MySpell de Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-austrian Provides: myspell-dictionary Provides: myspell-german Provides: myspell-nswiss Provides: locale(libreoffice:de) Provides: locale(libreoffice:de_AT) Provides: locale(libreoffice:de_CH) Provides: locale(libreoffice:de_DE) Provides: locale(seamonkey-spellchecker:de) Provides: locale(seamonkey-spellchecker:de_AT) Provides: locale(seamonkey-spellchecker:de_CH) Provides: locale(seamonkey-spellchecker:de_DE) %description -n myspell-de German (Austria, Germany, Switzerland) spelling dictionaries, hyphenation rules, and thesaurus. %package -n myspell-el_GR Summary: MySpell el_GR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-el Provides: myspell-dictionary Provides: myspell-greek Provides: locale(libreoffice:el_GR) Provides: locale(seamonkey-spellchecker:el_GR) %description -n myspell-el_GR Greek spelling dictionary, and hyphenation rules. %package -n myspell-en Summary: MySpell en Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-US Provides: libreoffice-thesaurus-en-AU Provides: libreoffice-thesaurus-en-GB Provides: myspell-american Provides: myspell-australian Provides: myspell-british Provides: myspell-canadian Provides: myspell-dictionary Provides: myspell-new-zaeland Provides: myspell-south-african-english Provides: locale(libreoffice:en_AU) Provides: locale(libreoffice:en_BS) Provides: locale(libreoffice:en_BZ) Provides: locale(libreoffice:en_CA) Provides: locale(libreoffice:en_GB) Provides: locale(libreoffice:en_GH) Provides: locale(libreoffice:en_IE) Provides: locale(libreoffice:en_IN) Provides: locale(libreoffice:en_JM) Provides: locale(libreoffice:en_MW) Provides: locale(libreoffice:en_NA) Provides: locale(libreoffice:en_NZ) Provides: locale(libreoffice:en_PH) Provides: locale(libreoffice:en_TT) Provides: locale(libreoffice:en_US) Provides: locale(libreoffice:en_ZA) Provides: locale(libreoffice:en_ZW) Provides: locale(seamonkey-spellchecker:en_AU) Provides: locale(seamonkey-spellchecker:en_BS) Provides: locale(seamonkey-spellchecker:en_BZ) Provides: locale(seamonkey-spellchecker:en_CA) Provides: locale(seamonkey-spellchecker:en_GB) Provides: locale(seamonkey-spellchecker:en_GH) Provides: locale(seamonkey-spellchecker:en_IE) Provides: locale(seamonkey-spellchecker:en_IN) Provides: locale(seamonkey-spellchecker:en_JM) Provides: locale(seamonkey-spellchecker:en_MW) Provides: locale(seamonkey-spellchecker:en_NA) Provides: locale(seamonkey-spellchecker:en_NZ) Provides: locale(seamonkey-spellchecker:en_PH) Provides: locale(seamonkey-spellchecker:en_TT) Provides: locale(seamonkey-spellchecker:en_US) Provides: locale(seamonkey-spellchecker:en_ZA) Provides: locale(seamonkey-spellchecker:en_ZW) %description -n myspell-en English spelling dictionaries, hyphenation rules, thesaurus, and grammar checker. %package -n myspell-es Summary: MySpell es Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-VE Provides: libreoffice-thesaurus-es Provides: libreoffice-thesaurus-es-AR Provides: myspell-dictionary Provides: myspell-mexican Provides: myspell-spanish Provides: myspell-spanish-argentine Provides: myspell-spanish-bolivian Provides: myspell-spanish-chilean Provides: myspell-spanish-colombian Provides: myspell-spanish-costa-rican Provides: myspell-spanish-dominican Provides: myspell-spanish-ecuadorian Provides: myspell-spanish-guatemalan Provides: myspell-spanish-honduran Provides: myspell-spanish-nicaraguan Provides: myspell-spanish-panamanian Provides: myspell-spanish-paraguayan Provides: myspell-spanish-peruvian Provides: myspell-spanish-puerto-rican Provides: myspell-spanish-salvadorean Provides: myspell-spanish-uruguayan Provides: myspell-spanish-venezuelan Provides: locale(libreoffice:es_AR) Provides: locale(libreoffice:es_BO) Provides: locale(libreoffice:es_CL) Provides: locale(libreoffice:es_CO) Provides: locale(libreoffice:es_CR) Provides: locale(libreoffice:es_CU) Provides: locale(libreoffice:es_DO) Provides: locale(libreoffice:es_EC) Provides: locale(libreoffice:es_ES) Provides: locale(libreoffice:es_GT) Provides: locale(libreoffice:es_HN) Provides: locale(libreoffice:es_MX) Provides: locale(libreoffice:es_NI) Provides: locale(libreoffice:es_PA) Provides: locale(libreoffice:es_PE) Provides: locale(libreoffice:es_PR) Provides: locale(libreoffice:es_PY) Provides: locale(libreoffice:es_SV) Provides: locale(libreoffice:es_UY) Provides: locale(libreoffice:es_VE) Provides: locale(seamonkey-spellchecker:es_AR) Provides: locale(seamonkey-spellchecker:es_BO) Provides: locale(seamonkey-spellchecker:es_CL) Provides: locale(seamonkey-spellchecker:es_CO) Provides: locale(seamonkey-spellchecker:es_CR) Provides: locale(seamonkey-spellchecker:es_CU) Provides: locale(seamonkey-spellchecker:es_DO) Provides: locale(seamonkey-spellchecker:es_EC) Provides: locale(seamonkey-spellchecker:es_ES) Provides: locale(seamonkey-spellchecker:es_GT) Provides: locale(seamonkey-spellchecker:es_HN) Provides: locale(seamonkey-spellchecker:es_MX) Provides: locale(seamonkey-spellchecker:es_NI) Provides: locale(seamonkey-spellchecker:es_PA) Provides: locale(seamonkey-spellchecker:es_PE) Provides: locale(seamonkey-spellchecker:es_PR) Provides: locale(seamonkey-spellchecker:es_PY) Provides: locale(seamonkey-spellchecker:es_SV) Provides: locale(seamonkey-spellchecker:es_UY) Provides: locale(seamonkey-spellchecker:es_VE) %description -n myspell-es Spanish spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-et_EE Summary: MySpell et_EE Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-estonian Provides: locale(libreoffice:et_EE) Provides: locale(seamonkey-spellchecker:et_EE) %description -n myspell-et_EE Estonian spelling dictionary, and hyphenation rules. %package -n myspell-fr_FR Summary: MySpell fr_FR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-fr Provides: myspell-dictionary Provides: myspell-french Provides: locale(libreoffice:fr_BE) Provides: locale(libreoffice:fr_CA) Provides: locale(libreoffice:fr_CH) Provides: locale(libreoffice:fr_FR) Provides: locale(libreoffice:fr_LU) Provides: locale(libreoffice:fr_MC) Provides: locale(seamonkey-spellchecker:fr_BE) Provides: locale(seamonkey-spellchecker:fr_CA) Provides: locale(seamonkey-spellchecker:fr_CH) Provides: locale(seamonkey-spellchecker:fr_FR) Provides: locale(seamonkey-spellchecker:fr_LU) Provides: locale(seamonkey-spellchecker:fr_MC) %description -n myspell-fr_FR French spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-gd_GB Summary: MySpell gd_GB Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-gaelic Provides: locale(libreoffice:gd_GB) Provides: locale(seamonkey-spellchecker:gd_GB) %description -n myspell-gd_GB Scottish Gaelic spell checker. %package -n myspell-gl Summary: MySpell gl Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-galician Provides: locale(libreoffice:gl) Provides: locale(libreoffice:gl_ES) Provides: locale(seamonkey-spellchecker:gl) Provides: locale(seamonkey-spellchecker:gl_ES) %description -n myspell-gl Galician spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-gu_IN Summary: MySpell gu_IN Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-gujarati Provides: locale(libreoffice:gu_IN) Provides: locale(seamonkey-spellchecker:gu_IN) %description -n myspell-gu_IN Gujarati spelling dictionary. %package -n myspell-he_IL Summary: MySpell he_IL Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-hebrew Provides: locale(libreoffice:he_IL) Provides: locale(seamonkey-spellchecker:he_IL) %description -n myspell-he_IL Hebrew spelling dictionary. %package -n myspell-hi_IN Summary: MySpell hi_IN Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-hindi Provides: locale(libreoffice:hi_IN) Provides: locale(seamonkey-spellchecker:hi_IN) %description -n myspell-hi_IN Hindi spelling dictionary. %package -n myspell-hr_HR Summary: MySpell hr_HR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-croatian Provides: myspell-dictionary Provides: locale(libreoffice:hr_HR) Provides: locale(seamonkey-spellchecker:hr_HR) %description -n myspell-hr_HR Croatian spelling dictionary, and hyphenation rules. %package -n myspell-hu_HU Summary: MySpell hu_HU Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-hu Provides: myspell-dictionary Provides: myspell-hungarian Provides: locale(libreoffice:hu_HU) Provides: locale(seamonkey-spellchecker:hu_HU) %description -n myspell-hu_HU Hungarian spelling dictionary, hyphenation rules, thesaurus, and grammar checker FSF.hu Foundation. %package -n myspell-is Summary: MySpell is Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-icelandic Provides: locale(libreoffice:is) Provides: locale(libreoffice:is_IS) Provides: locale(seamonkey-spellchecker:is) Provides: locale(seamonkey-spellchecker:is_IS) %description -n myspell-is Icelandic spelling dictionary and thesaurus. %package -n myspell-it_IT Summary: MySpell it_IT Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-it Provides: myspell-dictionary Provides: myspell-italian Provides: locale(libreoffice:it_IT) Provides: locale(seamonkey-spellchecker:it_IT) %description -n myspell-it_IT Italian spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-kmr_Latn Summary: MySpell kmr_Latn Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:kmr_Latn_SY) Provides: locale(libreoffice:kmr_Latn_TR) Provides: locale(seamonkey-spellchecker:kmr_Latn_SY) Provides: locale(seamonkey-spellchecker:kmr_Latn_TR) %description -n myspell-kmr_Latn Kurdish (Turkey) spelling dictionary. %package -n myspell-lo_LA Summary: MySpell lo_LA Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:lo_LA) Provides: locale(seamonkey-spellchecker:lo_LA) %description -n myspell-lo_LA Lao spelling dictionary. %package -n myspell-lt_LT Summary: MySpell lt_LT Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-lithuanian Provides: locale(libreoffice:lt_LT) Provides: locale(seamonkey-spellchecker:lt_LT) %description -n myspell-lt_LT Lithuanian spelling dictionary, and hyphenation rules. %package -n myspell-lv_LV Summary: MySpell lv_LV Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-latvian Provides: locale(libreoffice:lv_LV) Provides: locale(seamonkey-spellchecker:lv_LV) %description -n myspell-lv_LV Latvian spelling dictionary, and hyphenation rules. %package -n myspell-ne_NP Summary: MySpell ne_NP Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:ne_NP) Provides: locale(seamonkey-spellchecker:ne_NP) %description -n myspell-ne_NP Nepali spelling dictionary, and thesaurus. %package -n myspell-nl_NL Summary: MySpell nl_NL Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-dutch Provides: locale(libreoffice:nl_BE) Provides: locale(libreoffice:nl_NL) Provides: locale(seamonkey-spellchecker:nl_BE) Provides: locale(seamonkey-spellchecker:nl_NL) %description -n myspell-nl_NL Dutch spelling dictionary, and hyphenation rules. %package -n myspell-no Summary: MySpell no Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-norsk-bokmaal Provides: myspell-norsk-nynorsk Provides: locale(libreoffice:nb_NO) Provides: locale(libreoffice:nn_NO) Provides: locale(seamonkey-spellchecker:nb_NO) Provides: locale(seamonkey-spellchecker:nn_NO) %description -n myspell-no Norwegian (Nynorsk and Bokmål) spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-oc_FR Summary: MySpell oc_FR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-occitan-lengadocian Provides: locale(libreoffice:oc_FR) Provides: locale(seamonkey-spellchecker:oc_FR) %description -n myspell-oc_FR Occitan spelling dictionary. %package -n myspell-pl_PL Summary: MySpell pl_PL Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-pl Provides: myspell-dictionary Provides: myspell-polish Provides: locale(libreoffice:pl_PL) Provides: locale(seamonkey-spellchecker:pl_PL) %description -n myspell-pl_PL Polish spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-pt_BR Summary: MySpell pt_BR Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-pt Provides: myspell-brazilian Provides: myspell-dictionary Provides: locale(libreoffice:pt_BR) Provides: locale(seamonkey-spellchecker:pt_BR) %description -n myspell-pt_BR Spelling, hyphenation and grammar checking tools for Brazilian Portuguese. %package -n myspell-pt_PT Summary: MySpell pt_PT Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-portuguese Provides: locale(libreoffice:pt_AO) Provides: locale(libreoffice:pt_PT) Provides: locale(seamonkey-spellchecker:pt_AO) Provides: locale(seamonkey-spellchecker:pt_PT) %description -n myspell-pt_PT European Portuguese spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-ro Summary: MySpell ro Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-ro Provides: myspell-dictionary Provides: myspell-romanian Provides: locale(libreoffice:ro_RO) Provides: locale(seamonkey-spellchecker:ro_RO) %description -n myspell-ro rospell Romanian spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-ru_RU Summary: MySpell ru_RU Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-ru Provides: myspell-dictionary Provides: myspell-russian Provides: locale(libreoffice:ru_RU) Provides: locale(seamonkey-spellchecker:ru_RU) %description -n myspell-ru_RU Russian spelling dictionary, hyphenation rules, thesaurus, and grammar checker. %package -n myspell-si_LK Summary: MySpell si_LK Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-sinhala Provides: locale(libreoffice:si_LK) Provides: locale(seamonkey-spellchecker:si_LK) %description -n myspell-si_LK Sinhala spelling dictionary. %package -n myspell-sk_SK Summary: MySpell sk_SK Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-sk Provides: myspell-dictionary Provides: myspell-slovak Provides: locale(libreoffice:sk_SK) Provides: locale(seamonkey-spellchecker:sk_SK) %description -n myspell-sk_SK Slovak spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-sl_SI Summary: MySpell sl_SI Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-sl Provides: myspell-dictionary Provides: myspell-slovene Provides: locale(libreoffice:sl_SI) Provides: locale(seamonkey-spellchecker:sl_SI) %description -n myspell-sl_SI Slovenian spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-sr Summary: MySpell sr Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-serbian-cyrillic Provides: myspell-serbian-latin Provides: locale(libreoffice:sr_CS) Provides: locale(libreoffice:sr_Latn_CS) Provides: locale(libreoffice:sr_Latn_RS) Provides: locale(libreoffice:sr_RS) Provides: locale(seamonkey-spellchecker:sr_CS) Provides: locale(seamonkey-spellchecker:sr_Latn_CS) Provides: locale(seamonkey-spellchecker:sr_Latn_RS) Provides: locale(seamonkey-spellchecker:sr_RS) %description -n myspell-sr Serbian (Cyrillic and Latin) spelling dictionary, and hyphenation rules. %package -n myspell-sv_SE Summary: MySpell sv_SE Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: libreoffice-thesaurus-sv Provides: myspell-dictionary Provides: myspell-swedish Provides: locale(libreoffice:sv_FI) Provides: locale(libreoffice:sv_SE) Provides: locale(seamonkey-spellchecker:sv_FI) Provides: locale(seamonkey-spellchecker:sv_SE) %description -n myspell-sv_SE Swedish spelling dictionary, and thesaurus. %package -n myspell-sw_TZ Summary: MySpell sw_TZ Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-kiswahili Provides: locale(libreoffice:sw_TZ) Provides: locale(seamonkey-spellchecker:sw_TZ) %description -n myspell-sw_TZ Swahili spelling dictionary. %package -n myspell-te_IN Summary: MySpell te_IN Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: locale(libreoffice:te) Provides: locale(libreoffice:te_IN) Provides: locale(seamonkey-spellchecker:te) Provides: locale(seamonkey-spellchecker:te_IN) %description -n myspell-te_IN Telugu spelling dictionary, and hyphenation rules. %package -n myspell-th_TH Summary: MySpell th_TH Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-thai Provides: locale(libreoffice:th_TH) Provides: locale(seamonkey-spellchecker:th_TH) %description -n myspell-th_TH Thai spelling dictionary. %package -n myspell-uk_UA Summary: MySpell uk_UA Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-ukrainian Provides: locale(libreoffice:uk_UA) Provides: locale(seamonkey-spellchecker:uk_UA) %description -n myspell-uk_UA Ukrainian spelling dictionary, hyphenation rules, and thesaurus. %package -n myspell-vi Summary: MySpell vi Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-vietnamese Provides: locale(libreoffice:vi_VN) Provides: locale(seamonkey-spellchecker:vi_VN) %description -n myspell-vi Vietnamese spelling dictionary. %package -n myspell-zu_ZA Summary: MySpell zu_ZA Dictionary Group: Productivity/Text/Spell Requires: myspell-dictionaries Provides: myspell-dictionary Provides: myspell-zulu Provides: locale(libreoffice:zu_ZA) Provides: locale(seamonkey-spellchecker:zu_ZA) %description -n myspell-zu_ZA Zulu hyphenation rules. %prep %setup -q -n dictionaries %build %install function install_dictionary_files { locale_dir=$1 system_dir=$2 files=$3 if [ ! -z "$files" ]; then for file in $files; do echo "LOCALE: $locale_dir SYSTEM_DIR: $system_dir FILE: $file" # install file cp -P $file %{buildroot}%{_datadir}/$system_dir/ # symlink ln -s %{_datadir}/$system_dir/$file %{buildroot}%{_datadir}/$compat_dir/$file # file list echo %{_datadir}/$system_dir/$file >> $locale_dir.list echo %{_datadir}/$compat_dir/$file >> $locale_dir.list done fi } function install_doc_files { locale_dir=$1 doc_files=$2 dos2unix -q $doc_files install -m 755 -d %{buildroot}%{_docdir}/myspell-$locale_dir install -m 644 `echo $doc_files | tr '\n' ' '` %{buildroot}%{_docdir}/myspell-$locale_dir echo "%{_docdir}/myspell-$locale_dir" >> $locale_dir.list } dic_dir="hunspell" hyph_dir="hyphen" th_dir="mythes" compat_dir="myspell" for system_dir in $dic_dir $hyph_dir $th_dir $compat_dir; do install -m 755 -d %{buildroot}%{_datadir}/$system_dir/ done for locale_dir in af_ZA an_ES ar be_BY bg_BG bn_BD br_FR bs_BA ca cs_CZ da_DK de el_GR en es et_EE fr_FR gd_GB gl gu_IN he_IL hi_IN hr_HR hu_HU is it_IT kmr_Latn lo_LA lt_LT lv_LV ne_NP nl_NL no oc_FR pl_PL pt_BR pt_PT ro ru_RU si_LK sk_SK sl_SI sr sv_SE sw_TZ te_IN th_TH uk_UA vi zu_ZA ; do pushd $locale_dir dic_files=`find -maxdepth 1 -name '*.dic' -a ! -name 'hyph*' -o -name '*.aff'` hyph_files=`find -maxdepth 1 -name 'hyph*.dic'` th_files=`find -maxdepth 1 -name 'th*.dat' -o -name 'th*.idx'` doc_files=`find -maxdepth 1 -type f | grep '.txt\|.xcu\|.xml\|.png\|.tex\|^[^.]*$' || true` # install dictionary files echo '%%defattr(-,root,root,-)' > $locale_dir.list install_dictionary_files $locale_dir $dic_dir "$dic_files" install_dictionary_files $locale_dir $hyph_dir "$hyph_files" install_dictionary_files $locale_dir $th_dir "$th_files" # install documentation install_doc_files $locale_dir $doc_files popd mv $locale_dir/$locale_dir.list . done %files %defattr(-,root,root) %dir %{_datadir}/hunspell/ %dir %{_datadir}/hyphen/ %dir %{_datadir}/mythes/ %dir %{_datadir}/myspell/ %files -n myspell-af_ZA -f af_ZA.list %files -n myspell-an_ES -f an_ES.list %files -n myspell-ar -f ar.list %files -n myspell-be_BY -f be_BY.list %files -n myspell-bg_BG -f bg_BG.list %files -n myspell-bn_BD -f bn_BD.list %files -n myspell-br_FR -f br_FR.list %files -n myspell-bs_BA -f bs_BA.list %files -n myspell-ca -f ca.list %files -n myspell-cs_CZ -f cs_CZ.list %files -n myspell-da_DK -f da_DK.list %files -n myspell-de -f de.list %files -n myspell-el_GR -f el_GR.list %files -n myspell-en -f en.list %files -n myspell-es -f es.list %files -n myspell-et_EE -f et_EE.list %files -n myspell-fr_FR -f fr_FR.list %files -n myspell-gd_GB -f gd_GB.list %files -n myspell-gl -f gl.list %files -n myspell-gu_IN -f gu_IN.list %files -n myspell-he_IL -f he_IL.list %files -n myspell-hi_IN -f hi_IN.list %files -n myspell-hr_HR -f hr_HR.list %files -n myspell-hu_HU -f hu_HU.list %files -n myspell-is -f is.list %files -n myspell-it_IT -f it_IT.list %files -n myspell-kmr_Latn -f kmr_Latn.list %files -n myspell-lo_LA -f lo_LA.list %files -n myspell-lt_LT -f lt_LT.list %files -n myspell-lv_LV -f lv_LV.list %files -n myspell-ne_NP -f ne_NP.list %files -n myspell-nl_NL -f nl_NL.list %files -n myspell-no -f no.list %files -n myspell-oc_FR -f oc_FR.list %files -n myspell-pl_PL -f pl_PL.list %files -n myspell-pt_BR -f pt_BR.list %files -n myspell-pt_PT -f pt_PT.list %files -n myspell-ro -f ro.list %files -n myspell-ru_RU -f ru_RU.list %files -n myspell-si_LK -f si_LK.list %files -n myspell-sk_SK -f sk_SK.list %files -n myspell-sl_SI -f sl_SI.list %files -n myspell-sr -f sr.list %files -n myspell-sv_SE -f sv_SE.list %files -n myspell-sw_TZ -f sw_TZ.list %files -n myspell-te_IN -f te_IN.list %files -n myspell-th_TH -f th_TH.list %files -n myspell-uk_UA -f uk_UA.list %files -n myspell-vi -f vi.list %files -n myspell-zu_ZA -f zu_ZA.list %changelog