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 Source1: %{name}-maps.tar.bz2
13 Source2: %{name}-Mazovia.map
14 BuildRequires: XFree86-fonts-utils
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This package contains fixed fonts with DOS encodings.
19 Fonts were taken from XFree86.
22 Pakiet ten zawiera czcionki fixed z DOSowym kodowaniem.
23 Fonty zosta³y wziête z dystrybucji XFree86.
25 %package -n XFree86-fonts-CP737
26 Summary: Fixed CP737 fonts
27 Summary(pl): Fonty rastrowe CP737
29 Requires(post,postun): %{_bindir}/mkfontdir
31 %description -n XFree86-fonts-CP737
32 This package contains fixed fonts with CP737 encoding.
34 %description -n XFree86-fonts-CP737 -l pl
35 Pakiet ten zawiera czcionki fixed z kodowaniem CP737.
37 %package -n XFree86-fonts-CP775
38 Summary: Fixed CP775 fonts
39 Summary(pl): Fonty rastrowe CP775
41 Requires(post,postun): %{_bindir}/mkfontdir
43 %description -n XFree86-fonts-CP775
44 This package contains fixed fonts with CP775 encoding.
46 %description -n XFree86-fonts-CP775 -l pl
47 Pakiet ten zawiera czcionki fixed z kodowaniem CP775.
49 %package -n XFree86-fonts-CP850
50 Summary: Fixed CP850 fonts
51 Summary(pl): Fonty rastrowe CP850
53 Requires(post,postun): %{_bindir}/mkfontdir
55 %description -n XFree86-fonts-CP850
56 This package contains fixed fonts with CP850 encoding.
58 %description -n XFree86-fonts-CP850 -l pl
59 Pakiet ten zawiera czcionki fixed z kodowaniem CP850.
61 %package -n XFree86-fonts-CP852
62 Summary: Fixed CP852 fonts
63 Summary(pl): Fonty rastrowe CP852
65 Requires(post,postun): %{_bindir}/mkfontdir
67 %description -n XFree86-fonts-CP852
68 This package contains fixed fonts with CP852 encoding.
70 %description -n XFree86-fonts-CP852 -l pl
71 Pakiet ten zawiera czcionki fixed z kodowaniem CP852.
73 %package -n XFree86-fonts-CP855
74 Summary: Fixed CP855 fonts
75 Summary(pl): Fonty rastrowe CP855
77 Requires(post,postun): %{_bindir}/mkfontdir
79 %description -n XFree86-fonts-CP855
80 This package contains fixed fonts with CP855 encoding.
82 %description -n XFree86-fonts-CP855 -l pl
83 Pakiet ten zawiera czcionki fixed z kodowaniem CP855.
85 %package -n XFree86-fonts-CP857
86 Summary: Fixed CP857 fonts
87 Summary(pl): Fonty rastrowe CP857
89 Requires(post,postun): %{_bindir}/mkfontdir
91 %description -n XFree86-fonts-CP857
92 This package contains fixed fonts with CP857 encoding.
94 %description -n XFree86-fonts-CP857 -l pl
95 Pakiet ten zawiera czcionki fixed z kodowaniem CP857.
97 %package -n XFree86-fonts-CP860
98 Summary: Fixed CP860 fonts
99 Summary(pl): Fonty rastrowe CP860
101 Requires(post,postun): %{_bindir}/mkfontdir
103 %description -n XFree86-fonts-CP860
104 This package contains fixed fonts with CP860 encoding.
106 %description -n XFree86-fonts-CP860 -l pl
107 Pakiet ten zawiera czcionki fixed z kodowaniem CP860.
109 %package -n XFree86-fonts-CP861
110 Summary: Fixed CP861 fonts
111 Summary(pl): Fonty rastrowe CP861
113 Requires(post,postun): %{_bindir}/mkfontdir
115 %description -n XFree86-fonts-CP861
116 This package contains fixed fonts with CP861 encoding.
118 %description -n XFree86-fonts-CP861 -l pl
119 Pakiet ten zawiera czcionki fixed z kodowaniem CP861.
121 %package -n XFree86-fonts-CP862
122 Summary: Fixed CP862 fonts
123 Summary(pl): Fonty rastrowe CP862
125 Requires(post,postun): %{_bindir}/mkfontdir
127 %description -n XFree86-fonts-CP862
128 This package contains fixed fonts with CP862 encoding.
130 %description -n XFree86-fonts-CP862 -l pl
131 Pakiet ten zawiera czcionki fixed z kodowaniem CP862.
133 %package -n XFree86-fonts-CP863
134 Summary: Fixed CP863 fonts
135 Summary(pl): Fonty rastrowe CP863
137 Requires(post,postun): %{_bindir}/mkfontdir
139 %description -n XFree86-fonts-CP863
140 This package contains fixed fonts with CP863 encoding.
142 %description -n XFree86-fonts-CP863 -l pl
143 Pakiet ten zawiera czcionki fixed z kodowaniem CP863.
145 %package -n XFree86-fonts-CP864
146 Summary: Fixed CP864 fonts
147 Summary(pl): Fonty rastrowe CP864
149 Requires(post,postun): %{_bindir}/mkfontdir
151 %description -n XFree86-fonts-CP864
152 This package contains fixed fonts with CP864 encoding.
154 %description -n XFree86-fonts-CP864 -l pl
155 Pakiet ten zawiera czcionki fixed z kodowaniem CP864.
157 %package -n XFree86-fonts-CP865
158 Summary: Fixed CP865 fonts
159 Summary(pl): Fonty rastrowe CP865
161 Requires(post,postun): %{_bindir}/mkfontdir
163 %description -n XFree86-fonts-CP865
164 This package contains fixed fonts with CP865 encoding.
166 %description -n XFree86-fonts-CP865 -l pl
167 Pakiet ten zawiera czcionki fixed z kodowaniem CP865.
169 %package -n XFree86-fonts-CP866
170 Summary: Fixed CP866 fonts
171 Summary(pl): Fonty rastrowe CP866
173 Requires(post,postun): %{_bindir}/mkfontdir
175 %description -n XFree86-fonts-CP866
176 This package contains fixed fonts with CP866 encoding.
178 %description -n XFree86-fonts-CP866 -l pl
179 Pakiet ten zawiera czcionki fixed z kodowaniem CP866.
181 %package -n XFree86-fonts-CP869
182 Summary: Fixed CP869 fonts
183 Summary(pl): Fonty rastrowe CP869
185 Requires(post,postun): %{_bindir}/mkfontdir
187 %description -n XFree86-fonts-CP869
188 This package contains fixed fonts with CP869 encoding.
190 %description -n XFree86-fonts-CP869 -l pl
191 Pakiet ten zawiera czcionki fixed z kodowaniem CP869.
193 %package -n XFree86-fonts-CP874
194 Summary: Fixed CP874 fonts
195 Summary(pl): Fonty rastrowe CP874
197 Requires(post,postun): %{_bindir}/mkfontdir
199 %description -n XFree86-fonts-CP874
200 This package contains fixed fonts with CP874 encoding.
202 %description -n XFree86-fonts-CP874 -l pl
203 Pakiet ten zawiera czcionki fixed z kodowaniem CP874.
205 %package -n XFree86-fonts-Mazovia
206 Summary: Fixed Mazovia fonts
207 Summary(pl): Fonty rastrowe Mazovia
209 Requires(post,postun): %{_bindir}/mkfontdir
211 %description -n XFree86-fonts-Mazovia
212 This package contains fixed fonts with Mazovia encoding.
214 %description -n XFree86-fonts-Mazovia -l pl
215 Pakiet ten zawiera czcionki fixed z kodowaniem Mazovia.
218 %setup -q -n FONTS -a1
219 cp -f %{SOURCE2} map-Mazovia-0
224 for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
226 ucs2any.pl $i map-CP$j-0 CP$j-0
227 name=`basename $i .bdf`-CP$j-0
228 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
231 ucs2any.pl $i map-Mazovia-0 Mazovia-0
232 name=`basename $i .bdf`-Mazovia-0
233 bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
238 install -d $RPM_BUILD_ROOT%{_fontsdir}/misc
239 install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
241 %post -n XFree86-fonts-CP737
246 %postun -n XFree86-fonts-CP737
251 %post -n XFree86-fonts-CP775
256 %postun -n XFree86-fonts-CP775
261 %post -n XFree86-fonts-CP850
266 %postun -n XFree86-fonts-CP850
271 %post -n XFree86-fonts-CP852
276 %postun -n XFree86-fonts-CP852
281 %post -n XFree86-fonts-CP855
286 %postun -n XFree86-fonts-CP855
291 %post -n XFree86-fonts-CP857
296 %postun -n XFree86-fonts-CP857
301 %post -n XFree86-fonts-CP860
306 %postun -n XFree86-fonts-CP860
311 %post -n XFree86-fonts-CP861
316 %postun -n XFree86-fonts-CP861
321 %post -n XFree86-fonts-CP862
326 %postun -n XFree86-fonts-CP862
332 %post -n XFree86-fonts-CP863
337 %postun -n XFree86-fonts-CP863
342 %post -n XFree86-fonts-CP864
347 %postun -n XFree86-fonts-CP864
352 %post -n XFree86-fonts-CP865
357 %postun -n XFree86-fonts-CP865
362 %post -n XFree86-fonts-CP866
367 %postun -n XFree86-fonts-CP866
372 %post -n XFree86-fonts-CP869
377 %postun -n XFree86-fonts-CP869
382 %post -n XFree86-fonts-CP874
387 %postun -n XFree86-fonts-CP874
392 %post -n XFree86-fonts-Mazovia
397 %postun -n XFree86-fonts-Mazovia
403 rm -rf $RPM_BUILD_ROOT
405 %files -n XFree86-fonts-CP737
406 %defattr(644,root,root,755)
407 %{_fontsdir}/misc/*CP737-0.pcf.gz
409 %files -n XFree86-fonts-CP775
410 %defattr(644,root,root,755)
411 %{_fontsdir}/misc/*CP775-0.pcf.gz
413 %files -n XFree86-fonts-CP850
414 %defattr(644,root,root,755)
415 %{_fontsdir}/misc/*CP850-0.pcf.gz
417 %files -n XFree86-fonts-CP852
418 %defattr(644,root,root,755)
419 %{_fontsdir}/misc/*CP852-0.pcf.gz
421 %files -n XFree86-fonts-CP855
422 %defattr(644,root,root,755)
423 %{_fontsdir}/misc/*CP855-0.pcf.gz
425 %files -n XFree86-fonts-CP857
426 %defattr(644,root,root,755)
427 %{_fontsdir}/misc/*CP857-0.pcf.gz
429 %files -n XFree86-fonts-CP860
430 %defattr(644,root,root,755)
431 %{_fontsdir}/misc/*CP860-0.pcf.gz
433 %files -n XFree86-fonts-CP861
434 %defattr(644,root,root,755)
435 %{_fontsdir}/misc/*CP861-0.pcf.gz
437 %files -n XFree86-fonts-CP862
438 %defattr(644,root,root,755)
439 %{_fontsdir}/misc/*CP862-0.pcf.gz
441 %files -n XFree86-fonts-CP863
442 %defattr(644,root,root,755)
443 %{_fontsdir}/misc/*CP863-0.pcf.gz
445 %files -n XFree86-fonts-CP864
446 %defattr(644,root,root,755)
447 %{_fontsdir}/misc/*CP864-0.pcf.gz
449 %files -n XFree86-fonts-CP865
450 %defattr(644,root,root,755)
451 %{_fontsdir}/misc/*CP865-0.pcf.gz
453 %files -n XFree86-fonts-CP866
454 %defattr(644,root,root,755)
455 %{_fontsdir}/misc/*CP866-0.pcf.gz
457 %files -n XFree86-fonts-CP869
458 %defattr(644,root,root,755)
459 %{_fontsdir}/misc/*CP869-0.pcf.gz
461 %files -n XFree86-fonts-CP874
462 %defattr(644,root,root,755)
463 %{_fontsdir}/misc/*CP874-0.pcf.gz
465 %files -n XFree86-fonts-Mazovia
466 %defattr(644,root,root,755)
467 %{_fontsdir}/misc/*Mazovia-0.pcf.gz