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