From 8599db812fd2f1d724eede7151fa84326ecbf300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 30 Jul 2010 11:38:30 +0100 Subject: [PATCH] Resolves: rhbz#619577 add SI and IEC prefixes --- hunspell-en-SI_and_IEC.patch | 73 ++++++++++++++++++++++++++++++++++++ hunspell-en.spec | 10 ++++- 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 hunspell-en-SI_and_IEC.patch diff --git a/hunspell-en-SI_and_IEC.patch b/hunspell-en-SI_and_IEC.patch new file mode 100644 index 0000000..0327579 --- /dev/null +++ b/hunspell-en-SI_and_IEC.patch @@ -0,0 +1,73 @@ +--- 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 + FAQ + FAQ's + FAQs +@@ -11,24 +16,58 @@ + GB + GHz + GUI ++GB ++Gb ++Gi ++GiB ++Gib + HTML + HTTP ++IEC + IMHO + IMNSHO + IMO + ISO ++Ki ++KiB ++Kib + MB + Mb ++Mi ++MiB ++Mib + OTOH ++PB ++Pb ++Pi ++PiB ++Pib + RFC + ROFL + RTFM ++TB ++Tb ++Ti ++TiB ++Tib + URL + WWW + WYSIWYG + XML ++YB ++Yb + YMMV ++Yi ++YiB ++Yib ++ZB ++Zb ++Zi ++ZiB ++Zib + cf ++kB ++kb + pp + resp + vs diff --git a/hunspell-en.spec b/hunspell-en.spec index 3c50c6f..ac1c05c 100644 --- a/hunspell-en.spec +++ b/hunspell-en.spec @@ -2,7 +2,7 @@ Name: hunspell-en Summary: English hunspell dictionaries %define upstreamid 20100322 Version: 0.%{upstreamid} -Release: 4%{?dist} +Release: 5%{?dist} #svn co https://wordlist.svn.sourceforge.net/svnroot/wordlist/trunk wordlist Source0: wordlist-%{upstreamid}.tar.bz2 Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip @@ -10,6 +10,8 @@ Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip Patch0: mozilla_words.patch Patch1: en_GB-singleletters.patch Patch2: en_GB.two_initial_caps.patch +#See http://sourceforge.net/tracker/?func=detail&aid=2355344&group_id=10079&atid=1014602 +#filter removes words with "." in them Patch3: en_US-strippedabbrevs.patch #See https://sourceforge.net/tracker/?func=detail&aid=2987192&group_id=143754&atid=756397 #to allow "didn't" instead of suggesting change to typographical apostrophe @@ -17,6 +19,8 @@ Patch4: hunspell-en-allow-non-typographical.marks.patch #See https://sourceforge.net/tracker/?func=detail&aid=3012183&group_id=10079&atid=1014602 #"encryption" available at level 60, but not "decryption" Patch5: hunspell-en-bump.to.level70.patch +#See https://bugzilla.redhat.com/show_bug.cgi?id=619577 add SI and IEC prefixes +Patch6: hunspell-en-SI_and_IEC.patch Group: Applications/Text URL: http://wordlist.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -37,6 +41,7 @@ English (US, UK, etc.) hunspell dictionaries %patch3 -p1 -b .strippedabbrevs %patch4 -p1 -b .allow-non-typographical %patch5 -p1 -b .use.level.70 +%patch6 -p1 -b .SI_and_IEC %build make @@ -82,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/* %changelog +* Fri Jul 30 2010 Caolan McNamara - 0.20100322-5 +- Resolves: rhbz#619577 add SI and IEC prefixes + * Mon Jun 14 2010 Caolan McNamara - 0.20100322-4 - Resolves: rhbz#603773 allow just non-typographical apostrophes