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 Source1: http://dsl.org/faq/fjd/journo-1.1.tar.gz
11 # Source1-md5: e7ee9a7694e5640cca02da993839771a
12 Source2: http://wiretap.area.com/Gopher/Library/Classic/devils.txt
13 # Source2-md5: 56b2918934d8f1162ec0f711df8c9669
14 Source3: http://ptm.linux.pl/slownik
15 # Source3-md5: 7edc21ffad074041097e9f9f0e2c2b15
16 Source4: http://www.prime-project.org/dict/dict-world02--2003-02-15.tar.gz
17 # Source4-md5: 344bd453d17536e281f1874cfd318c7d
18 URL: http://www.dict.org/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: dictfmt
22 BuildRequires: dictzip
24 Requires: %{_sysconfdir}/dictd
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This package contains misc dictionaries for use by the dictionary
29 server in the dictd package.
32 Ten pakiet zawiera ró¿ne s³owniki do u¿ywania z serwerem s³ownika
35 %package -n dict-devil
36 Summary: Devil's dictionary for DICTD
37 Summary(pl): S³ownik Devil's Dictionary dla dictd
38 Group: Applications/Dictionaries
40 Requires: %{_sysconfdir}/dictd
42 %description -n dict-devil
43 This package contains The Devil's Dictionary, a cynical and irreverent
44 dictionary of common words, formatted for use by the dictionary server
47 %description -n dict-devil -l pl
48 S³ownik The Devil's Dictionary, zawieraj±cy cyniczne i lekcewa¿±ce
49 opisy s³ów - do u¿ywania z serwerem s³ownika dictd.
51 %package -n dict-easton
52 Summary: easton dictionary for DICTD
53 Summary(pl): S³ownik easton dla dictd
54 Group: Applications/Dictionaries
56 Requires: %{_sysconfdir}/dictd
58 %description -n dict-easton
59 This package contains Easton's 1897 Bible Dictionary, based on M.G.
60 Easton M.A., D.D.'s Illustrated Bible Dictionary, Third Edition,
61 published by Thomas Nelson, 1897, for use by the dictionary server in
64 %description -n dict-easton -l pl
65 Ten pakiet zawiera s³ownik Easton's 1897 Bible Dictionary do u¿ywania
66 z serwerem s³ownika dictd.
68 %package -n dict-elements
69 Summary: elements dictionary for DICTD
70 Summary(pl): S³ownik elements dla dictd
71 Group: Applications/Dictionaries
73 Requires: %{_sysconfdir}/dictd
75 %description -n dict-elements
76 This package contains a freely-distributed database of elemental
77 information, edited by Jay Kominek, for use by the dictionary server
80 %description -n dict-elements -l pl
81 Ten pakiet zawiera bazê danych informacji o pierwiastkach,
82 przygotowan± przez Jaya Kominka, do u¿ywania z serwerem s³ownika
85 %package -n dict-foldoc
86 Summary: The Free On-line Dictionary of Computing for DICTD
87 Summary(pl): Wolny s³ownik komputerów dla dictd
88 Group: Applications/Dictionaries
90 Requires: %{_sysconfdir}/dictd
92 %description -n dict-foldoc
93 This package contains The Free On-line Dictionary of Computing for use
94 by the dictionary server in the dictd package.
96 %description -n dict-foldoc -l pl
97 Ten pakiet zawiera s³ownik The Free On-line Dictionary of Computing do
98 u¿ywania z serwerem s³ownika dictd.
100 %package -n dict-hitchcock
101 Summary: hitchcock dictionary for DICTD
102 Summary(pl): S³ownik hitchcock dla dictd
103 Group: Applications/Dictionaries
105 Requires: %{_sysconfdir}/dictd
107 %description -n dict-hitchcock
108 This package contains Hitchcock's Bible Names Dictionary, derived from
109 Hitchcock's New and Complete Analysis of the Holy Bible, published in
110 the late 1800's, for use by the dictionary server in the dictd
113 %description -n dict-hitchcock -l pl
114 Ten pakiet zawiera s³ownik Hitchcock's Bible Names Dictionary do
115 u¿ywania z serwerem s³ownika dictd.
117 %package -n dict-journo
118 Summary: Journalism dictionary for DICTD
119 Summary(pl): S³ownik Journalism dla dictd
120 Group: Applications/Dictionaries
122 Requires: %{_sysconfdir}/dictd
124 %description -n dict-journo
125 This package contains Free Journalism Dictionary for use by the
126 dictionary server in the dictd package.
128 %description -n dict-journo -l pl
129 Ten pakiet zawiera s³ownik Free Journalism Dictionary do u¿ywania z
130 serwerem s³ownika dictd.
133 Summary: PTM dictionary for DICTD
134 Summary(pl): S³ownik PTM dla dictd
135 Group: Applications/Dictionaries
137 Requires: %{_sysconfdir}/dictd
139 %description -n dict-ptm
140 This package contains dictionary created by Projekt Tlumaczenia
141 Manuali for use by the dicitonary server in the dictd package.
143 %description -n dict-ptm -l pl
144 Ten pakiet zawiera s³ownik Projektu T³umaczenia Manuali, do u¿ycia z
147 %package -n dict-CIAworldbook
148 Summary: CIAworldbook dictionary for DICTD
149 Summary(pl): S³ownik CIAworldbook dla dictd
150 Group: Applications/Dictionaries
151 URL: http://www.prime-project.org/dict/
153 Requires: %{_sysconfdir}/dictd
154 Obsoletes: dict-world95
156 %description -n dict-CIAworldbook
157 This package contains The 2002 CIA World Factbook for use by the
158 dictionary server in the dictd package.
160 %description -n dict-CIAworldbook -l pl
161 Ten pakiet zawiera s³ownik The 2002 CIA World Factbook do u¿ywania z
162 serwerem s³ownika dictd.
171 cp -f %{_datadir}/automake/install-sh .
172 cp -f %{_datadir}/automake/config.sub .
176 sed 's/^[[:alpha:]]\{2,\}$/:&:/' journo-1.1/journalism.dict | \
177 dictfmt -j -u "http://dsl.org/lit/" -s Journalism journo
180 sed 's/^[[:upper:]]\{2,\}/:&:/' devils.txt | \
181 dictfmt -j -u http://wiretap.area.com/Gopher/Library/Classic/devils.txt \
182 -s "The Devil's Dictionary (1881-1906)" devil
185 #egrep -v "^#" slownik | tr -d \[\] | tr ê󱶳¿¼æñ eoaslzzcn | \
186 egrep -v "^#" slownik | tr -d \[\] | \
187 sed 's/^\([[:alnum:]]\{2,\}\)\ \ /:\1:/' | \
188 dictfmt -j -u "http://ptm.linux.pl/slownik" \
189 -s "Projekt Tlumaczenia Manuali" ptm
192 cd world02-2003-02-15
197 rm -rf $RPM_BUILD_ROOT
198 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd,%{_bindir}}
199 %{__make} install dictdir=$RPM_BUILD_ROOT%{_datadir}/dictd
200 install ptm.* journo.* devil.* $RPM_BUILD_ROOT%{_datadir}/dictd
201 install world02-2003-02-15/world02.* $RPM_BUILD_ROOT%{_datadir}/dictd
203 # jargon has separate package
204 rm -f $RPM_BUILD_ROOT%{_datadir}/dictd/jargon.*
206 for i in easton elements foldoc hitchcock world02 journo ptm devil; do
207 dictprefix=%{_datadir}/dictd/$i
208 echo "# Misc Dictionaries - $i
210 data \"$dictprefix.dict.dz\"
211 index \"$dictprefix.index\"
212 }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/$i.dictconf
216 rm -rf $RPM_BUILD_ROOT
219 if [ -f /var/lock/subsys/dictd ]; then
220 /etc/rc.d/init.d/dictd restart 1>&2
223 %postun -n dict-devil
224 if [ -f /var/lock/subsys/dictd ]; then
225 /etc/rc.d/init.d/dictd restart 1>&2 || true
229 if [ -f /var/lock/subsys/dictd ]; then
230 /etc/rc.d/init.d/dictd restart 1>&2
233 %postun -n dict-easton
234 if [ -f /var/lock/subsys/dictd ]; then
235 /etc/rc.d/init.d/dictd restart 1>&2 || true
238 %post -n dict-elements
239 if [ -f /var/lock/subsys/dictd ]; then
240 /etc/rc.d/init.d/dictd restart 1>&2
243 %postun -n dict-elements
244 if [ -f /var/lock/subsys/dictd ]; then
245 /etc/rc.d/init.d/dictd restart 1>&2 || true
249 if [ -f /var/lock/subsys/dictd ]; then
250 /etc/rc.d/init.d/dictd restart 1>&2
253 %postun -n dict-foldoc
254 if [ -f /var/lock/subsys/dictd ]; then
255 /etc/rc.d/init.d/dictd restart 1>&2 || true
258 %post -n dict-hitchcock
259 if [ -f /var/lock/subsys/dictd ]; then
260 /etc/rc.d/init.d/dictd restart 1>&2
263 %postun -n dict-hitchcock
264 if [ -f /var/lock/subsys/dictd ]; then
265 /etc/rc.d/init.d/dictd restart 1>&2 || true
269 if [ -f /var/lock/subsys/dictd ]; then
270 /etc/rc.d/init.d/dictd restart 1>&2
273 %postun -n dict-journo
274 if [ -f /var/lock/subsys/dictd ]; then
275 /etc/rc.d/init.d/dictd restart 1>&2
279 if [ -f /var/lock/subsys/dictd ]; then
280 /etc/rc.d/init.d/dictd restart 1>&2
284 if [ -f /var/lock/subsys/dictd ]; then
285 /etc/rc.d/init.d/dictd restart 1>&2
288 %post -n dict-CIAworldbook
289 if [ -f /var/lock/subsys/dictd ]; then
290 /etc/rc.d/init.d/dictd restart 1>&2
293 %postun -n dict-CIAworldbook
294 if [ -f /var/lock/subsys/dictd ]; then
295 /etc/rc.d/init.d/dictd restart 1>&2 || true
299 %defattr(644,root,root,755)
300 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/devil.dictconf
301 %{_datadir}/dictd/devil.*
303 %files -n dict-easton
304 %defattr(644,root,root,755)
305 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/easton.dictconf
306 %{_datadir}/dictd/easton.*
308 %files -n dict-elements
309 %defattr(644,root,root,755)
310 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/elements.dictconf
311 %{_datadir}/dictd/elements.*
313 %files -n dict-foldoc
314 %defattr(644,root,root,755)
315 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/foldoc.dictconf
316 %{_datadir}/dictd/foldoc.*
318 %files -n dict-hitchcock
319 %defattr(644,root,root,755)
320 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/hitchcock.dictconf
321 %{_datadir}/dictd/hitchcock.*
323 %files -n dict-journo
324 %defattr(644,root,root,755)
325 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/journo.dictconf
326 %{_datadir}/dictd/journo.*
329 %defattr(644,root,root,755)
330 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/ptm.dictconf
331 %{_datadir}/dictd/ptm.*
333 %files -n dict-CIAworldbook
334 %defattr(644,root,root,755)
335 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/world02.dictconf
336 %{_datadir}/dictd/world02.*