new dictionaries

This commit is contained in:
Caolan McNamara 2007-05-05 16:21:36 +00:00
parent 3c2b7a21ad
commit 23d1e1f77b
3 changed files with 14 additions and 4 deletions

View File

@ -1,2 +1,3 @@
en_GB.zip
en_US.zip
en_GB-oed.zip

View File

@ -1,10 +1,10 @@
Name: hunspell-en
Summary: English hunspell dictionaries
%define upstreamid 20040623
%define upstreamid 20050613
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_GB.zip
Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_GB-oed.zip
Group: Applications/Text
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -20,6 +20,12 @@ English (US, UK, etc.) hunspell dictionaries
%setup -q -c -n hunspell-en
unzip %{SOURCE1}
%build
mv en_GB-oed.dic en_GB.dic
mv en_GB-oed.aff en_GB.aff
tr -d '\r' < README_en_GB-oed.txt > README_en_GB-oed.txt.new
mv -f README_en_GB-oed.txt.new README_en_GB-oed.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
@ -44,10 +50,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-oed.txt
%{_datadir}/myspell/*
%changelog
* Sat May 05 2007 Caolan McNamara <caolanm@redhat.com> - 0.20050613-1
- update to latest dictionaries
* Thu Feb 08 2007 Caolan McNamara <caolanm@redhat.com> - 0.20040623-2
- update to new spec guidelines

View File

@ -1,2 +1,2 @@
6fb885d57899c3e6aa2b27f3510deb37 en_GB.zip
b68f2940bf422074213fef74488b1da1 en_US.zip
062721d0e108f28cc10128e3c6a493df en_GB-oed.zip