2 Summary(pl): Fonty dla systemu XFree86
10 Source0: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X402src-2.tgz
11 Source1: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X402src-1.tgz
12 Source2: http://www.biz.net.pl/images/ISO8859-2-bdf.tar.gz
13 Source3: ftp://crash.fce.vutbr.cz/pub/linux_fonts/TGZ/ulT1mo-beta-1.0.tgz
14 Source4: %{name}.Fontmap
15 Source5: %{name}-latin2-Type1.Fontmap
16 Patch0: %{name}-extras-fix.patch
17 Patch1: %{name}-ISO8859-2.patch
18 Patch2: ftp://ftp.xfree86.org/pub/XFree86/4.0.3/patches/4.0.2-4.0.3.diff.gz
19 BuildRequires: XFree86 = %{version}
20 BuildRequires: XFree86-devel = %{version}
22 BuildRequires: t1utils
23 Prereq: /usr/X11R6/bin/mkfontdir
24 Obsoletes: XFree86-latin2-fonts
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _prefix /usr/X11R6
29 %define _mandir %{_prefix}/man
30 %define _t1fontsdir %{_fontsdir}/Type1
31 %define _t1afmdir %{_t1fontsdir}/afm
32 %define _t1pfmdir %{_t1fontsdir}/pfm
35 This package contains the basic fonts. This package is required when
36 you have installed X server.
39 Pakiet ten zawiera podstawowe czcionki. Pakiet ten jest koniecznie
40 potrzebny, je¶li masz zainstalowany jakikolwiek X serwer.
43 Summary: Perl scripts for generating BDF fonts
44 Summary(pl): Skrypty perlowe do generowania fontów BDF
46 Group(de): X11/XFree86
47 Group(pl): X11/XFree86
50 Perl scripts that allow to generate from an ISO10646-1 encoded
51 BDF font other BDF fonts in any possible encoding.
53 %package -n XFree86-75dpi-fonts
54 Summary: X11R6 75dpi fonts - only need on server side
55 Summary(de): X11RT 75 dpi-Fonts - nur auf Serverseite erforderlich
56 Summary(fr): Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
57 Summary(pl): Fonty o rozdzielczo¶ci 75dpi - potrzebne tylko po stronie serwera
58 Summary(tr): X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
60 Group(de): X11/XFree86
61 Group(pl): X11/XFree86
62 Prereq: %{_bindir}/mkfontdir
65 Obsoletes: X11R6.1-75dpi-fonts
68 %description -n XFree86-75dpi-fonts
69 The 75dpi fonts used on most Linux systems. Users with high resolution
70 displays may prefer the 100dpi fonts available in a separate package.
72 %description -l de -n XFree86-75dpi-fonts
73 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für
74 Benutzer mit einer hochauflösender Darstellung sind die 100dpi-Fonts
75 eines getrennt erhältlichen Pakets besser geeignet.
77 %description -l fr -n XFree86-75dpi-fonts
78 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui
79 ont des écrans à haute résolution préfèreront les fontes 100 dpi
80 disponibles dans un autre paquetage.
82 %description -l pl -n XFree86-75dpi-fonts
83 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej
84 rozdzielczo¶ci zalecane s± czcionki 100dpi, które s± dostêpne w
87 %description -l tr -n XFree86-75dpi-fonts
88 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük
89 kullanan kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
91 %package -n XFree86-100dpi-fonts
92 Summary: X11R6 100dpi fonts - only need on server side
93 Summary(de): X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
94 Summary(fr): Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
95 Summary(pl): Fonty o rozdzielczosci 100dpi - potrzebne tylko po stronie serwera
96 Summary(tr): X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
98 Group(de): X11/XFree86
99 Group(pl): X11/XFree86
100 Prereq: %{_bindir}/mkfontdir
103 Obsoletes: X11R6.1-100dpi-fonts
106 %description -n XFree86-100dpi-fonts
107 The 100dpi fonts used on most Linux systems. Users with high
108 resolution displays may prefer the 100dpi fonts available in a
111 %description -l de -n XFree86-100dpi-fonts
112 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum
113 Einsatz kommen. Anwender mit hochauflösenden Monitoren ziehen unter
114 Umständen die 100dpi-Schriften vor, die in einem separaten Paket
117 %description -l fr -n XFree86-100dpi-fonts
118 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
119 Les utilisateurs ayant des hautes résolutions peuvent préférer les
120 fontes 100dpi disponibles dans un package séparé.
122 %description -l pl -n XFree86-100dpi-fonts
123 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy
124 pracy w du¿ych rozdzielczo¶ciach.
126 %description -l tr -n XFree86-100dpi-fonts
127 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi
128 olanlara yeðleyebilirler.
130 %package -n XFree86-cyrillic-fonts
131 Summary: Cyrillic fonts - only need on server side
132 Summary(pl): Fonty rastrowe z cyrylic±
134 Group(de): X11/XFree86
135 Group(pl): X11/XFree86
136 Prereq: %{_bindir}/mkfontdir
138 %description -n XFree86-cyrillic-fonts
139 Cyrillic raster fonts.
141 %description -l pl -n XFree86-cyrillic-fonts
142 Fonty rastrowe z cyrylic±.
144 %package -n XFree86-latin2-100dpi-fonts
145 Summary: Latin 2 100dpi fonts - only need on server side
146 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi
148 Group(de): X11/XFree86
149 Group(pl): X11/XFree86
150 Prereq: %{_bindir}/mkfontdir
151 Obsoletes: XFree86-ISO8859-2-100dpi-fonts
153 %description -n XFree86-latin2-100dpi-fonts
154 Latin 2 raster fonts.
156 %description -l pl -n XFree86-latin2-100dpi-fonts
157 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi.
159 %package -n XFree86-latin2-75dpi-fonts
160 Summary: Latin 2 75dpi fonts - only need on server side
161 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
163 Group(de): X11/XFree86
164 Group(pl): X11/XFree86
165 Prereq: %{_bindir}/mkfontdir
166 Obsoletes: XFree86-ISO8859-2-75dpi-fonts
168 %description -n XFree86-latin2-75dpi-fonts
169 Latin 2 raster fonts.
171 %description -l pl -n XFree86-latin2-75dpi-fonts
172 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi.
174 %package -n XFree86-latin2-Type1-fonts
175 Summary: Type1 (scalable) ISO8859-2 X11 system fonts
176 Summary(pl): Fonty Type 1 ISO-8859-2
181 Requires: XFree86 > 3.2
182 Obsoletes: XFree86-ISO8859-2-Type1-fonts
184 %description -n XFree86-latin2-Type1-fonts
185 This package includes the Central European (ISO-8859-2) Type1 fonts
188 This is the famous ulT1mo (read ultimo) collection. All fonts are
189 copyrighted to their authors and declared to be freeware. Originals
190 was taken from the net or CDs.
192 %description -n XFree86-latin2-Type1-fonts -l pl
193 Pakiet ten zawiera zestaw fontów Type1 ISO-8859-2 dla X Window.
196 %setup -q -c -b1 -b2 -a3
201 cp xc/extras/fonts/arabic24/*.bdf xc/fonts/bdf/misc/
202 cp xc/extras/fonts/ClearlyU/*.bdf xc/fonts/bdf/misc/
205 for i in {12x24,8x16}*.bdf ; do
206 mv $i "`echo $i | sed 's/\.bdf//'`-ISO8859-2.bdf"
209 mv -f misc/{12x24,8x16}*.bdf xc/fonts/bdf/misc/
210 mv -f 100dpi/{char,term,lutBS,lutRS}* xc/fonts/bdf/latin2/100dpi/
211 mv -f 75dpi/{char,term,ncenR{18,24},lutBS{08,19,24},lutRS{08,19,24}}* xc/fonts/bdf/latin2/75dpi/
214 %{__make} all -C ulT1mo-beta-1.0
217 imake -DBuildFonts -DUseInstalled -I%{_libdir}/X11/config
221 %{__make} -C fonts TOP=`pwd` \
222 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
223 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
224 UCSMAPPREFIX=`pwd`/fonts/util/map- \
225 CDEBUGFLAGS="%{rpmcflags}"
228 rm -rf $RPM_BUILD_ROOT
230 %{__make} -C fonts install TOP=`pwd` \
231 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
232 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
233 UCSMAPPREFIX=`pwd`/fonts/util/map- \
234 DESTDIR=$RPM_BUILD_ROOT
235 %{__make} -C fonts install.man TOP=`pwd` \
236 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
237 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
238 UCSMAPPREFIX=`pwd`/fonts/util/map- \
239 DESTDIR=$RPM_BUILD_ROOT
242 %{__make} -C ulT1mo-beta-1.0 install \
243 FONTDIR=$RPM_BUILD_ROOT%{_fontsdir}
245 # separate *.afm, convert *.pfa to .pfb
246 mv -f $RPM_BUILD_ROOT%{_t1fontsdir}/*.afm $RPM_BUILD_ROOT%{_t1afmdir}
247 (cd $RPM_BUILD_ROOT%{_t1fontsdir}
249 t1binary $f `basename $f .pfa`.pfb
254 tail -n +2 ulT1mo-beta-1.0/fonts.scale.ulT1mo \
255 > $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.XFree86-latin2-Type1-fonts
256 tail -n +2 xc/fonts/scaled/Type1/fonts.scale | sed -e 's/\.pfa/\.pfb/' \
257 > $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.%{name}
258 install %{SOURCE4} $RPM_BUILD_ROOT%{_t1fontsdir}/Fontmap.%{name}
259 install %{SOURCE5} $RPM_BUILD_ROOT%{_t1fontsdir}/Fontmap.XFree86-latin2-Type1-fonts
261 # make TrueType font dir, touch default .dir and .scale files
262 install -d $RPM_BUILD_ROOT%{_fontsdir}/TTF
263 echo 0 > $RPM_BUILD_ROOT%{_fontsdir}/TTF/fonts.dir
264 echo 0 > $RPM_BUILD_ROOT%{_fontsdir}/TTF/fonts.scale
266 gzip -9nf RELEASE_NOTES.TXT
269 rm -rf $RPM_BUILD_ROOT
276 cat fonts.scale.* | sort -u > fonts.scale.tmp
277 wc -l fonts.scale.tmp > fonts.scale
278 cat fonts.scale.tmp >> fonts.scale
279 rm -f fonts.scale.tmp
280 ln -sf fonts.scale fonts.dir
281 cat Fontmap.* > Fontmap
288 cat fonts.scale.* 2>/dev/null | sort -u > fonts.scale.tmp
289 wc -l fonts.scale.tmp > fonts.scale
290 cat fonts.scale.tmp >> fonts.scale
291 rm -f fonts.scale.tmp
292 ln -sf fonts.scale fonts.dir
293 cat Fontmap.* > Fontmap 2>/dev/null
295 %post -n XFree86-75dpi-fonts
296 cd %{_fontsdir}/75dpi
300 %postun -n XFree86-75dpi-fonts
301 cd %{_fontsdir}/75dpi
305 %post -n XFree86-100dpi-fonts
306 cd %{_fontsdir}/100dpi
310 %postun -n XFree86-100dpi-fonts
311 cd %{_fontsdir}/100dpi
315 %post -n XFree86-cyrillic-fonts
316 cd %{_fontsdir}/cyrillic
320 %post -n XFree86-latin2-100dpi-fonts
321 cd %{_fontsdir}/latin2/100dpi
325 %post -n XFree86-latin2-75dpi-fonts
326 cd %{_fontsdir}/latin2/75dpi
330 %post -n XFree86-latin2-Type1-fonts
332 cat fonts.scale.* | sort -u > fonts.scale.tmp
333 wc -l fonts.scale.tmp > fonts.scale
334 cat fonts.scale.tmp >> fonts.scale
335 rm -f fonts.scale.tmp
336 ln -sf fonts.scale fonts.dir
337 cat Fontmap.* > Fontmap
338 grep '^.*ISO-8859-2.pfb' %{_t1fontsdir}/fonts.dir |\
339 sed 's/\(^.*ISO-8859-2.pfb \)\(.*\)/"\2"/' |\
340 sed 's/\(^".*\)\(-[a-z]*-[a-z]*"\)/\1-iso8859-2" \1\2/' |\
341 grep -v ^[0-9] > %{_t1fontsdir}/fonts.alias.tmp
342 cat %{_t1fontsdir}/fonts.alias.tmp >> %{_t1fontsdir}/fonts.alias
343 sort -u < %{_t1fontsdir}/fonts.alias > %{_t1fontsdir}/fonts.alias.tmp
344 mv -f %{_t1fontsdir}/fonts.alias.tmp %{_t1fontsdir}/fonts.alias
346 %postun -n XFree86-latin2-Type1-fonts
348 cat fonts.scale.* 2>/dev/null | sort -u > fonts.scale.tmp
349 wc -l fonts.scale.tmp > fonts.scale
350 cat fonts.scale.tmp >> fonts.scale
351 rm -f fonts.scale.tmp
352 ln -sf fonts.scale fonts.dir
353 cat Fontmap.* > Fontmap 2>/dev/null
354 sed 's/^.*pfb -//' %{_t1fontsdir}/fonts.dir > %{_t1fontsdir}/fonts.dir.tmp
355 grep -f %{_t1fontsdir}/fonts.dir.tmp \
356 %{_t1fontsdir}/fonts.alias > %{_t1fontsdir}/fonts.alias.tmp
357 mv -f %{_t1fontsdir}/fonts.alias.tmp %{_t1fontsdir}/fonts.alias
358 rm -f %{_t1fontsdir}/fonts.dir.tmp
361 %defattr(644,root,root,755)
362 %doc RELEASE_NOTES.TXT.gz
363 %dir %{_fontsdir}/CID
364 %dir %{_fontsdir}/PEX
365 %dir %{_fontsdir}/Speedo
366 %dir %{_fontsdir}/TTF
367 %dir %{_fontsdir}/encodings
368 %dir %{_fontsdir}/local
369 %dir %{_fontsdir}/misc
371 %{_fontsdir}/Speedo/*.spd
372 %{_fontsdir}/encodings/*
373 %{_fontsdir}/misc/*gz
374 %{_t1fontsdir}/*[a-z_].pfb
375 %{_t1afmdir}/*[a-z_].afm
376 %{_t1fontsdir}/*.%{name}
377 %verify(not mtime size md5) %{_fontsdir}/CID/fonts.*
378 %verify(not mtime size md5) %{_fontsdir}/Speedo/fonts.*
379 %verify(not mtime size md5) %{_fontsdir}/TTF/fonts.*
380 %verify(not mtime size md5) %{_fontsdir}/local/fonts.*
381 %verify(not mtime size md5) %{_fontsdir}/misc/fonts.*
384 %defattr(644,root,root,755)
385 %attr(755,root,root) %{_bindir}/*
388 %files -n XFree86-75dpi-fonts
389 %defattr(644,root,root,755)
390 %dir %{_fontsdir}/75dpi
391 %{_fontsdir}/75dpi/*gz
392 %verify(not mtime size md5) %{_fontsdir}/75dpi/fonts.*
394 %files -n XFree86-100dpi-fonts
395 %defattr(644,root,root,755)
396 %dir %{_fontsdir}/100dpi
397 %{_fontsdir}/100dpi/*gz
398 %verify(not mtime size md5) %{_fontsdir}/100dpi/fonts.*
400 %files -n XFree86-cyrillic-fonts
401 %defattr(644,root,root,755)
402 %{_fontsdir}/cyrillic
404 %files -n XFree86-latin2-100dpi-fonts
405 %defattr(644,root,root,755)
406 %{_fontsdir}/latin2/100dpi
408 %files -n XFree86-latin2-75dpi-fonts
409 %defattr(644,root,root,755)
410 %{_fontsdir}/latin2/75dpi
412 %files -n XFree86-latin2-Type1-fonts
413 %defattr(644,root,root,755)
414 %{_t1fontsdir}/*-ISO-8859-2*
415 %{_t1afmdir}/*-ISO-8859-2*.afm
416 %{_t1pfmdir}/*-ISO-8859-2*.pfm
417 %{_t1fontsdir}/*.XFree86-latin2-Type1-fonts