Catalan is spoken in Andora, France and Italy as well
This commit is contained in:
parent
60fbb0f25b
commit
9369798b83
@ -2,7 +2,7 @@ Name: hunspell-ca
|
|||||||
Summary: Catalan hunspell dictionaries
|
Summary: Catalan hunspell dictionaries
|
||||||
%define upstreamid 20080706
|
%define upstreamid 20080706
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
#svn checkout svn://softcatala.org/corrector/trunk/resultats/hunspell
|
#svn checkout svn://softcatala.org/corrector/trunk/resultats/hunspell
|
||||||
Source: hunspell-ca-%{upstreamid}.tar.bz2
|
Source: hunspell-ca-%{upstreamid}.tar.bz2
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
@ -27,6 +27,13 @@ tr -d '\r' < catalan.dic > ca_ES.dic
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
cp -p ca_ES.dic ca_ES.aff $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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -36,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20080706-1
|
||||||
- latest version
|
- latest version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user