123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- Summary: A dictionary of English words for the %{_datadir}/dict directory.
- Summary(ja): %{_datadir}/dict に格納される英単語辞書
- Name: words
- Version: 3.0
- Release: 10%{?_dist_release}
- License: public domain
- Group: System Environment/Libraries
- Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
- URL: http://www.dcs.shef.ac.uk/research/ilash/Moby/
- BuildArch: noarch
- BuildRoot: %{_tmppath}/words-%{version}-root
- BuildRequires: ncompress nkf coreutils grep
- %description
- The words file is a dictionary of English words for the %{_datadir}/dict
- directory. Programs like ispell use this database of words to check
- spelling - and password checkers use it to look for bad passwords.
- %description -l ja
- words ファイルは %{_datadir}/dict ディレクトリに格納される
- 英単語辞書です.ispell といったプログラムがスペルチェックを行ったり,
- パスワードチェックプログラムが好ましくないパスワードを検出したりするのに
- 使われます.
- %prep
- %setup -q -c
- %build
- cd mwords
- #dos2unix -o *
- for f in *
- do
- mv $f $f.orig
- nkf --unix $f.orig > $f
- rm -f $f.orig
- done
- chmod a+r *
- cat [1-9]*.??? | fgrep -v \'s | egrep "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
- cat <<EOF >license.txt
- On June 1, 1996 Grady Ward announced that the fruits of
- the Moby project were being placed in the public domain:
- The Moby lexicon project is complete and has
- been place into the public domain. Use, sell,
- rework, excerpt and use in any way on any platform.
-
- Placing this material on internal or public servers is
- also encouraged. The compiler is not aware of any
- export restrictions so freely distribute world-wide.
-
- You can verify the public domain status by contacting
-
- Grady Ward
- 3449 Martha Ct.
- Arcata, CA 95521-4884
-
- daedal@myrealbox.com
- EOF
- %install
- rm -rf $RPM_BUILD_ROOT
- install -d $RPM_BUILD_ROOT%{_datadir}/dict
- install -m644 mwords/moby $RPM_BUILD_ROOT%{_datadir}/dict/linux.words
- ln -sf linux.words $RPM_BUILD_ROOT%{_datadir}/dict/words
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root)
- %doc mwords/readme.txt mwords/license.txt
- %{_datadir}/dict/linux.words
- %{_datadir}/dict/words
- %changelog
- - spec in utf-8
- - applied new versioning policy
- - source updated based on Fedora (but using nkf instead of dos2unix)
- - sort with --dictionary-order
- - replace word list with much better Moby Project words list (#61395)
- - added BuildRequires: ncompress, nkf, coreutils and grep
- - rebuild with rpm-4.0.4 (now %{_docdir} is /usr/share/doc)
- - 2-17vl0
- - patch{2,3} are taken from rawhide
- - 2-16vl2
- - Oops, the spec file was in S-JIS. fixed
- - 2-16vl1
- - based on 2-16 from Rawhide
- - added Japanese summary and description
- - use better macros
- - automatic rebuild
- - use %%{_tmppath}
- - add some words: some food additives, dinosaurs, atmospheric terms
- - update description
- - moved it to /usr/share/dict
- - updated URL
- - auto rebuild in the new build environment (release 12)
- - take out extra.words (they're all in linux.words)
- - correct desiccate (problem #794)
- - build root
- - translations modified for de, fr, tr
- - spec file cleanups
- - made a noarch package
|