new dictionaries
This commit is contained in:
parent
3c2b7a21ad
commit
23d1e1f77b
@ -1,2 +1,3 @@
|
|||||||
en_GB.zip
|
en_GB.zip
|
||||||
en_US.zip
|
en_US.zip
|
||||||
|
en_GB-oed.zip
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Name: hunspell-en
|
Name: hunspell-en
|
||||||
Summary: English hunspell dictionaries
|
Summary: English hunspell dictionaries
|
||||||
%define upstreamid 20040623
|
%define upstreamid 20050613
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/en_US.zip
|
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
|
Group: Applications/Text
|
||||||
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
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
|
%setup -q -c -n hunspell-en
|
||||||
unzip %{SOURCE1}
|
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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||||
@ -44,10 +50,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README_en_US.txt README_en_GB.txt
|
%doc README_en_US.txt README_en_GB-oed.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 08 2007 Caolan McNamara <caolanm@redhat.com> - 0.20040623-2
|
||||||
- update to new spec guidelines
|
- update to new spec guidelines
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user