1 Summary: XFree86 misc fonts with DOS encodings
2 Summary(pl): Fonty misc z DOS-owym kodowaniem
3 Name: XFree86-fonts-dos
8 Source0: XFree86-fonts-misc-%{version}.tar.bz2
9 # Source0-md5: cbadfe4e784653b2795def646b905fb4
10 Source1: %{name}-maps.tar.bz2
11 # Source1-md5: edd71dbe130ae9ce39704ee2ee9e185e
12 Source2: %{name}-Mazovia.map
13 BuildRequires: XFree86-fonts-utils
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
19 This package contains fixed fonts with DOS encodings.
20 Fonts were taken from XFree86.
23 Pakiet ten zawiera czcionki fixed z DOS-owym kodowaniem.
24 Fonty zosta³y wziête z dystrybucji XFree86.
26 %package -n XFree86-fonts-CP737
27 Summary: Fixed CP737 fonts
28 Summary(pl): Fonty rastrowe CP737
30 Requires(post,postun): fontpostinst
31 Requires: %{_fontsdir}/misc
33 %description -n XFree86-fonts-CP737
34 This package contains fixed fonts with CP737 encoding.
36 %description -n XFree86-fonts-CP737 -l pl
37 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
39 %package -n XFree86-fonts-CP775
40 Summary: Fixed CP775 fonts
41 Summary(pl): Fonty rastrowe CP775
43 Requires(post,postun): fontpostinst
44 Requires: %{_fontsdir}/misc
46 %description -n XFree86-fonts-CP775
47 This package contains fixed fonts with CP775 encoding.
49 %description -n XFree86-fonts-CP775 -l pl
50 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
52 %package -n XFree86-fonts-CP850
53 Summary: Fixed CP850 fonts
54 Summary(pl): Fonty rastrowe CP850
56 Requires(post,postun): fontpostinst
57 Requires: %{_fontsdir}/misc
59 %description -n XFree86-fonts-CP850
60 This package contains fixed fonts with CP850 encoding.
62 %description -n XFree86-fonts-CP850 -l pl
63 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
65 %package -n XFree86-fonts-CP852
66 Summary: Fixed CP852 fonts
67 Summary(pl): Fonty rastrowe CP852
69 Requires(post,postun): fontpostinst
70 Requires: %{_fontsdir}/misc
72 %description -n XFree86-fonts-CP852
73 This package contains fixed fonts with CP852 encoding.
75 %description -n XFree86-fonts-CP852 -l pl
76 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
78 %package -n XFree86-fonts-CP855
79 Summary: Fixed CP855 fonts
80 Summary(pl): Fonty rastrowe CP855
82 Requires(post,postun): fontpostinst
83 Requires: %{_fontsdir}/misc
85 %description -n XFree86-fonts-CP855
86 This package contains fixed fonts with CP855 encoding.
88 %description -n XFree86-fonts-CP855 -l pl
89 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
91 %package -n XFree86-fonts-CP857
92 Summary: Fixed CP857 fonts
93 Summary(pl): Fonty rastrowe CP857
95 Requires(post,postun): fontpostinst
96 Requires: %{_fontsdir}/misc
98 %description -n XFree86-fonts-CP857
99 This package contains fixed fonts with CP857 encoding.
101 %description -n XFree86-fonts-CP857 -l pl
102 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
104 %package -n XFree86-fonts-CP860
105 Summary: Fixed CP860 fonts
106 Summary(pl): Fonty rastrowe CP860
108 Requires(post,postun): fontpostinst
109 Requires: %{_fontsdir}/misc
111 %description -n XFree86-fonts-CP860
112 This package contains fixed fonts with CP860 encoding.
114 %description -n XFree86-fonts-CP860 -l pl
115 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
117 %package -n XFree86-fonts-CP861
118 Summary: Fixed CP861 fonts
119 Summary(pl): Fonty rastrowe CP861
121 Requires(post,postun): fontpostinst
122 Requires: %{_fontsdir}/misc
124 %description -n XFree86-fonts-CP861
125 This package contains fixed fonts with CP861 encoding.
127 %description -n XFree86-fonts-CP861 -l pl
128 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
130 %package -n XFree86-fonts-CP862
131 Summary: Fixed CP862 fonts
132 Summary(pl): Fonty rastrowe CP862
134 Requires(post,postun): fontpostinst
135 Requires: %{_fontsdir}/misc
137 %description -n XFree86-fonts-CP862
138 This package contains fixed fonts with CP862 encoding.
140 %description -n XFree86-fonts-CP862 -l pl
141 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
143 %package -n XFree86-fonts-CP863
144 Summary: Fixed CP863 fonts
145 Summary(pl): Fonty rastrowe CP863
147 Requires(post,postun): fontpostinst
148 Requires: %{_fontsdir}/misc
150 %description -n XFree86-fonts-CP863
151 This package contains fixed fonts with CP863 encoding.
153 %description -n XFree86-fonts-CP863 -l pl
154 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
156 %package -n XFree86-fonts-CP864
157 Summary: Fixed CP864 fonts
158 Summary(pl): Fonty rastrowe CP864
160 Requires(post,postun): fontpostinst
161 Requires: %{_fontsdir}/misc
163 %description -n XFree86-fonts-CP864
164 This package contains fixed fonts with CP864 encoding.
166 %description -n XFree86-fonts-CP864 -l pl
167 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
169 %package -n XFree86-fonts-CP865
170 Summary: Fixed CP865 fonts
171 Summary(pl): Fonty rastrowe CP865
173 Requires(post,postun): fontpostinst
174 Requires: %{_fontsdir}/misc
176 %description -n XFree86-fonts-CP865
177 This package contains fixed fonts with CP865 encoding.
179 %description -n XFree86-fonts-CP865 -l pl
180 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
182 %package -n XFree86-fonts-CP866
183 Summary: Fixed CP866 fonts
184 Summary(pl): Fonty rastrowe CP866
186 Requires(post,postun): fontpostinst
187 Requires: %{_fontsdir}/misc
189 %description -n XFree86-fonts-CP866
190 This package contains fixed fonts with CP866 encoding.
192 %description -n XFree86-fonts-CP866 -l pl
193 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
195 %package -n XFree86-fonts-CP869
196 Summary: Fixed CP869 fonts
197 Summary(pl): Fonty rastrowe CP869
199 Requires(post,postun): fontpostinst
200 Requires: %{_fontsdir}/misc
202 %description -n XFree86-fonts-CP869
203 This package contains fixed fonts with CP869 encoding.
205 %description -n XFree86-fonts-CP869 -l pl
206 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
208 %package -n XFree86-fonts-CP874
209 Summary: Fixed CP874 fonts
210 Summary(pl): Fonty rastrowe CP874
212 Requires(post,postun): fontpostinst
213 Requires: %{_fontsdir}/misc
215 %description -n XFree86-fonts-CP874
216 This package contains fixed fonts with CP874 encoding.
218 %description -n XFree86-fonts-CP874 -l pl
219 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
221 %package -n XFree86-fonts-Mazovia
222 Summary: Fixed Mazovia fonts
223 Summary(pl): Fonty rastrowe Mazovia
225 Requires(post,postun): fontpostinst
226 Requires: %{_fontsdir}/misc
228 %description -n XFree86-fonts-Mazovia
229 This package contains fixed fonts with Mazovia encoding.
231 %description -n XFree86-fonts-Mazovia -l pl
232 Pakiet ten zawiera czcionki fixed z kodowaniem Mazovia.
235 %setup -q -n FONTS -a1
236 cp -f %{SOURCE2} map-Mazovia-0
241 for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
243 ucs2any $i map-CP$j-0 CP$j-0
244 name=`basename $i .bdf`-CP$j-0
245 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
248 ucs2any $i map-Mazovia-0 Mazovia-0
249 name=`basename $i .bdf`-Mazovia-0
250 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
255 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
256 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
259 rm -rf $RPM_BUILD_ROOT
261 %post -n XFree86-fonts-CP737
264 %postun -n XFree86-fonts-CP737
267 %post -n XFree86-fonts-CP775
270 %postun -n XFree86-fonts-CP775
273 %post -n XFree86-fonts-CP850
276 %postun -n XFree86-fonts-CP850
279 %post -n XFree86-fonts-CP852
282 %postun -n XFree86-fonts-CP852
285 %post -n XFree86-fonts-CP855
288 %postun -n XFree86-fonts-CP855
291 %post -n XFree86-fonts-CP857
294 %postun -n XFree86-fonts-CP857
297 %post -n XFree86-fonts-CP860
300 %postun -n XFree86-fonts-CP860
303 %post -n XFree86-fonts-CP861
306 %postun -n XFree86-fonts-CP861
309 %post -n XFree86-fonts-CP862
312 %postun -n XFree86-fonts-CP862
315 %post -n XFree86-fonts-CP863
318 %postun -n XFree86-fonts-CP863
321 %post -n XFree86-fonts-CP864
324 %postun -n XFree86-fonts-CP864
327 %post -n XFree86-fonts-CP865
330 %postun -n XFree86-fonts-CP865
333 %post -n XFree86-fonts-CP866
336 %postun -n XFree86-fonts-CP866
339 %post -n XFree86-fonts-CP869
342 %postun -n XFree86-fonts-CP869
345 %post -n XFree86-fonts-CP874
348 %postun -n XFree86-fonts-CP874
351 %post -n XFree86-fonts-Mazovia
354 %postun -n XFree86-fonts-Mazovia
357 %files -n XFree86-fonts-CP737
358 %defattr(644,root,root,755)
359 %{_fontsdir}/misc/*CP737-0.pcf.gz
361 %files -n XFree86-fonts-CP775
362 %defattr(644,root,root,755)
363 %{_fontsdir}/misc/*CP775-0.pcf.gz
365 %files -n XFree86-fonts-CP850
366 %defattr(644,root,root,755)
367 %{_fontsdir}/misc/*CP850-0.pcf.gz
369 %files -n XFree86-fonts-CP852
370 %defattr(644,root,root,755)
371 %{_fontsdir}/misc/*CP852-0.pcf.gz
373 %files -n XFree86-fonts-CP855
374 %defattr(644,root,root,755)
375 %{_fontsdir}/misc/*CP855-0.pcf.gz
377 %files -n XFree86-fonts-CP857
378 %defattr(644,root,root,755)
379 %{_fontsdir}/misc/*CP857-0.pcf.gz
381 %files -n XFree86-fonts-CP860
382 %defattr(644,root,root,755)
383 %{_fontsdir}/misc/*CP860-0.pcf.gz
385 %files -n XFree86-fonts-CP861
386 %defattr(644,root,root,755)
387 %{_fontsdir}/misc/*CP861-0.pcf.gz
389 %files -n XFree86-fonts-CP862
390 %defattr(644,root,root,755)
391 %{_fontsdir}/misc/*CP862-0.pcf.gz
393 %files -n XFree86-fonts-CP863
394 %defattr(644,root,root,755)
395 %{_fontsdir}/misc/*CP863-0.pcf.gz
397 %files -n XFree86-fonts-CP864
398 %defattr(644,root,root,755)
399 %{_fontsdir}/misc/*CP864-0.pcf.gz
401 %files -n XFree86-fonts-CP865
402 %defattr(644,root,root,755)
403 %{_fontsdir}/misc/*CP865-0.pcf.gz
405 %files -n XFree86-fonts-CP866
406 %defattr(644,root,root,755)
407 %{_fontsdir}/misc/*CP866-0.pcf.gz
409 %files -n XFree86-fonts-CP869
410 %defattr(644,root,root,755)
411 %{_fontsdir}/misc/*CP869-0.pcf.gz
413 %files -n XFree86-fonts-CP874
414 %defattr(644,root,root,755)
415 %{_fontsdir}/misc/*CP874-0.pcf.gz
417 %files -n XFree86-fonts-Mazovia
418 %defattr(644,root,root,755)
419 %{_fontsdir}/misc/*Mazovia-0.pcf.gz