diff --git a/hunspell-ca.spec b/hunspell-ca.spec index f05dfd2..6ae897e 100644 --- a/hunspell-ca.spec +++ b/hunspell-ca.spec @@ -2,7 +2,7 @@ Name: hunspell-ca Summary: Catalan hunspell dictionaries %define upstreamid 20080706 Version: 0.%{upstreamid} -Release: 1%{?dist} +Release: 2%{?dist} #svn checkout svn://softcatala.org/corrector/trunk/resultats/hunspell Source: hunspell-ca-%{upstreamid}.tar.bz2 Group: Applications/Text @@ -27,6 +27,13 @@ tr -d '\r' < catalan.dic > ca_ES.dic rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ca_ES_aliases="ca_AD ca_FR ca_IT" +for lang in $ca_ES_aliases; do + ln -s ca_ES.aff $lang.aff + ln -s ca_ES.dic $lang.dic +done +popd %clean rm -rf $RPM_BUILD_ROOT @@ -36,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/* %changelog +* Tue Jul 08 2008 Caolan McNamara - 0.20080706-2 +- Catalan is spoken in Andora, France and Italy as well + * Mon Jul 07 2008 Caolan McNamara - 0.20080706-1 - latest version