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