words-vl.spec 5.1 KB

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