2 %define _prefix /usr/X11R6
4 Summary: XFree86 misc fonts with DOS encodings
5 Summary(pl): Fonty misc z DOSowym kodowaniem
6 Name: XFree86-fonts-dos
11 Source0: XFree86-fonts-misc-%{version}.tar.bz2
12 # Source0-md5: cbadfe4e784653b2795def646b905fb4
13 Source1: %{name}-maps.tar.bz2
14 # Source1-md5: edd71dbe130ae9ce39704ee2ee9e185e
15 Source2: %{name}-Mazovia.map
16 BuildRequires: XFree86-fonts-utils
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This package contains fixed fonts with DOS encodings.
21 Fonts were taken from XFree86.
24 Pakiet ten zawiera czcionki fixed z DOSowym kodowaniem.
25 Fonty zosta³y wziête z dystrybucji XFree86.
27 %package -n XFree86-fonts-CP737
28 Summary: Fixed CP737 fonts
29 Summary(pl): Fonty rastrowe CP737
31 Requires(post,postun): %{_bindir}/mkfontdir
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): %{_bindir}/mkfontdir
45 %description -n XFree86-fonts-CP775
46 This package contains fixed fonts with CP775 encoding.
48 %description -n XFree86-fonts-CP775 -l pl
49 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
51 %package -n XFree86-fonts-CP850
52 Summary: Fixed CP850 fonts
53 Summary(pl): Fonty rastrowe CP850
55 Requires(post,postun): %{_bindir}/mkfontdir
57 %description -n XFree86-fonts-CP850
58 This package contains fixed fonts with CP850 encoding.
60 %description -n XFree86-fonts-CP850 -l pl
61 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
63 %package -n XFree86-fonts-CP852
64 Summary: Fixed CP852 fonts
65 Summary(pl): Fonty rastrowe CP852
67 Requires(post,postun): %{_bindir}/mkfontdir
69 %description -n XFree86-fonts-CP852
70 This package contains fixed fonts with CP852 encoding.
72 %description -n XFree86-fonts-CP852 -l pl
73 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
75 %package -n XFree86-fonts-CP855
76 Summary: Fixed CP855 fonts
77 Summary(pl): Fonty rastrowe CP855
79 Requires(post,postun): %{_bindir}/mkfontdir
81 %description -n XFree86-fonts-CP855
82 This package contains fixed fonts with CP855 encoding.
84 %description -n XFree86-fonts-CP855 -l pl
85 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
87 %package -n XFree86-fonts-CP857
88 Summary: Fixed CP857 fonts
89 Summary(pl): Fonty rastrowe CP857
91 Requires(post,postun): %{_bindir}/mkfontdir
93 %description -n XFree86-fonts-CP857
94 This package contains fixed fonts with CP857 encoding.
96 %description -n XFree86-fonts-CP857 -l pl
97 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
99 %package -n XFree86-fonts-CP860
100 Summary: Fixed CP860 fonts
101 Summary(pl): Fonty rastrowe CP860
103 Requires(post,postun): %{_bindir}/mkfontdir
105 %description -n XFree86-fonts-CP860
106 This package contains fixed fonts with CP860 encoding.
108 %description -n XFree86-fonts-CP860 -l pl
109 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
111 %package -n XFree86-fonts-CP861
112 Summary: Fixed CP861 fonts
113 Summary(pl): Fonty rastrowe CP861
115 Requires(post,postun): %{_bindir}/mkfontdir
117 %description -n XFree86-fonts-CP861
118 This package contains fixed fonts with CP861 encoding.
120 %description -n XFree86-fonts-CP861 -l pl
121 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
123 %package -n XFree86-fonts-CP862
124 Summary: Fixed CP862 fonts
125 Summary(pl): Fonty rastrowe CP862
127 Requires(post,postun): %{_bindir}/mkfontdir
129 %description -n XFree86-fonts-CP862
130 This package contains fixed fonts with CP862 encoding.
132 %description -n XFree86-fonts-CP862 -l pl
133 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
135 %package -n XFree86-fonts-CP863
136 Summary: Fixed CP863 fonts
137 Summary(pl): Fonty rastrowe CP863
139 Requires(post,postun): %{_bindir}/mkfontdir
141 %description -n XFree86-fonts-CP863
142 This package contains fixed fonts with CP863 encoding.
144 %description -n XFree86-fonts-CP863 -l pl
145 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
147 %package -n XFree86-fonts-CP864
148 Summary: Fixed CP864 fonts
149 Summary(pl): Fonty rastrowe CP864
151 Requires(post,postun): %{_bindir}/mkfontdir
153 %description -n XFree86-fonts-CP864
154 This package contains fixed fonts with CP864 encoding.
156 %description -n XFree86-fonts-CP864 -l pl
157 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
159 %package -n XFree86-fonts-CP865
160 Summary: Fixed CP865 fonts
161 Summary(pl): Fonty rastrowe CP865
163 Requires(post,postun): %{_bindir}/mkfontdir
165 %description -n XFree86-fonts-CP865
166 This package contains fixed fonts with CP865 encoding.
168 %description -n XFree86-fonts-CP865 -l pl
169 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
171 %package -n XFree86-fonts-CP866
172 Summary: Fixed CP866 fonts
173 Summary(pl): Fonty rastrowe CP866
175 Requires(post,postun): %{_bindir}/mkfontdir
177 %description -n XFree86-fonts-CP866
178 This package contains fixed fonts with CP866 encoding.
180 %description -n XFree86-fonts-CP866 -l pl
181 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
183 %package -n XFree86-fonts-CP869
184 Summary: Fixed CP869 fonts
185 Summary(pl): Fonty rastrowe CP869
187 Requires(post,postun): %{_bindir}/mkfontdir
189 %description -n XFree86-fonts-CP869
190 This package contains fixed fonts with CP869 encoding.
192 %description -n XFree86-fonts-CP869 -l pl
193 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
195 %package -n XFree86-fonts-CP874
196 Summary: Fixed CP874 fonts
197 Summary(pl): Fonty rastrowe CP874
199 Requires(post,postun): %{_bindir}/mkfontdir
201 %description -n XFree86-fonts-CP874
202 This package contains fixed fonts with CP874 encoding.
204 %description -n XFree86-fonts-CP874 -l pl
205 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
207 %package -n XFree86-fonts-Mazovia
208 Summary: Fixed Mazovia fonts
209 Summary(pl): Fonty rastrowe Mazovia
211 Requires(post,postun): %{_bindir}/mkfontdir
213 %description -n XFree86-fonts-Mazovia
214 This package contains fixed fonts with Mazovia encoding.
216 %description -n XFree86-fonts-Mazovia -l pl
217 Pakiet ten zawiera czcionki fixed z kodowaniem Mazovia.
220 %setup -q -n FONTS -a1
221 cp -f %{SOURCE2} map-Mazovia-0
226 for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
228 ucs2any.pl $i map-CP$j-0 CP$j-0
229 name=`basename $i .bdf`-CP$j-0
230 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
233 ucs2any.pl $i map-Mazovia-0 Mazovia-0
234 name=`basename $i .bdf`-Mazovia-0
235 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
240 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
241 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
243 %post -n XFree86-fonts-CP737
248 %postun -n XFree86-fonts-CP737
253 %post -n XFree86-fonts-CP775
258 %postun -n XFree86-fonts-CP775
263 %post -n XFree86-fonts-CP850
268 %postun -n XFree86-fonts-CP850
273 %post -n XFree86-fonts-CP852
278 %postun -n XFree86-fonts-CP852
283 %post -n XFree86-fonts-CP855
288 %postun -n XFree86-fonts-CP855
293 %post -n XFree86-fonts-CP857
298 %postun -n XFree86-fonts-CP857
303 %post -n XFree86-fonts-CP860
308 %postun -n XFree86-fonts-CP860
313 %post -n XFree86-fonts-CP861
318 %postun -n XFree86-fonts-CP861
323 %post -n XFree86-fonts-CP862
328 %postun -n XFree86-fonts-CP862
334 %post -n XFree86-fonts-CP863
339 %postun -n XFree86-fonts-CP863
344 %post -n XFree86-fonts-CP864
349 %postun -n XFree86-fonts-CP864
354 %post -n XFree86-fonts-CP865
359 %postun -n XFree86-fonts-CP865
364 %post -n XFree86-fonts-CP866
369 %postun -n XFree86-fonts-CP866
374 %post -n XFree86-fonts-CP869
379 %postun -n XFree86-fonts-CP869
384 %post -n XFree86-fonts-CP874
389 %postun -n XFree86-fonts-CP874
394 %post -n XFree86-fonts-Mazovia
399 %postun -n XFree86-fonts-Mazovia
405 rm -rf $RPM_BUILD_ROOT
407 %files -n XFree86-fonts-CP737
408 %defattr(644,root,root,755)
409 %{_fontsdir}/misc/*CP737-0.pcf.gz
411 %files -n XFree86-fonts-CP775
412 %defattr(644,root,root,755)
413 %{_fontsdir}/misc/*CP775-0.pcf.gz
415 %files -n XFree86-fonts-CP850
416 %defattr(644,root,root,755)
417 %{_fontsdir}/misc/*CP850-0.pcf.gz
419 %files -n XFree86-fonts-CP852
420 %defattr(644,root,root,755)
421 %{_fontsdir}/misc/*CP852-0.pcf.gz
423 %files -n XFree86-fonts-CP855
424 %defattr(644,root,root,755)
425 %{_fontsdir}/misc/*CP855-0.pcf.gz
427 %files -n XFree86-fonts-CP857
428 %defattr(644,root,root,755)
429 %{_fontsdir}/misc/*CP857-0.pcf.gz
431 %files -n XFree86-fonts-CP860
432 %defattr(644,root,root,755)
433 %{_fontsdir}/misc/*CP860-0.pcf.gz
435 %files -n XFree86-fonts-CP861
436 %defattr(644,root,root,755)
437 %{_fontsdir}/misc/*CP861-0.pcf.gz
439 %files -n XFree86-fonts-CP862
440 %defattr(644,root,root,755)
441 %{_fontsdir}/misc/*CP862-0.pcf.gz
443 %files -n XFree86-fonts-CP863
444 %defattr(644,root,root,755)
445 %{_fontsdir}/misc/*CP863-0.pcf.gz
447 %files -n XFree86-fonts-CP864
448 %defattr(644,root,root,755)
449 %{_fontsdir}/misc/*CP864-0.pcf.gz
451 %files -n XFree86-fonts-CP865
452 %defattr(644,root,root,755)
453 %{_fontsdir}/misc/*CP865-0.pcf.gz
455 %files -n XFree86-fonts-CP866
456 %defattr(644,root,root,755)
457 %{_fontsdir}/misc/*CP866-0.pcf.gz
459 %files -n XFree86-fonts-CP869
460 %defattr(644,root,root,755)
461 %{_fontsdir}/misc/*CP869-0.pcf.gz
463 %files -n XFree86-fonts-CP874
464 %defattr(644,root,root,755)
465 %{_fontsdir}/misc/*CP874-0.pcf.gz
467 %files -n XFree86-fonts-Mazovia
468 %defattr(644,root,root,755)
469 %{_fontsdir}/misc/*Mazovia-0.pcf.gz