1 Summary: XFree86 misc fonts with DOS encodings
2 Summary(pl.UTF-8): 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.
22 %description -l pl.UTF-8
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.UTF-8): 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.UTF-8
37 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
39 %package -n XFree86-fonts-CP775
40 Summary: Fixed CP775 fonts
41 Summary(pl.UTF-8): 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.UTF-8
50 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
52 %package -n XFree86-fonts-CP850
53 Summary: Fixed CP850 fonts
54 Summary(pl.UTF-8): 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.UTF-8
63 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
65 %package -n XFree86-fonts-CP852
66 Summary: Fixed CP852 fonts
67 Summary(pl.UTF-8): 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.UTF-8
76 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
78 %package -n XFree86-fonts-CP855
79 Summary: Fixed CP855 fonts
80 Summary(pl.UTF-8): 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.UTF-8
89 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
91 %package -n XFree86-fonts-CP857
92 Summary: Fixed CP857 fonts
93 Summary(pl.UTF-8): 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.UTF-8
102 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
104 %package -n XFree86-fonts-CP860
105 Summary: Fixed CP860 fonts
106 Summary(pl.UTF-8): 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.UTF-8
115 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
117 %package -n XFree86-fonts-CP861
118 Summary: Fixed CP861 fonts
119 Summary(pl.UTF-8): 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.UTF-8
128 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
130 %package -n XFree86-fonts-CP862
131 Summary: Fixed CP862 fonts
132 Summary(pl.UTF-8): 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.UTF-8
141 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
143 %package -n XFree86-fonts-CP863
144 Summary: Fixed CP863 fonts
145 Summary(pl.UTF-8): 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.UTF-8
154 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
156 %package -n XFree86-fonts-CP864
157 Summary: Fixed CP864 fonts
158 Summary(pl.UTF-8): 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.UTF-8
167 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
169 %package -n XFree86-fonts-CP865
170 Summary: Fixed CP865 fonts
171 Summary(pl.UTF-8): 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.UTF-8
180 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
182 %package -n XFree86-fonts-CP866
183 Summary: Fixed CP866 fonts
184 Summary(pl.UTF-8): 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.UTF-8
193 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
195 %package -n XFree86-fonts-CP869
196 Summary: Fixed CP869 fonts
197 Summary(pl.UTF-8): 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.UTF-8
206 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
208 %package -n XFree86-fonts-CP874
209 Summary: Fixed CP874 fonts
210 Summary(pl.UTF-8): 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.UTF-8
219 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
221 %package -n XFree86-fonts-Mazovia
222 Summary: Fixed Mazovia fonts
223 Summary(pl.UTF-8): 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.UTF-8
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 rm -rf $RPM_BUILD_ROOT
256 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
257 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
260 rm -rf $RPM_BUILD_ROOT
262 %post -n XFree86-fonts-CP737
265 %postun -n XFree86-fonts-CP737
268 %post -n XFree86-fonts-CP775
271 %postun -n XFree86-fonts-CP775
274 %post -n XFree86-fonts-CP850
277 %postun -n XFree86-fonts-CP850
280 %post -n XFree86-fonts-CP852
283 %postun -n XFree86-fonts-CP852
286 %post -n XFree86-fonts-CP855
289 %postun -n XFree86-fonts-CP855
292 %post -n XFree86-fonts-CP857
295 %postun -n XFree86-fonts-CP857
298 %post -n XFree86-fonts-CP860
301 %postun -n XFree86-fonts-CP860
304 %post -n XFree86-fonts-CP861
307 %postun -n XFree86-fonts-CP861
310 %post -n XFree86-fonts-CP862
313 %postun -n XFree86-fonts-CP862
316 %post -n XFree86-fonts-CP863
319 %postun -n XFree86-fonts-CP863
322 %post -n XFree86-fonts-CP864
325 %postun -n XFree86-fonts-CP864
328 %post -n XFree86-fonts-CP865
331 %postun -n XFree86-fonts-CP865
334 %post -n XFree86-fonts-CP866
337 %postun -n XFree86-fonts-CP866
340 %post -n XFree86-fonts-CP869
343 %postun -n XFree86-fonts-CP869
346 %post -n XFree86-fonts-CP874
349 %postun -n XFree86-fonts-CP874
352 %post -n XFree86-fonts-Mazovia
355 %postun -n XFree86-fonts-Mazovia
358 %files -n XFree86-fonts-CP737
359 %defattr(644,root,root,755)
360 %{_fontsdir}/misc/*CP737-0.pcf.gz
362 %files -n XFree86-fonts-CP775
363 %defattr(644,root,root,755)
364 %{_fontsdir}/misc/*CP775-0.pcf.gz
366 %files -n XFree86-fonts-CP850
367 %defattr(644,root,root,755)
368 %{_fontsdir}/misc/*CP850-0.pcf.gz
370 %files -n XFree86-fonts-CP852
371 %defattr(644,root,root,755)
372 %{_fontsdir}/misc/*CP852-0.pcf.gz
374 %files -n XFree86-fonts-CP855
375 %defattr(644,root,root,755)
376 %{_fontsdir}/misc/*CP855-0.pcf.gz
378 %files -n XFree86-fonts-CP857
379 %defattr(644,root,root,755)
380 %{_fontsdir}/misc/*CP857-0.pcf.gz
382 %files -n XFree86-fonts-CP860
383 %defattr(644,root,root,755)
384 %{_fontsdir}/misc/*CP860-0.pcf.gz
386 %files -n XFree86-fonts-CP861
387 %defattr(644,root,root,755)
388 %{_fontsdir}/misc/*CP861-0.pcf.gz
390 %files -n XFree86-fonts-CP862
391 %defattr(644,root,root,755)
392 %{_fontsdir}/misc/*CP862-0.pcf.gz
394 %files -n XFree86-fonts-CP863
395 %defattr(644,root,root,755)
396 %{_fontsdir}/misc/*CP863-0.pcf.gz
398 %files -n XFree86-fonts-CP864
399 %defattr(644,root,root,755)
400 %{_fontsdir}/misc/*CP864-0.pcf.gz
402 %files -n XFree86-fonts-CP865
403 %defattr(644,root,root,755)
404 %{_fontsdir}/misc/*CP865-0.pcf.gz
406 %files -n XFree86-fonts-CP866
407 %defattr(644,root,root,755)
408 %{_fontsdir}/misc/*CP866-0.pcf.gz
410 %files -n XFree86-fonts-CP869
411 %defattr(644,root,root,755)
412 %{_fontsdir}/misc/*CP869-0.pcf.gz
414 %files -n XFree86-fonts-CP874
415 %defattr(644,root,root,755)
416 %{_fontsdir}/misc/*CP874-0.pcf.gz
418 %files -n XFree86-fonts-Mazovia
419 %defattr(644,root,root,755)
420 %{_fontsdir}/misc/*Mazovia-0.pcf.gz