Catalan is spoken in Andora, France and Italy as well

This commit is contained in:
Caolan McNamara 2008-07-08 14:13:22 +00:00
parent 60fbb0f25b
commit 9369798b83

View File

@ -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 <caolanm@redhat.com> - 0.20080706-2
- Catalan is spoken in Andora, France and Italy as well
* Mon Jul 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-1
- latest version