hunspell-es/hunspell-es.spec
2024-01-05 23:45:05 +01:00

52 lines
1.4 KiB
RPMSpec

Name: hunspell-es
Version: 2011025
Release: 2mamba
Summary: Spanish hunspell dictionaries
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
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 <ercole69@gmail.com> 2011025-2mamba
- rebuilt
* Tue Jan 25 2011 gil <puntogil@libero.it> 2011025-1mamba
- package created by autospec