Blame SPECS/words.spec

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