2 Summary: Miscellaneous dictionaries for DICTD
3 Summary(pl): Ró¿ne s³owniki dla dictd
8 Group: Applications/Dictionaries
9 Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
10 # Source0-md5: 74a41d916b76323482b273f8b53c31bf
11 Source1: http://dsl.org/faq/fjd/journo-1.1.tar.gz
12 # Source1-md5: e7ee9a7694e5640cca02da993839771a
13 Source2: http://wiretap.area.com/Gopher/Library/Classic/devils.txt
14 # Source2-md5: 56b2918934d8f1162ec0f711df8c9669
15 Source3: http://ptm.linux.pl/slownik
16 # Source3-md5: 7edc21ffad074041097e9f9f0e2c2b15
17 Source4: http://www.prime-project.org/dict/dict-world02--2003-02-15.tar.gz
18 # Source4-md5: 344bd453d17536e281f1874cfd318c7d
19 URL: http://www.dict.org/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: dictfmt
23 BuildRequires: dictzip
25 Requires: %{_sysconfdir}/dictd
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This package contains misc dictionaries for use by the dictionary
30 server in the dictd package.
33 Ten pakiet zawiera ró¿ne s³owniki do u¿ywania z serwerem s³ownika
36 %package -n dict-devil
37 Summary: Devil's dictionary for DICTD
38 Summary(pl): S³ownik Devil's Dictionary dla dictd
39 Group: Applications/Dictionaries
41 Requires: %{_sysconfdir}/dictd
43 %description -n dict-devil
44 This package contains The Devil's Dictionary, a cynical and irreverent
45 dictionary of common words, formatted for use by the dictionary server
48 %description -n dict-devil -l pl
49 S³ownik The Devil's Dictionary, zawieraj±cy cyniczne i lekcewa¿±ce
50 opisy s³ów - do u¿ywania z serwerem s³ownika dictd.
52 %package -n dict-easton
53 Summary: easton dictionary for DICTD
54 Summary(pl): S³ownik easton dla dictd
55 Group: Applications/Dictionaries
57 Requires: %{_sysconfdir}/dictd
59 %description -n dict-easton
60 This package contains Easton's 1897 Bible Dictionary, based on M.G.
61 Easton M.A., D.D.'s Illustrated Bible Dictionary, Third Edition,
62 published by Thomas Nelson, 1897, for use by the dictionary server in
65 %description -n dict-easton -l pl
66 Ten pakiet zawiera s³ownik Easton's 1897 Bible Dictionary do u¿ywania
67 z serwerem s³ownika dictd.
69 %package -n dict-elements
70 Summary: elements dictionary for DICTD
71 Summary(pl): S³ownik elements dla dictd
72 Group: Applications/Dictionaries
74 Requires: %{_sysconfdir}/dictd
76 %description -n dict-elements
77 This package contains a freely-distributed database of elemental
78 information, edited by Jay Kominek, for use by the dictionary server
81 %description -n dict-elements -l pl
82 Ten pakiet zawiera bazê danych informacji o pierwiastkach,
83 przygotowan± przez Jaya Kominka, do u¿ywania z serwerem s³ownika
86 %package -n dict-foldoc
87 Summary: The Free On-line Dictionary of Computing for DICTD
88 Summary(pl): Wolny s³ownik z dziedziny obliczeñ dla dictd
89 Group: Applications/Dictionaries
91 Requires: %{_sysconfdir}/dictd
93 %description -n dict-foldoc
94 This package contains The Free On-line Dictionary of Computing for use
95 by the dictionary server in the dictd package.
97 %description -n dict-foldoc -l pl
98 Ten pakiet zawiera s³ownik The Free On-line Dictionary of Computing do
99 u¿ywania z serwerem s³ownika dictd.
101 %package -n dict-hitchcock
102 Summary: hitchcock dictionary for DICTD
103 Summary(pl): S³ownik hitchcock dla dictd
104 Group: Applications/Dictionaries
106 Requires: %{_sysconfdir}/dictd
108 %description -n dict-hitchcock
109 This package contains Hitchcock's Bible Names Dictionary, derived from
110 Hitchcock's New and Complete Analysis of the Holy Bible, published in
111 the late 1800's, for use by the dictionary server in the dictd
114 %description -n dict-hitchcock -l pl
115 Ten pakiet zawiera s³ownik Hitchcock's Bible Names Dictionary do
116 u¿ywania z serwerem s³ownika dictd.
118 %package -n dict-journo
119 Summary: Journalism dictionary for DICTD
120 Summary(pl): S³ownik Journalism dla dictd
121 Group: Applications/Dictionaries
123 Requires: %{_sysconfdir}/dictd
125 %description -n dict-journo
126 This package contains Free Journalism Dictionary for use by the
127 dictionary server in the dictd package.
129 %description -n dict-journo -l pl
130 Ten pakiet zawiera s³ownik Free Journalism Dictionary do u¿ywania z
131 serwerem s³ownika dictd.
134 Summary: PTM dictionary for DICTD
135 Summary(pl): S³ownik PTM dla dictd
136 Group: Applications/Dictionaries
138 Requires: %{_sysconfdir}/dictd
140 %description -n dict-ptm
141 This package contains dictionary created by Projekt Tlumaczenia
142 Manuali for use by the dicitonary server in the dictd package.
144 %description -n dict-ptm -l pl
145 Ten pakiet zawiera s³ownik Projektu T³umaczenia Manuali, do u¿ycia z
148 %package -n dict-CIAworldbook
149 Summary: CIAworldbook dictionary for DICTD
150 Summary(pl): S³ownik CIAworldbook dla dictd
151 Group: Applications/Dictionaries
152 URL: http://www.prime-project.org/dict/
154 Requires: %{_sysconfdir}/dictd
155 Obsoletes: dict-world95
157 %description -n dict-CIAworldbook
158 This package contains The 2002 CIA World Factbook for use by the
159 dictionary server in the dictd package.
161 %description -n dict-CIAworldbook -l pl
162 Ten pakiet zawiera s³ownik The 2002 CIA World Factbook do u¿ywania z
163 serwerem s³ownika dictd.
172 cp -f %{_datadir}/automake/install-sh .
173 cp -f %{_datadir}/automake/config.sub .
177 sed 's/^[[:alpha:]]\{2,\}$/:&:/' journo-1.1/journalism.dict | \
178 dictfmt -j -u "http://dsl.org/lit/" -s Journalism journo
181 sed 's/^[[:upper:]]\{2,\}/:&:/' devils.txt | \
182 dictfmt -j -u http://wiretap.area.com/Gopher/Library/Classic/devils.txt \
183 -s "The Devil's Dictionary (1881-1906)" devil
186 #egrep -v "^#" slownik | tr -d \[\] | tr ê󱶳¿¼æñ eoaslzzcn | \
187 egrep -v "^#" slownik | tr -d \[\] | \
188 sed 's/^\([[:alnum:]]\{2,\}\)\ \ /:\1:/' | \
189 dictfmt -j -u "http://ptm.linux.pl/slownik" \
190 -s "Projekt Tlumaczenia Manuali" ptm
193 cd world02-2003-02-15
198 rm -rf $RPM_BUILD_ROOT
199 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd,%{_bindir}}
200 %{__make} install dictdir=$RPM_BUILD_ROOT%{_datadir}/dictd
201 install ptm.* journo.* devil.* $RPM_BUILD_ROOT%{_datadir}/dictd
202 install world02-2003-02-15/world02.* $RPM_BUILD_ROOT%{_datadir}/dictd
204 # jargon has separate package
205 rm -f $RPM_BUILD_ROOT%{_datadir}/dictd/jargon.*
207 for i in easton elements foldoc hitchcock world02 journo ptm devil; do
208 dictprefix=%{_datadir}/dictd/$i
209 echo "# Misc Dictionaries - $i
211 data \"$dictprefix.dict.dz\"
212 index \"$dictprefix.index\"
213 }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/$i.dictconf
217 rm -rf $RPM_BUILD_ROOT
220 if [ -f /var/lock/subsys/dictd ]; then
221 /etc/rc.d/init.d/dictd restart 1>&2
224 %postun -n dict-devil
225 if [ -f /var/lock/subsys/dictd ]; then
226 /etc/rc.d/init.d/dictd restart 1>&2 || true
230 if [ -f /var/lock/subsys/dictd ]; then
231 /etc/rc.d/init.d/dictd restart 1>&2
234 %postun -n dict-easton
235 if [ -f /var/lock/subsys/dictd ]; then
236 /etc/rc.d/init.d/dictd restart 1>&2 || true
239 %post -n dict-elements
240 if [ -f /var/lock/subsys/dictd ]; then
241 /etc/rc.d/init.d/dictd restart 1>&2
244 %postun -n dict-elements
245 if [ -f /var/lock/subsys/dictd ]; then
246 /etc/rc.d/init.d/dictd restart 1>&2 || true
250 if [ -f /var/lock/subsys/dictd ]; then
251 /etc/rc.d/init.d/dictd restart 1>&2
254 %postun -n dict-foldoc
255 if [ -f /var/lock/subsys/dictd ]; then
256 /etc/rc.d/init.d/dictd restart 1>&2 || true
259 %post -n dict-hitchcock
260 if [ -f /var/lock/subsys/dictd ]; then
261 /etc/rc.d/init.d/dictd restart 1>&2
264 %postun -n dict-hitchcock
265 if [ -f /var/lock/subsys/dictd ]; then
266 /etc/rc.d/init.d/dictd restart 1>&2 || true
270 if [ -f /var/lock/subsys/dictd ]; then
271 /etc/rc.d/init.d/dictd restart 1>&2
274 %postun -n dict-journo
275 if [ -f /var/lock/subsys/dictd ]; then
276 /etc/rc.d/init.d/dictd restart 1>&2
280 if [ -f /var/lock/subsys/dictd ]; then
281 /etc/rc.d/init.d/dictd restart 1>&2
285 if [ -f /var/lock/subsys/dictd ]; then
286 /etc/rc.d/init.d/dictd restart 1>&2
289 %post -n dict-CIAworldbook
290 if [ -f /var/lock/subsys/dictd ]; then
291 /etc/rc.d/init.d/dictd restart 1>&2
294 %postun -n dict-CIAworldbook
295 if [ -f /var/lock/subsys/dictd ]; then
296 /etc/rc.d/init.d/dictd restart 1>&2 || true
300 %defattr(644,root,root,755)
301 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/devil.dictconf
302 %{_datadir}/dictd/devil.*
304 %files -n dict-easton
305 %defattr(644,root,root,755)
306 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/easton.dictconf
307 %{_datadir}/dictd/easton.*
309 %files -n dict-elements
310 %defattr(644,root,root,755)
311 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/elements.dictconf
312 %{_datadir}/dictd/elements.*
314 %files -n dict-foldoc
315 %defattr(644,root,root,755)
316 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/foldoc.dictconf
317 %{_datadir}/dictd/foldoc.*
319 %files -n dict-hitchcock
320 %defattr(644,root,root,755)
321 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/hitchcock.dictconf
322 %{_datadir}/dictd/hitchcock.*
324 %files -n dict-journo
325 %defattr(644,root,root,755)
326 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/journo.dictconf
327 %{_datadir}/dictd/journo.*
330 %defattr(644,root,root,755)
331 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/ptm.dictconf
332 %{_datadir}/dictd/ptm.*
334 %files -n dict-CIAworldbook
335 %defattr(644,root,root,755)
336 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/world02.dictconf
337 %{_datadir}/dictd/world02.*