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 Source3: http://ptm.linux.pl/slownik
15 Source4: http://www.prime-project.org/dict/dict-world02--2003-02-15.tar.gz
16 # Source4-md5: 344bd453d17536e281f1874cfd318c7d
17 URL: http://www.dict.org/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: dictfmt
21 BuildRequires: dictzip
23 Requires: %{_sysconfdir}/dictd
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 This package contains misc dictionaries for use by the dictionary
28 server in the dictd package.
31 Ten pakiet zawiera ró¿ne s³owniki do u¿ywania z serwerem s³ownika
34 %package -n dict-devil
35 Summary: Devil's dictionary for DICTD
36 Summary(pl): S³ownik Devil's Dictionary dla dictd
37 Group: Applications/Dictionaries
39 Requires: %{_sysconfdir}/dictd
41 %description -n dict-devil
42 This package contains The Devil's Dictionary, a cynical and irreverent
43 dictionary of common words, formatted for use by the dictionary server
46 %description -n dict-devil -l pl
47 S³ownik The Devil's Dictionary, zawieraj±cy cyniczne i lekcewa¿±ce
48 opisy s³ów - do u¿ywania z serwerem s³ownika dictd.
50 %package -n dict-easton
51 Summary: Easton's dictionary for DICTD
52 Summary(pl): S³ownik Eastona dla dictd
53 Group: Applications/Dictionaries
55 Requires: %{_sysconfdir}/dictd
57 %description -n dict-easton
58 This package contains Easton's 1897 Bible Dictionary, based on M.G.
59 Easton M.A., D.D.'s Illustrated Bible Dictionary, Third Edition,
60 published by Thomas Nelson, 1897, for use by the dictionary server in
63 %description -n dict-easton -l pl
64 Ten pakiet zawiera s³ownik Easton's 1897 Bible Dictionary do u¿ywania
65 z serwerem s³ownika dictd.
67 %package -n dict-elements
68 Summary: Elements dictionary for DICTD
69 Summary(pl): S³ownik pierwiastków dla dictd
70 Group: Applications/Dictionaries
72 Requires: %{_sysconfdir}/dictd
74 %description -n dict-elements
75 This package contains a freely-distributed database of elemental
76 information, edited by Jay Kominek, for use by the dictionary server
79 %description -n dict-elements -l pl
80 Ten pakiet zawiera bazê danych informacji o pierwiastkach,
81 przygotowan± przez Jaya Kominka, do u¿ywania z serwerem s³ownika
84 %package -n dict-foldoc
85 Summary: The Free On-line Dictionary of Computing for DICTD
86 Summary(pl): Darmowy s³ownik z dziedziny obliczeñ dla dictd
87 Group: Applications/Dictionaries
89 Requires: %{_sysconfdir}/dictd
91 %description -n dict-foldoc
92 This package contains The Free On-line Dictionary of Computing for use
93 by the dictionary server in the dictd package.
95 %description -n dict-foldoc -l pl
96 Ten pakiet zawiera s³ownik The Free On-line Dictionary of Computing do
97 u¿ywania z serwerem s³ownika dictd.
99 %package -n dict-hitchcock
100 Summary: Hitchcock's dictionary for DICTD
101 Summary(pl): S³ownik Hitchcocka dla dictd
102 Group: Applications/Dictionaries
104 Requires: %{_sysconfdir}/dictd
106 %description -n dict-hitchcock
107 This package contains Hitchcock's Bible Names Dictionary, derived from
108 Hitchcock's New and Complete Analysis of the Holy Bible, published in
109 the late 1800's, for use by the dictionary server in the dictd
112 %description -n dict-hitchcock -l pl
113 Ten pakiet zawiera s³ownik Hitchcock's Bible Names Dictionary do
114 u¿ywania z serwerem s³ownika dictd.
116 %package -n dict-journo
117 Summary: Journalism dictionary for DICTD
118 Summary(pl): S³ownik Journalism dla dictd
119 Group: Applications/Dictionaries
121 Requires: %{_sysconfdir}/dictd
123 %description -n dict-journo
124 This package contains Free Journalism Dictionary for use by the
125 dictionary server in the dictd package.
127 %description -n dict-journo -l pl
128 Ten pakiet zawiera s³ownik Free Journalism Dictionary do u¿ywania z
129 serwerem s³ownika dictd.
132 Summary: PTM dictionary for DICTD
133 Summary(pl): S³ownik PTM dla dictd
134 Group: Applications/Dictionaries
136 Requires: %{_sysconfdir}/dictd
138 %description -n dict-ptm
139 This package contains dictionary created by Projekt Tlumaczenia
140 Manuali for use by the dicitonary server in the dictd package.
142 %description -n dict-ptm -l pl
143 Ten pakiet zawiera s³ownik Projektu T³umaczenia Manuali, do u¿ycia z
146 %package -n dict-CIAworldbook
147 Summary: CIAworldbook dictionary for DICTD
148 Summary(pl): S³ownik CIAworldbook dla dictd
149 Group: Applications/Dictionaries
150 URL: http://www.prime-project.org/dict/
152 Requires: %{_sysconfdir}/dictd
153 Obsoletes: dict-world95
155 %description -n dict-CIAworldbook
156 This package contains The 2002 CIA World Factbook for use by the
157 dictionary server in the dictd package.
159 %description -n dict-CIAworldbook -l pl
160 Ten pakiet zawiera s³ownik The 2002 CIA World Factbook do u¿ywania z
161 serwerem s³ownika dictd.
170 cp -f %{_datadir}/automake/install-sh .
171 cp -f %{_datadir}/automake/config.sub .
175 sed 's/^[[:alpha:]]\{2,\}$/:&:/' journo-1.1/journalism.dict | \
176 dictfmt -j -u "http://dsl.org/lit/" -s Journalism journo
179 sed 's/^[[:upper:]]\{2,\}/:&:/' devils.txt | \
180 dictfmt -j -u http://wiretap.area.com/Gopher/Library/Classic/devils.txt \
181 -s "The Devil's Dictionary (1881-1906)" devil
184 #egrep -v "^#" slownik | tr -d \[\] | tr ê󱶳¿¼æñ eoaslzzcn | \
185 egrep -v "^#" slownik | tr -d \[\] | \
186 sed 's/^\([[:alnum:]]\{2,\}\)\ \ /:\1:/' | \
187 dictfmt -j -u "http://ptm.linux.pl/slownik" \
188 -s "Projekt Tlumaczenia Manuali" ptm
191 cd world02-2003-02-15
196 rm -rf $RPM_BUILD_ROOT
197 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd,%{_bindir}}
198 %{__make} install dictdir=$RPM_BUILD_ROOT%{_datadir}/dictd
199 install ptm.* journo.* devil.* $RPM_BUILD_ROOT%{_datadir}/dictd
200 install world02-2003-02-15/world02.* $RPM_BUILD_ROOT%{_datadir}/dictd
202 # jargon has separate package
203 rm -f $RPM_BUILD_ROOT%{_datadir}/dictd/jargon.*
205 for i in easton elements foldoc hitchcock world02 journo ptm devil; do
206 dictprefix=%{_datadir}/dictd/$i
207 echo "# Misc Dictionaries - $i
209 data \"$dictprefix.dict.dz\"
210 index \"$dictprefix.index\"
211 }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/$i.dictconf
215 rm -rf $RPM_BUILD_ROOT
218 if [ -f /var/lock/subsys/dictd ]; then
219 /etc/rc.d/init.d/dictd restart 1>&2
222 %postun -n dict-devil
223 if [ -f /var/lock/subsys/dictd ]; then
224 /etc/rc.d/init.d/dictd restart 1>&2 || true
228 if [ -f /var/lock/subsys/dictd ]; then
229 /etc/rc.d/init.d/dictd restart 1>&2
232 %postun -n dict-easton
233 if [ -f /var/lock/subsys/dictd ]; then
234 /etc/rc.d/init.d/dictd restart 1>&2 || true
237 %post -n dict-elements
238 if [ -f /var/lock/subsys/dictd ]; then
239 /etc/rc.d/init.d/dictd restart 1>&2
242 %postun -n dict-elements
243 if [ -f /var/lock/subsys/dictd ]; then
244 /etc/rc.d/init.d/dictd restart 1>&2 || true
248 if [ -f /var/lock/subsys/dictd ]; then
249 /etc/rc.d/init.d/dictd restart 1>&2
252 %postun -n dict-foldoc
253 if [ -f /var/lock/subsys/dictd ]; then
254 /etc/rc.d/init.d/dictd restart 1>&2 || true
257 %post -n dict-hitchcock
258 if [ -f /var/lock/subsys/dictd ]; then
259 /etc/rc.d/init.d/dictd restart 1>&2
262 %postun -n dict-hitchcock
263 if [ -f /var/lock/subsys/dictd ]; then
264 /etc/rc.d/init.d/dictd restart 1>&2 || true
268 if [ -f /var/lock/subsys/dictd ]; then
269 /etc/rc.d/init.d/dictd restart 1>&2
272 %postun -n dict-journo
273 if [ -f /var/lock/subsys/dictd ]; then
274 /etc/rc.d/init.d/dictd restart 1>&2
278 if [ -f /var/lock/subsys/dictd ]; then
279 /etc/rc.d/init.d/dictd restart 1>&2
283 if [ -f /var/lock/subsys/dictd ]; then
284 /etc/rc.d/init.d/dictd restart 1>&2
287 %post -n dict-CIAworldbook
288 if [ -f /var/lock/subsys/dictd ]; then
289 /etc/rc.d/init.d/dictd restart 1>&2
292 %postun -n dict-CIAworldbook
293 if [ -f /var/lock/subsys/dictd ]; then
294 /etc/rc.d/init.d/dictd restart 1>&2 || true
298 %defattr(644,root,root,755)
299 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/devil.dictconf
300 %{_datadir}/dictd/devil.*
302 %files -n dict-easton
303 %defattr(644,root,root,755)
304 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/easton.dictconf
305 %{_datadir}/dictd/easton.*
307 %files -n dict-elements
308 %defattr(644,root,root,755)
309 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/elements.dictconf
310 %{_datadir}/dictd/elements.*
312 %files -n dict-foldoc
313 %defattr(644,root,root,755)
314 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/foldoc.dictconf
315 %{_datadir}/dictd/foldoc.*
317 %files -n dict-hitchcock
318 %defattr(644,root,root,755)
319 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/hitchcock.dictconf
320 %{_datadir}/dictd/hitchcock.*
322 %files -n dict-journo
323 %defattr(644,root,root,755)
324 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/journo.dictconf
325 %{_datadir}/dictd/journo.*
328 %defattr(644,root,root,755)
329 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/ptm.dictconf
330 %{_datadir}/dictd/ptm.*
332 %files -n dict-CIAworldbook
333 %defattr(644,root,root,755)
334 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/world02.dictconf
335 %{_datadir}/dictd/world02.*