update to 20110410 [release 20110410-1mamba;Sun Apr 10 2011]

This commit is contained in:
Ercole 'ercolinux' Carpanetto 2024-01-05 23:44:58 +01:00
parent 48254aa442
commit 226713aaff
8 changed files with 329 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# hunspell-en # hunspell-en
English hunspell dictionaries

View File

@ -0,0 +1,78 @@
--- wordlist/scowl/r/special/abbreviations 2008-11-29 23:02:41.000000000 +0000
+++ wordlist/scowl/r/special/abbreviations 2010-07-30 11:18:33.000000000 +0100
@@ -2,6 +2,11 @@
AI
ATM
BTW
+EB
+Eb
+Ei
+EiB
+Eib
EULA
EULAs
FAQ
@@ -13,27 +18,63 @@
GB
GHz
GUI
+Gb
+Gi
+GiB
+Gib
HTML
HTTP
+IEC
IMHO
IMNSHO
IMO
ISO
+JEDEC
+KB
+Kb
+Ki
+KiB
+Kib
MB
MP3
MP3s
Mb
+Mi
+MiB
+Mib
OTOH
+PB
+Pb
+Pi
+PiB
+Pib
RFC
ROFL
RTFM
+TB
+Tb
+Ti
+TiB
+Tib
URL
USB
WWW
WYSIWYG
XML
+YB
+Yb
YMMV
+Yi
+YiB
+Yib
+ZB
+Zb
+Zi
+ZiB
+Zib
cf
+kB
+kb
pp
resp
vs

View File

@ -0,0 +1,23 @@
diff -Nru wordlist/en_GB.aff wordlist-gil/en_GB.aff
--- wordlist/en_GB.aff 2005-05-26 11:03:56.000000000 +0200
+++ wordlist-gil/en_GB.aff 2011-01-25 08:40:15.000000000 +0100
@@ -6,6 +6,7 @@
# R 1.18, 11/04/05
SET ISO8859-1
TRY esiaénrtolcdugmfphbyvkw-'.zqjxSNRTLCGDMFPHBEAUYOIVKWóöâôZQJXÅçèîêàïüäñ
+WORDCHARS 0123456789'
REP 27
REP f ph
REP ph f
diff -Nru wordlist/scowl/speller/en.aff wordlist-gil/scowl/speller/en.aff
--- wordlist/scowl/speller/en.aff 2011-01-25 08:42:17.000000000 +0100
+++ wordlist-gil/scowl/speller/en.aff 2011-01-25 08:41:15.000000000 +0100
@@ -12,7 +12,7 @@
COMPOUNDRULE 2
COMPOUNDRULE n*1t
COMPOUNDRULE n*mp
-WORDCHARS 0123456789
+WORDCHARS 0123456789'
PFX A Y 1
PFX A 0 re .

View 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

View File

@ -0,0 +1,20 @@
--- wordlist.orig/en_GB.dic 2009-06-06 15:16:16.000000000 +0100
+++ wordlist/en_GB.dic 2009-06-06 15:17:28.000000000 +0100
@@ -19953,7 +19953,7 @@
technology/3wSM1
Ted/M
tee/SGdM
-TEirtza/M
+Teirtza/M
tellurium/M
temp/GMRSTD
tempera/MLS
@@ -41226,7 +41226,7 @@
adore/lRSNnGkD
Adrian/M
adroit/TYP
-ADte
+ADTe
adulterer/SM
adumbration/M
advantageousness/E

View 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.

View File

@ -0,0 +1,54 @@
--- wordlist.orig/scowl/r/special/proper-names 2008-02-08 11:53:27.000000000 +0000
+++ wordlist/scowl/r/special/proper-names 2008-02-08 12:06:00.000000000 +0000
@@ -6,6 +6,8 @@
Biden
Bluetooth
Bugzilla
+Camino
+ChatZilla
Debian
ECMAScript
Emacs
@@ -17,12 +19,16 @@
ISO
Ispell
LyX
+Mandriva
Mozilla
+MySpell
Netflix
PayPal
+SeaMonkey
Roku
SUSE
Slackware
+Sunbird
Thunderbird
Twitter
Ubuntu
--- wordlist.orig/scowl/speller/en.aff 2008-02-08 20:28:24.000000000 +0000
+++ wordlist/scowl/speller/en.aff 2008-02-08 20:28:45.000000000 +0000
@@ -110,13 +110,17 @@
SFX L Y 1
SFX L 0 ment .
-REP 88
+SFX i N 1
+SFX i us i us
+
+REP 90
REP a ei
REP ei a
REP a ey
REP ey a
REP ai ie
REP ie ai
+REP alot a_lot
REP are air
REP are ear
REP are eir
@@ -199,3 +203,4 @@
REP shun tion
REP shun sion
REP shun cion
+REP sitted sat

88
hunspell-en.spec Normal file
View File

@ -0,0 +1,88 @@
Name: hunspell-en
Version: 20110410
Release: 1mamba
Summary: English hunspell dictionaries
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://wordlist.sourceforge.net/
# svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist
# tar czf hunspell-en-wordlist-2011025-src-svn.tar.gz wordlist
Source0: hunspell-en-wordlist-20110410-src-svn.tar.gz
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
Patch0: hunspell-en-2011025-mozilla_words.patch
Patch1: hunspell-en-2011025-en_GB-singleletters.patch
Patch2: hunspell-en-2011025-en_GB-two_initial_caps.patch
Patch3: hunspell-en-2011025-en_US-strippedabbrevs.patch
Patch4: hunspell-en-2011025-allow-non-typographical-marks.patch
Patch5: hunspell-en-2011025-SI_and_IEC.patch
License: BSD, LGPL
BuildRequires: aspell
BuildRequires: hunspell
BuildRequires: zip
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
English hunspell dictionaries
%prep
%setup -q -n wordlist
%setup -q -T -D -a 1 -n wordlist
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
make
cd scowl/speller
make hunspell
for i in README_en_CA.txt README_en_US.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/myspell
cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell
cd scowl/speller
cp -p en_*.dic en_*.aff %{buildroot}%{_datadir}/myspell
pushd %{buildroot}%{_datadir}/myspell/
for lang in en_AG 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; do
ln -s en_GB.aff $lang.aff
ln -s en_GB.dic $lang.dic
done
ln -s en_US.aff en_PH.aff
ln -s en_US.dic en_PH.dic
popd
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/myspell/en_*.aff
%{_datadir}/myspell/en_*.dic
%doc README_en_GB.txt scowl/speller/README_en_CA.txt scowl/speller/README_en_US.txt
%changelog
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20110410-1mamba
- update to 20110410
* Tue Jan 25 2011 gil <puntogil@libero.it> 2011025-1mamba
- update to 2011025
* Sat Jan 31 2009 gil <puntogil@libero.it> 20090131-1mamba
- package created by autospec