clean up a bit
This commit is contained in:
parent
8bf296e625
commit
2866615b85
@ -1,3 +1,4 @@
|
||||
en_GB.zip
|
||||
en_US.zip
|
||||
en_GB-oed.zip
|
||||
en_CA.zip
|
||||
|
@ -2,9 +2,10 @@ Name: hunspell-en
|
||||
Summary: English hunspell dictionaries
|
||||
%define upstreamid 20061130
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
|
||||
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
||||
Source2: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_CA.zip
|
||||
Group: Applications/Text
|
||||
URL: http://en-gb.pyxidium.co.uk/dictionary
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -19,6 +20,7 @@ English (US, UK, etc.) hunspell dictionaries
|
||||
%prep
|
||||
%setup -q -c -n %{name}
|
||||
%setup -q -T -D -a 1 -n %{name}
|
||||
%setup -q -T -D -a 2 -n %{name}
|
||||
|
||||
%build
|
||||
|
||||
@ -29,7 +31,7 @@ chmod -x *
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
en_GB_aliases="en_AU en_BS en_BZ en_CA en_GH en_IE en_IN en_JM en_NA en_NZ en_TT en_ZA en_ZW"
|
||||
en_GB_aliases="en_AU en_BS en_BW en_BZ en_DK en_GH en_HK en_IE en_IN en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW"
|
||||
for lang in $en_GB_aliases; do
|
||||
ln -s en_GB.aff $lang.aff
|
||||
ln -s en_GB.dic $lang.dic
|
||||
@ -46,10 +48,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_en_US.txt README_en_GB.txt
|
||||
%doc README_en_US.txt README_en_GB.txt README_en_CA.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Tue Jan 15 2008 Caolan McNamara <caolanm@redhat.com> - 0.20061130-4
|
||||
- clean up spec
|
||||
|
||||
* Mon Sep 17 2007 Caolan McNamara <caolanm@redhat.com> - 0.20061130-3
|
||||
- new varient alias
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user