diff --git a/README.md b/README.md index d9031a7..15b8515 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # hunspell-es +Spanish hunspell dictionaries. + diff --git a/hunspell-es.spec b/hunspell-es.spec new file mode 100644 index 0000000..3f30926 --- /dev/null +++ b/hunspell-es.spec @@ -0,0 +1,51 @@ +Name: hunspell-es +Version: 2011025 +Release: 2mamba +Summary: Spanish hunspell dictionaries +Group: System/Internationalization +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://es.openoffice.org/programa/diccionario.html +Source: http://es.openoffice.org/files/documents/73/3001/es_ANY.zip +License: GPL, LGPL, MPL 1.1 +Requires: hunspell +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Spanish hunspell dictionaries. + +%prep +%setup -q -c %{name}-%{version} + + +%build +chmod -x * + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +mkdir -p %{buildroot}%{_datadir}/myspell +cp -p es_ANY.dic %{buildroot}%{_datadir}/myspell/es_ES.dic +cp -p es_ANY.aff %{buildroot}%{_datadir}/myspell/es_ES.aff + +pushd %{buildroot}%{_datadir}/myspell/ + for lang in 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; do + ln -s es_ES.aff $lang.aff + ln -s es_ES.dic $lang.dic + done +popd + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_datadir}/myspell +%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt + +%changelog +* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 2011025-2mamba +- rebuilt + +* Tue Jan 25 2011 gil 2011025-1mamba +- package created by autospec