Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046578
en ru br
ALT Linux repos
S:20081215-alt1
5.0: 20081215-alt1

Group :: Text tools
RPM: hunspell-es

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hunspell-es
Summary: Spanish hunspell dictionaries
Version: 20081215
Release: alt1
License: LGPLv3+ or GPLv3+ or MPLv1.1
Group: Text tools
URL: http://es.openoffice.org/programa/diccionario.html

Requires: hunspell

Source0: http://es.openoffice.org/files/documents/73/3001/es_ANY.zip

BuildArch: noarch
BuildRequires: unzip

%description
Spanish (Spain, Mexico, etc.) hunspell dictionaries.

%prep
%setup -q -c -n es_ES

%build
chmod -x *

%install
mkdir -p %buildroot%_datadir/myspell
iconv -fISO8859-1 -tUTF-8 es_ANY.aff > %buildroot%_datadir/myspell/es_ES.aff
iconv -fISO8859-1 -tUTF-8 es_ANY.dic > %buildroot%_datadir/myspell/es_ES.dic
subst 's|^SET ISO8859-1|SET UTF-8|' %buildroot%_datadir/myspell/es_ES.aff

cd %buildroot%_datadir/myspell
es_ES_aliases="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"
for lang in $es_ES_aliases; do
ln -s es_ES.aff $lang.aff
ln -s es_ES.dic $lang.dic
done

%files
%doc README.txt
%_datadir/myspell/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin