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