source: projects/specs/branches/6/w/words/words-vl.spec @ 3463

Revision 3463, 4.2 KB checked in by daisuke, 13 years ago (diff)

words: rebuild for Vine6

Line 
1Summary: A dictionary of English words for the %{_datadir}/dict directory.
2Summary(ja): %{_datadir}/dict に格納される英単語辞書
3Name: words
4Version: 3.0
5Release: 11%{?_dist_release}
6License: public domain
7Group: System Environment/Libraries
8Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
9URL: http://www.dcs.shef.ac.uk/research/ilash/Moby/
10
11BuildArch: noarch
12BuildRoot: %{_tmppath}/words-%{version}-root
13BuildRequires: ncompress nkf coreutils grep
14
15%description
16The words file is a dictionary of English words for the %{_datadir}/dict
17directory.  Programs like ispell use this database of words to check
18spelling - and password checkers use it to look for bad passwords.
19
20%description -l ja
21words ファイルは %{_datadir}/dict ディレクトリに格納される
22英単語辞書です.ispell といったプログラムがスペルチェックを行ったり,
23パスワードチェックプログラムが好ましくないパスワードを検出したりするのに
24使われます.
25
26
27%prep
28%setup -q -c
29
30%build
31cd mwords
32#dos2unix -o *
33for f in *
34do
35  mv $f $f.orig
36  nkf --unix $f.orig > $f
37  rm -f $f.orig
38done
39
40chmod a+r *
41cat [1-9]*.??? | fgrep -v \'s | egrep  "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
42
43cat <<EOF >license.txt
44On June 1, 1996 Grady Ward announced that the fruits of
45the Moby project were being placed in the public domain:
46
47The Moby lexicon project is complete and has
48been place into the public domain. Use, sell,
49rework, excerpt and use in any way on any platform.
50   
51Placing this material on internal or public servers is
52also encouraged. The compiler is not aware of any
53export restrictions so freely distribute world-wide.
54   
55You can verify the public domain status by contacting
56   
57Grady Ward
583449 Martha Ct.
59Arcata, CA  95521-4884
60   
61daedal@myrealbox.com
62EOF
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67install -d $RPM_BUILD_ROOT%{_datadir}/dict
68install -m644 mwords/moby $RPM_BUILD_ROOT%{_datadir}/dict/linux.words
69ln -sf linux.words $RPM_BUILD_ROOT%{_datadir}/dict/words
70
71%clean
72rm -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
Note: See TracBrowser for help on using the repository browser.