source: projects/specs/trunk/w/words/words-vl.spec @ 8191

Revision 8191, 4.4 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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