sort out e.g. i.e. for both dictionaries for different reasons
This commit is contained in:
parent
865b3db427
commit
bcf6c1b8e0
56
en_GB-singleletters.patch
Normal file
56
en_GB-singleletters.patch
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
--- wordlist.orig/en_GB.dic 2005-05-26 11:49:30.000000000 +0100
|
||||||
|
+++ wordlist/en_GB.dic 2008-11-28 10:01:37.000000000 +0000
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-46280
|
||||||
|
+46286
|
||||||
|
abaft
|
||||||
|
abbreviation/M
|
||||||
|
abdicate/DNGSn
|
||||||
|
@@ -2278,6 +2278,7 @@
|
||||||
|
hysterectomy/SM
|
||||||
|
Hyundai/M
|
||||||
|
ICC/M
|
||||||
|
+i
|
||||||
|
icebox/SM
|
||||||
|
icicle/SM
|
||||||
|
iconoclasm/MS
|
||||||
|
@@ -2470,6 +2471,7 @@
|
||||||
|
Ithacan
|
||||||
|
its
|
||||||
|
ix
|
||||||
|
+j
|
||||||
|
jackknife/DGMS
|
||||||
|
Jacqueline
|
||||||
|
Jaeger/M
|
||||||
|
@@ -2764,6 +2766,7 @@
|
||||||
|
Mabel/M
|
||||||
|
Macedon
|
||||||
|
Macedonia/M
|
||||||
|
+m
|
||||||
|
macintosh/SM
|
||||||
|
MacIntyre
|
||||||
|
Mackenzie
|
||||||
|
@@ -3222,6 +3225,7 @@
|
||||||
|
nuttiness/S
|
||||||
|
nymphomaniac/S
|
||||||
|
Oakland/M
|
||||||
|
+o
|
||||||
|
ob.
|
||||||
|
obeyer/EM
|
||||||
|
obfuscation/M
|
||||||
|
@@ -4797,6 +4801,7 @@
|
||||||
|
tyro/SM
|
||||||
|
UFO/S
|
||||||
|
Ukrainian/S
|
||||||
|
+u
|
||||||
|
ulcerate/SGNDn
|
||||||
|
ulcerous
|
||||||
|
Ulrika/M
|
||||||
|
@@ -4962,6 +4967,7 @@
|
||||||
|
vulnerability/SI
|
||||||
|
vulva/M
|
||||||
|
WAC
|
||||||
|
+w
|
||||||
|
wagon/SM
|
||||||
|
waitress/MS
|
||||||
|
Waldemar/M
|
8
en_US-strippedabbrevs.patch
Normal file
8
en_US-strippedabbrevs.patch
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- wordlist/scowl/speller/en.dic.supp.orig 2008-11-28 10:10:01.000000000 +0000
|
||||||
|
+++ wordlist/scowl/speller/en.dic.supp 2008-11-28 10:10:10.000000000 +0000
|
||||||
|
@@ -21,3 +21,5 @@
|
||||||
|
7th/pt
|
||||||
|
8th/pt
|
||||||
|
9th/pt
|
||||||
|
+e.g.
|
||||||
|
+i.e.
|
@ -2,12 +2,14 @@ Name: hunspell-en
|
|||||||
Summary: English hunspell dictionaries
|
Summary: English hunspell dictionaries
|
||||||
%define upstreamid 20081127
|
%define upstreamid 20081127
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
#svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
|
#svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
|
||||||
Source0: wordlist-%{upstreamid}.tar.bz2
|
Source0: wordlist-%{upstreamid}.tar.bz2
|
||||||
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
|
||||||
#See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1
|
#See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1
|
||||||
Patch0: mozilla_words.patch
|
Patch0: mozilla_words.patch
|
||||||
|
Patch1: en_GB-singleletters.patch
|
||||||
|
Patch2: en_US-strippedabbrevs.patch
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://wordlist.sourceforge.net/
|
URL: http://wordlist.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -23,6 +25,8 @@ English (US, UK, etc.) hunspell dictionaries
|
|||||||
%setup -q -n wordlist
|
%setup -q -n wordlist
|
||||||
%setup -q -T -D -a 1 -n wordlist
|
%setup -q -T -D -a 1 -n wordlist
|
||||||
%patch0 -p1 -b .mozilla
|
%patch0 -p1 -b .mozilla
|
||||||
|
%patch1 -p1 -b .singleletters
|
||||||
|
%patch2 -p1 -b .strippedabbrevs
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -60,6 +64,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.20081127-2
|
||||||
|
- abbrevs are always stripped out from US/CA dicts
|
||||||
|
- some single characters are missing from en_GB
|
||||||
|
|
||||||
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.20081127-1
|
* Thu Nov 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.20081127-1
|
||||||
- hardcoded path dropped upstream
|
- hardcoded path dropped upstream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user