| 1 | Summary: A dictionary of English words for the %{_datadir}/dict directory. |
|---|
| 2 | Summary(ja): %{_datadir}/dict に格納される英単語辞書 |
|---|
| 3 | Name: words |
|---|
| 4 | Version: 3.0 |
|---|
| 5 | Release: 11%{?_dist_release} |
|---|
| 6 | License: public domain |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z |
|---|
| 9 | URL: http://www.dcs.shef.ac.uk/research/ilash/Moby/ |
|---|
| 10 | |
|---|
| 11 | BuildArch: noarch |
|---|
| 12 | BuildRoot: %{_tmppath}/words-%{version}-root |
|---|
| 13 | BuildRequires: ncompress nkf coreutils grep |
|---|
| 14 | |
|---|
| 15 | %description |
|---|
| 16 | The words file is a dictionary of English words for the %{_datadir}/dict |
|---|
| 17 | directory. Programs like ispell use this database of words to check |
|---|
| 18 | spelling - and password checkers use it to look for bad passwords. |
|---|
| 19 | |
|---|
| 20 | %description -l ja |
|---|
| 21 | words ファイルは %{_datadir}/dict ディレクトリに格納される |
|---|
| 22 | 英単語辞書です.ispell といったプログラムがスペルチェックを行ったり, |
|---|
| 23 | パスワードチェックプログラムが好ましくないパスワードを検出したりするのに |
|---|
| 24 | 使われます. |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | %prep |
|---|
| 28 | %setup -q -c |
|---|
| 29 | |
|---|
| 30 | %build |
|---|
| 31 | cd mwords |
|---|
| 32 | #dos2unix -o * |
|---|
| 33 | for f in * |
|---|
| 34 | do |
|---|
| 35 | mv $f $f.orig |
|---|
| 36 | nkf --unix $f.orig > $f |
|---|
| 37 | rm -f $f.orig |
|---|
| 38 | done |
|---|
| 39 | |
|---|
| 40 | chmod a+r * |
|---|
| 41 | cat [1-9]*.??? | fgrep -v \'s | egrep "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby |
|---|
| 42 | |
|---|
| 43 | cat <<EOF >license.txt |
|---|
| 44 | On June 1, 1996 Grady Ward announced that the fruits of |
|---|
| 45 | the Moby project were being placed in the public domain: |
|---|
| 46 | |
|---|
| 47 | The Moby lexicon project is complete and has |
|---|
| 48 | been place into the public domain. Use, sell, |
|---|
| 49 | rework, excerpt and use in any way on any platform. |
|---|
| 50 | |
|---|
| 51 | Placing this material on internal or public servers is |
|---|
| 52 | also encouraged. The compiler is not aware of any |
|---|
| 53 | export restrictions so freely distribute world-wide. |
|---|
| 54 | |
|---|
| 55 | You can verify the public domain status by contacting |
|---|
| 56 | |
|---|
| 57 | Grady Ward |
|---|
| 58 | 3449 Martha Ct. |
|---|
| 59 | Arcata, CA 95521-4884 |
|---|
| 60 | |
|---|
| 61 | daedal@myrealbox.com |
|---|
| 62 | EOF |
|---|
| 63 | |
|---|
| 64 | %install |
|---|
| 65 | rm -rf $RPM_BUILD_ROOT |
|---|
| 66 | |
|---|
| 67 | install -d $RPM_BUILD_ROOT%{_datadir}/dict |
|---|
| 68 | install -m644 mwords/moby $RPM_BUILD_ROOT%{_datadir}/dict/linux.words |
|---|
| 69 | ln -sf linux.words $RPM_BUILD_ROOT%{_datadir}/dict/words |
|---|
| 70 | |
|---|
| 71 | %clean |
|---|
| 72 | rm -rf $RPM_BUILD_ROOT |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %files |
|---|
| 76 | %defattr(-,root,root) |
|---|
| 77 | %doc mwords/readme.txt mwords/license.txt |
|---|
| 78 | %{_datadir}/dict/linux.words |
|---|
| 79 | %{_datadir}/dict/words |
|---|
| 80 | |
|---|
| 81 | |
|---|
| 82 | %changelog |
|---|
| 83 | * Thu Apr 14 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-11 |
|---|
| 84 | - rebuild for Vine 6 |
|---|
| 85 | |
|---|
| 86 | * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0-10 |
|---|
| 87 | - spec in utf-8 |
|---|
| 88 | |
|---|
| 89 | * Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0-9 |
|---|
| 90 | - applied new versioning policy |
|---|
| 91 | |
|---|
| 92 | * Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0-8vl1 |
|---|
| 93 | - source updated based on Fedora (but using nkf instead of dos2unix) |
|---|
| 94 | * Mon May 2 2005 Karel Zak <kzak@redhat.com> 3-7 |
|---|
| 95 | - sort with --dictionary-order |
|---|
| 96 | * Tue Mar 29 2005 Karel Zak <kzak@redhat.com> 3-5 |
|---|
| 97 | - replace word list with much better Moby Project words list (#61395) |
|---|
| 98 | - added BuildRequires: ncompress, nkf, coreutils and grep |
|---|
| 99 | |
|---|
| 100 | * Fri Jul 04 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2-17vl1 |
|---|
| 101 | - rebuild with rpm-4.0.4 (now %{_docdir} is /usr/share/doc) |
|---|
| 102 | |
|---|
| 103 | * Tue Apr 02 2002 Yoshihiro Ota <ota@j.email.ne.jp> |
|---|
| 104 | - 2-17vl0 |
|---|
| 105 | - patch{2,3} are taken from rawhide |
|---|
| 106 | |
|---|
| 107 | * Tue Dec 26 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
|---|
| 108 | - 2-16vl2 |
|---|
| 109 | - Oops, the spec file was in S-JIS. fixed |
|---|
| 110 | |
|---|
| 111 | - 2-16vl1 |
|---|
| 112 | - based on 2-16 from Rawhide |
|---|
| 113 | - added Japanese summary and description |
|---|
| 114 | - use better macros |
|---|
| 115 | |
|---|
| 116 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
|---|
| 117 | - automatic rebuild |
|---|
| 118 | |
|---|
| 119 | * Tue Jun 13 2000 Trond Eivind Glomsr <teg@redhat.com> |
|---|
| 120 | - use %%{_tmppath} |
|---|
| 121 | |
|---|
| 122 | * Thu Apr 13 2000 Nalin Dahyabhai <nalin@redhat.com> |
|---|
| 123 | - add some words: some food additives, dinosaurs, atmospheric terms |
|---|
| 124 | |
|---|
| 125 | * Fri Apr 07 2000 Trond Eivind Glomsr <teg@redhat.com> |
|---|
| 126 | - update description |
|---|
| 127 | - moved it to /usr/share/dict |
|---|
| 128 | - updated URL |
|---|
| 129 | |
|---|
| 130 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
|---|
| 131 | - auto rebuild in the new build environment (release 12) |
|---|
| 132 | |
|---|
| 133 | * Wed Sep 30 1998 Bill Nottingham <notting@redhat.com> |
|---|
| 134 | - take out extra.words (they're all in linux.words) |
|---|
| 135 | |
|---|
| 136 | * Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com> |
|---|
| 137 | - correct desiccate (problem #794) |
|---|
| 138 | |
|---|
| 139 | * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com> |
|---|
| 140 | - build root |
|---|
| 141 | |
|---|
| 142 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
|---|
| 143 | - translations modified for de, fr, tr |
|---|
| 144 | |
|---|
| 145 | * Tue Oct 21 1997 Donnie Barnes <djb@redhat.com> |
|---|
| 146 | - spec file cleanups |
|---|
| 147 | |
|---|
| 148 | * Tue Sep 23 1997 Erik Troan <ewt@redhat.com> |
|---|
| 149 | - made a noarch package |
|---|