c8876ae
Summary: A dictionary of English words for the /usr/share/dict directory
581dd8e
Name: words
581dd8e
Version: 3.0
f880fe8
Release: 16%{?dist}
c8876ae
License: Public Domain
581dd8e
Group: System Environment/Libraries
271f0f8
# Note that Moby Project officially does not exist any more. The most complete
271f0f8
# information about the project is in Wikipedia.
271f0f8
URL: http://en.wikipedia.org/wiki/Moby_Project
66a784e
Source: http://web.archive.org/web/20060527013227/http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
c8876ae
581dd8e
BuildArch: noarch
c8876ae
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c8876ae
c8876ae
BuildRequires: dos2unix
c8876ae
BuildRequires: grep
581dd8e
271f0f8
#428582 - linux.words contains misspelled word "flourescent"
271f0f8
#440146 - misspelled word in /usr/share/dict/words (architecure)
66a784e
#457309 - contains both 'unnecessary' and 'unneccesary'
271f0f8
Patch0: words-3.0-typos.patch
66a784e
#470921 -"Barack" and "Obama" are not in /usr/share/dict/words
66a784e
Patch1: words-3.0-presidents.patch
271f0f8
581dd8e
%description
581dd8e
The words file is a dictionary of English words for the
581dd8e
/usr/share/dict directory. Some programs use this database of
581dd8e
words to check spelling. Password checkers use it to look for bad
581dd8e
passwords.
581dd8e
581dd8e
%prep
581dd8e
%setup -q -c
271f0f8
%patch0 -p1
a726f4b
%patch1 -p1
581dd8e
581dd8e
%build
581dd8e
cd mwords
581dd8e
dos2unix -o *; chmod a+r *
91f5447
cat [1-9]*.??? | egrep --invert-match "'s$" | egrep  "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
581dd8e
581dd8e
cat <<EOF >license.txt
2755447
***
2755447
    The license in the readme.txt file is original and DEPRECATED
2755447
    license of The Moby lexicon project.
2755447
***
2755447
581dd8e
On June 1, 1996 Grady Ward announced that the fruits of
581dd8e
the Moby project were being placed in the public domain:
581dd8e
581dd8e
The Moby lexicon project is complete and has
581dd8e
been place into the public domain. Use, sell,
581dd8e
rework, excerpt and use in any way on any platform.
c8876ae
581dd8e
Placing this material on internal or public servers is
581dd8e
also encouraged. The compiler is not aware of any
581dd8e
export restrictions so freely distribute world-wide.
c8876ae
581dd8e
You can verify the public domain status by contacting
c8876ae
581dd8e
Grady Ward
581dd8e
3449 Martha Ct.
581dd8e
Arcata, CA  95521-4884
c8876ae
581dd8e
daedal@myrealbox.com
581dd8e
EOF
581dd8e
581dd8e
%install
c8876ae
rm -rf $RPM_BUILD_ROOT
581dd8e
install -d $RPM_BUILD_ROOT%{_datadir}/dict
581dd8e
install -m644 mwords/moby $RPM_BUILD_ROOT%{_datadir}/dict/linux.words
581dd8e
ln -sf linux.words $RPM_BUILD_ROOT%{_datadir}/dict/words
581dd8e
581dd8e
%clean
581dd8e
rm -rf $RPM_BUILD_ROOT
581dd8e
581dd8e
%files
2755447
%defattr(-,root,root,-)
581dd8e
%doc mwords/readme.txt mwords/license.txt
2755447
%{_datadir}/dict/linux.words
2755447
%{_datadir}/dict/words
581dd8e
581dd8e
%changelog
f880fe8
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-16
f880fe8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f880fe8
1c61cd3
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-15
1c61cd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c61cd3
66a784e
* Mon Jan 12 2009 Karel Zak <kzak@redhat.com> - 3.0-14
66a784e
- fix #457309 - contains both 'unnecessary' and 'unneccesary'
66a784e
- fix #470921 -"Barack" and "Obama" are not in /usr/share/dict/words
66a784e
- update spec file (#226542 - Merge Review)
66a784e
271f0f8
* Mon Jun 23 2008 Karel Zak <kzak@redhat.com> - 3.0-13
271f0f8
- fix #428582 - linux.words contains misspelled word "flourescent"
271f0f8
- fix #440146 - misspelled word in /usr/share/dict/words (architecure)
271f0f8
2755447
* Mon Apr  2 2007 Karel Zak <kzak@redhat.com> - 3.0-12
2755447
- fix #226542 - Merge Review: words
2755447
c8876ae
* Mon Apr  2 2007 Karel Zak <kzak@redhat.com> - 3.0-11
c8876ae
- cleanup spec file
c8876ae
- fix #227216 - Unnecessary BuildRequirement to ncompress
c8876ae
b0ede55
* Wed Jan 24 2007 Karel Zak <kzak@redhat.com> - 3.0-10
b0ede55
- fix regex that removes possessives ('s)
b0ede55
9f74d77
* Wed Jul 19 2006 Karel Zak <kzak@redhat.com> - 3.0-9
9f74d77
- rebuild
9f74d77
a1a6df2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0-8.1.1
a1a6df2
- rebuild
a1a6df2
12d347b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
12d347b
- rebuilt
12d347b
c2f9f45
* Mon Nov 21 2005  Karel Zak <kzak@redhat.com> 3-8
c2f9f45
- rebuilt
c2f9f45
eb2d503
* Mon May  2 2005  Karel Zak <kzak@redhat.com> 3-7
eb2d503
- sort with --dictionary-order
eb2d503
- remove words with possessives ('s)
eb2d503
fbdb88c
* Mon Apr  4 2005 Karel Zak <kzak@redhat.com> 3-6
f0758be
- fix uniq command usage
f0758be
fbdb88c
* Tue Mar 29 2005 Karel Zak <kzak@redhat.com> 3-5
581dd8e
- replace word list with much better Moby Project words list (#61395)
581dd8e
- revise %%description; ispell/aspell no longer uses words
581dd8e
581dd8e
* Mon Sep 27 2004 Adrian Havill <havill@redhat.com> 2-23
581dd8e
- rebuilt
581dd8e
581dd8e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
581dd8e
- rebuilt
581dd8e
581dd8e
* Wed Feb  5 2003 Nalin Dahyabhai <nalin@redhat.com> 2-21
581dd8e
- rebuild
581dd8e
581dd8e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
581dd8e
- automated rebuild
581dd8e
581dd8e
* Thu May 23 2002 Tim Powers <timp@redhat.com>
581dd8e
- automated rebuild
581dd8e
c8876ae
* Wed Apr  3 2002 Trond Eivind Glomsrod <teg@redhat.com> 2-18
581dd8e
- Bump.
581dd8e
c8876ae
* Mon Mar 18 2002 Trond Eivind Glomsrod <teg@redhat.com> 2-17
581dd8e
- s/Copyright/License/
581dd8e
- add gullible and facetious (#60166, #60173)
581dd8e
c8876ae
* Fri Apr  6 2001 Trond Eivind Glomsrod <teg@redhat.com>
581dd8e
- Add carnivore (#35031)
581dd8e
581dd8e
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
581dd8e
- automatic rebuild
581dd8e
c8876ae
* Tue Jun 13 2000 Trond Eivind Glomsrod <teg@redhat.com>
581dd8e
- use %%{_tmppath}
581dd8e
581dd8e
* Thu Apr 13 2000 Nalin Dahyabhai <nalin@redhat.com>
581dd8e
- add some words: some food additives, dinosaurs, atmospheric terms
581dd8e
c8876ae
* Fri Apr 07 2000 Trond Eivind Glomsrod <teg@redhat.com>
581dd8e
- update description
581dd8e
- moved it to /usr/share/dict
581dd8e
- updated URL
581dd8e
581dd8e
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
581dd8e
- auto rebuild in the new build environment (release 12)
581dd8e
581dd8e
* Wed Sep 30 1998 Bill Nottingham <notting@redhat.com>
581dd8e
- take out extra.words (they're all in linux.words)
581dd8e
581dd8e
* Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com>
581dd8e
- correct desiccate (problem #794)
581dd8e
581dd8e
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
581dd8e
- build root
581dd8e
581dd8e
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
581dd8e
- translations modified for de, fr, tr
581dd8e
581dd8e
* Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
581dd8e
- spec file cleanups
581dd8e
581dd8e
* Tue Sep 23 1997 Erik Troan <ewt@redhat.com>
581dd8e
- made a noarch package