diff --git a/es_AR.oxt b/es_AR.oxt new file mode 100644 index 0000000..2ba4821 Binary files /dev/null and b/es_AR.oxt differ diff --git a/es_BO.oxt b/es_BO.oxt new file mode 100644 index 0000000..45602c1 Binary files /dev/null and b/es_BO.oxt differ diff --git a/es_CL.oxt b/es_CL.oxt new file mode 100644 index 0000000..001c539 Binary files /dev/null and b/es_CL.oxt differ diff --git a/es_CO.oxt b/es_CO.oxt new file mode 100644 index 0000000..bddc93d Binary files /dev/null and b/es_CO.oxt differ diff --git a/es_CR.oxt b/es_CR.oxt new file mode 100644 index 0000000..1e1b7d2 Binary files /dev/null and b/es_CR.oxt differ diff --git a/es_CU.oxt b/es_CU.oxt new file mode 100644 index 0000000..93c28ef Binary files /dev/null and b/es_CU.oxt differ diff --git a/es_DO.oxt b/es_DO.oxt new file mode 100644 index 0000000..7d9b9d7 Binary files /dev/null and b/es_DO.oxt differ diff --git a/es_EC.oxt b/es_EC.oxt new file mode 100644 index 0000000..bd1a0cf Binary files /dev/null and b/es_EC.oxt differ diff --git a/es_ES.oxt b/es_ES.oxt new file mode 100644 index 0000000..0930a7e Binary files /dev/null and b/es_ES.oxt differ diff --git a/es_GT.oxt b/es_GT.oxt new file mode 100644 index 0000000..59cf2c0 Binary files /dev/null and b/es_GT.oxt differ diff --git a/es_HN.oxt b/es_HN.oxt new file mode 100644 index 0000000..3225565 Binary files /dev/null and b/es_HN.oxt differ diff --git a/es_MX.oxt b/es_MX.oxt new file mode 100644 index 0000000..995b335 Binary files /dev/null and b/es_MX.oxt differ diff --git a/es_NI.oxt b/es_NI.oxt new file mode 100644 index 0000000..466e51f Binary files /dev/null and b/es_NI.oxt differ diff --git a/es_PA.oxt b/es_PA.oxt new file mode 100644 index 0000000..ba30da0 Binary files /dev/null and b/es_PA.oxt differ diff --git a/es_PE.oxt b/es_PE.oxt new file mode 100644 index 0000000..6f771a0 Binary files /dev/null and b/es_PE.oxt differ diff --git a/es_PR.oxt b/es_PR.oxt new file mode 100644 index 0000000..19ac370 Binary files /dev/null and b/es_PR.oxt differ diff --git a/es_PY.oxt b/es_PY.oxt new file mode 100644 index 0000000..232922a Binary files /dev/null and b/es_PY.oxt differ diff --git a/es_SV.oxt b/es_SV.oxt new file mode 100644 index 0000000..6ebe10b Binary files /dev/null and b/es_SV.oxt differ diff --git a/es_US.oxt b/es_US.oxt new file mode 100644 index 0000000..341d5a1 Binary files /dev/null and b/es_US.oxt differ diff --git a/es_UY.oxt b/es_UY.oxt new file mode 100644 index 0000000..e8f2149 Binary files /dev/null and b/es_UY.oxt differ diff --git a/es_VE.oxt b/es_VE.oxt new file mode 100644 index 0000000..165d111 Binary files /dev/null and b/es_VE.oxt differ diff --git a/hunspell-es.spec b/hunspell-es.spec new file mode 100644 index 0000000..2ddf8e5 --- /dev/null +++ b/hunspell-es.spec @@ -0,0 +1,333 @@ +Name: hunspell-es +Version: 2.3 +Release: 4 +Summary: Hunspell dictionaries for Spanish +License: LGPLv3+ or GPLv3+ or MPLv1.1 +URL: https://github.com/sbosio/rla-es/ +Epoch: 1 +Source0: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_AR.oxt +Source1: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_BO.oxt +Source2: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_CL.oxt +Source3: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_CO.oxt +Source4: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_CR.oxt +Source5: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_CU.oxt +Source6: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_DO.oxt +Source7: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_EC.oxt +Source8: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_ES.oxt +Source9: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_GT.oxt +Source10: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_HN.oxt +Source11: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_MX.oxt +Source12: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_NI.oxt +Source13: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_PA.oxt +Source14: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_PE.oxt +Source15: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_PR.oxt +Source16: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_PY.oxt +Source17: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_SV.oxt +Source18: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_UY.oxt +Source19: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_US.oxt +Source20: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_VE.oxt + +BuildArch: noarch + +Requires: hunspell +Requires: hunspell-es-AR = %{epoch}:%{version}-%{release} +Requires: hunspell-es-BO = %{epoch}:%{version}-%{release} +Requires: hunspell-es-CL = %{epoch}:%{version}-%{release} +Requires: hunspell-es-CO = %{epoch}:%{version}-%{release} +Requires: hunspell-es-CR = %{epoch}:%{version}-%{release} +Requires: hunspell-es-CU = %{epoch}:%{version}-%{release} +Requires: hunspell-es-DO = %{epoch}:%{version}-%{release} +Requires: hunspell-es-EC = %{epoch}:%{version}-%{release} +Requires: hunspell-es-ES = %{epoch}:%{version}-%{release} +Requires: hunspell-es-GT = %{epoch}:%{version}-%{release} +Requires: hunspell-es-HN = %{epoch}:%{version}-%{release} +Requires: hunspell-es-MX = %{epoch}:%{version}-%{release} +Requires: hunspell-es-NI = %{epoch}:%{version}-%{release} +Requires: hunspell-es-PA = %{epoch}:%{version}-%{release} +Requires: hunspell-es-PE = %{epoch}:%{version}-%{release} +Requires: hunspell-es-PR = %{epoch}:%{version}-%{release} +Requires: hunspell-es-PY = %{epoch}:%{version}-%{release} +Requires: hunspell-es-SV = %{epoch}:%{version}-%{release} +Requires: hunspell-es-UY = %{epoch}:%{version}-%{release} +Requires: hunspell-es-US = %{epoch}:%{version}-%{release} +Requires: hunspell-es-VE = %{epoch}:%{version}-%{release} +Supplements: (hunspell and langpacks-es) + +%description +Hunspell dictionaries for Spanish (Spain, Mexico, etc.). + +%package AR +Requires: hunspell +Summary: Hunspell dictionary for Argentine Spanish + +%description AR +Hunspell dictionary for Argentine Spanish. + +%package BO +Requires: hunspell +Summary: Hunspell dictionary for Bolivian Spanish + +%description BO +Hunspell dictionary for Bolivian Spanish. + +%package CL +Requires: hunspell +Summary: Hunspell dictionary for Chilean Spanish + +%description CL +Hunspell dictionary for Chilean Spanish. + +%package CO +Requires: hunspell +Summary: Hunspell dictionary for Colombian Spanish + +%description CO +Hunspell dictionary for Colombian Spanish. + +%package CR +Requires: hunspell +Summary: Hunspell dictionary for Costa Rican Spanish + +%description CR +Hunspell dictionary for Costa Rican Spanish. + +%package CU +Requires: hunspell +Summary: Hunspell dictionary for Cuban Spanish + +%description CU +Hunspell dictionary for Cuban Spanish. + +%package DO +Requires: hunspell +Summary: Hunspell dictionary for Dominican Spanish + +%description DO +Hunspell dictionary for Dominican Spanish. + +%package EC +Requires: hunspell +Summary: Hunspell dictionary for Ecuadorian Spanish + +%description EC +Hunspell dictionary for Ecuadorian Spanish. + +%package ES +Requires: hunspell +Summary: Hunspell dictionary for European Spanish + +%description ES +Hunspell dictionary for European Spanish. + +%package GT +Requires: hunspell +Summary: Hunspell dictionary for Guatemalan Spanish + +%description GT +Hunspell dictionary for Guatemalan Spanish. + +%package HN +Requires: hunspell +Summary: Hunspell dictionary for Honduran Spanish + +%description HN +Hunspell dictionary for Honduran Spanish. + +%package MX +Requires: hunspell +Summary: Hunspell dictionary for Mexican Spanish + +%description MX +Hunspell dictionary for Mexican Spanish. + +%package NI +Requires: hunspell +Summary: Hunspell dictionary for Nicaraguan Spanish + +%description NI +Hunspell dictionary for Nicaraguan Spanish. + +%package PA +Requires: hunspell +Summary: Hunspell dictionary for Panamanian Spanish + +%description PA +Hunspell dictionary for Panamanian Spanish. + +%package PE +Requires: hunspell +Summary: Hunspell dictionary for Peruvian Spanish + +%description PE +Hunspell dictionary for Peruvian Spanish. + +%package PR +Requires: hunspell +Summary: Hunspell dictionary for Puerto Rican Spanish + +%description PR +Hunspell dictionary for Puerto Rican Spanish. + +%package PY +Requires: hunspell +Summary: Hunspell dictionary for Paraguayan Spanish + +%description PY +Hunspell dictionary for Paraguayan Spanish. + +%package SV +Requires: hunspell +Summary: Hunspell dictionary for Salvadoran Spanish + +%description SV +Hunspell dictionary for Salvadoran Spanish. + +%package US +Requires: hunspell +Summary: Hunspell dictionary for US Spanish + +%description US +Hunspell dictionary for US Spanish. + +%package UY +Requires: hunspell +Summary: Hunspell dictionary for Uruguayan Spanish + +%description UY +Hunspell dictionary for Uruguayan Spanish. + +%package VE +Requires: hunspell +Summary: Hunspell dictionary for Venezuelan Spanish + +%description VE +Hunspell dictionary for Venezuelan Spanish. + +%define es_REGIONS es_ES es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE + +%prep +%autosetup -c -n hunspell-es -p1 + +for REGION in %{es_REGIONS}; do + unzip -q -o %{_sourcedir}/${REGION}.oxt +done + +%build + +%install +install -d %{buildroot}/%{_datadir}/myspell + +for REGION in %{es_REGIONS}; do + install -p $REGION.dic %{buildroot}/%{_datadir}/myspell/ + install -p $REGION.aff %{buildroot}/%{_datadir}/myspell/ +done + +%files + +%files ES +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_ES.* + + +%files AR +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_AR.* + + +%files BO +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_BO.* + + +%files CL +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_CL.* + + +%files CO +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_CO.* + + +%files CR +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_CR.* + + +%files CU +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_CU.* + + +%files DO +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_DO.* + + +%files EC +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_EC.* + + +%files GT +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_GT.* + + +%files HN +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_HN.* + + +%files MX +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_MX.* + + +%files NI +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_NI.* + + +%files PA +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_PA.* + + +%files PE +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_PE.* + + +%files PR +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_PR.* + + +%files PY +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_PY.* + + +%files SV +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_SV.* + + +%files US +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_US.* + + +%files UY +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_UY.* + + +%files VE +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt +%{_datadir}/myspell/es_VE.* + +%changelog +* Thu Apr 16 2020 leiju - 1:2.3-4 +- Package init diff --git a/hunspell-es.yaml b/hunspell-es.yaml new file mode 100644 index 0000000..827c5ac --- /dev/null +++ b/hunspell-es.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/sbosio/rla-es/ +version_control: github +src_repo: sbosio/rla-es +tag_prefix: "^v" +seperator: "."