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 /usr/share/automake/install-sh .
171 cp -f /usr/share/automake/config.sub .
175 sed 's/^[[:alpha:]]\{2,\}$/:&:/' fjd/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}}
200 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.*