2 Summary(pl): Fonty dla systemu XFree86
9 Source0: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X401src-2.tgz
10 Source1: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X401src-1.tgz
11 Source2: http://www.biz.net.pl/images/ISO8859-2-bdf.tar.gz
12 Source3: ftp://crash.fce.vutbr.cz/pub/linux_fonts/TGZ/ulT1mo-beta-1.0.tgz
13 Patch0: XFree86-fonts-extras-fix.patch
14 Patch1: XFree86-fonts-ISO-8859-2.patch
15 Patch2: XFree86-ISO8859-2-pld.patch
16 BuildRequires: XFree86-devel = %{version}
17 Prereq: /usr/X11R6/bin/mkfontdir
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _fontdir /usr/share/fonts
22 %define _prefix /usr/X11R6
23 %define _mandir /usr/X11R6/man
24 %define _appnkldir %{_datadir}/applnk
27 This package contains the basic fonts. This package is required when
28 you have installed X server.
31 Pakiet ten zawiera podstawowe czcionki. Pakiet ten jest koniecznie
32 potrzebny, je¶li masz zainstalowany jakikolwiek X serwer.
34 %package -n XFree86-75dpi-fonts
35 Summary: X11R6 75dpi fonts - only need on server side
36 Summary(de): X11RT 76 dpi-Fonts - nur auf Serverseite erforderlich
37 Summary(fr): Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
38 Summary(pl): Fonty o rozdzielczo¶ci 75dpi-niebêdne dla serwera.
39 Summary(tr): X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
41 Group(pl): X11/XFree86
42 Prereq: %{_bindir}/mkfontdir
45 Obsoletes: X11R6.1-75dpi-fonts
48 %description -n XFree86-75dpi-fonts
49 The 75dpi fonts used on most Linux systems. Users with high resolution
50 displays may prefer the 100dpi fonts available in a separate package.
52 %description -l de -n XFree86-75dpi-fonts
53 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für
54 Benutzer mit einer hochauflösender Darstellung sind die 100dpi-Fonts
55 eines getrennt erhältlichen Pakets besser geeignet.
57 %description -l fr -n XFree86-75dpi-fonts
58 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui
59 ont des écrans à haute résolution préfèreront les fontes 100 dpi
60 disponibles dans un autre paquetage.
62 %description -l pl -n XFree86-75dpi-fonts
63 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej
64 rozdzielczo¶ci zalecane s± czcionki 100dpi, które s± dostêpne w
67 %description -l tr -n XFree86-75dpi-fonts
68 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük
69 kullanan kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
71 %package -n XFree86-100dpi-fonts
72 Summary: X11R6 100dpi fonts - only need on server side
73 Summary(de): X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
74 Summary(fr): Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
75 Summary(pl): Fonty o rozdzielczosci 100dpi-niezbêdne dla serwera.
76 Summary(tr): X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
78 Group(pl): X11/XFree86
79 Prereq: %{_bindir}/mkfontdir
82 Obsoletes: X11R6.1-100dpi-fonts
85 %description -n XFree86-100dpi-fonts
86 The 100dpi fonts used on most Linux systems. Users with high
87 resolution displays may prefer the 100dpi fonts available in a
90 %description -l de -n XFree86-100dpi-fonts
91 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum
92 Einsatz kommen. Anwender mit hochauflösenden Monitoren ziehen unter
93 Umständen die 100dpi-Schriften vor, die in einem separaten Paket
96 %description -l fr -n XFree86-100dpi-fonts
97 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
98 Les utilisateurs ayant des hautes résolutions peuvent préférer les
99 fontes 100dpi disponibles dans un package séparé.
101 %description -l pl -n XFree86-100dpi-fonts
102 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy
103 pracy z du¿± rozdzielczo¶ci±.
105 %description -l tr -n XFree86-100dpi-fonts
106 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi
107 olanlara yeðleyebilirler.
109 %package -n XFree86-cyrillic-fonts
110 Summary: Cyrillic fonts - only need on server side
113 Group(pl): X11/XFree86
114 Prereq: %{_bindir}/mkfontdir
116 %description -n XFree86-cyrillic-fonts
117 Cyrillic raster fonts.
119 %description -l pl -n XFree86-cyrillic-fonts
120 Czcionki rastrowe z cyrylic±.
122 %package -n XFree86-latin2-fonts
123 Summary: Latin 2 basic fonts - only need on server side
124 Summary(pl): Pliterki
126 Group(pl): X11/XFree86
127 Prereq: %{_bindir}/mkfontdir
129 %description -n XFree86-latin2-fonts
130 Latin 2 raster fonts.
132 %description -l pl -n XFree86-latin2-fonts
133 Czcionki rastrowe ISO-8859-2.
135 %package -n XFree86-latin2-100dpi-fonts
136 Summary: Latin 2 100dpi fonts - only need on server side
137 Summary(pl): Pliterki
139 Group(pl): X11/XFree86
140 Prereq: %{_bindir}/mkfontdir
142 %description -n XFree86-latin2-100dpi-fonts
143 Latin 2 raster fonts.
145 %description -l pl -n XFree86-latin2-100dpi-fonts
146 Czcionki rastrowe ISO-8859-2.
148 %package -n XFree86-latin2-75dpi-fonts
149 Summary: Latin 2 75dpi fonts - only need on server side
150 Summary(pl): Pliterki
152 Group(pl): X11/XFree86
153 Prereq: %{_bindir}/mkfontdir
155 %description -n XFree86-latin2-75dpi-fonts
156 Latin 2 raster fonts.
158 %description -l pl -n XFree86-latin2-75dpi-fonts
159 Czcionki rastrowe ISO-8859-2.
161 %package -n XFree86-latin2-Type1-fonts
162 Summary: Type1 (scalable) ISO8859-2 X11 system fonts
166 Prereq: /usr/bin/type1inst
167 Requires: XFree86 > 3.2
168 Requires: type1inst >= 0.6.1
170 %description -n XFree86-latin2-Type1-fonts
171 This package includes the Central European (ISO-8859-2) Type1 fonts
174 This is the famous ulT1mo (read ultimo) collection. All fonts are
175 copyrighted to their authors and declared to be freeware. Originals
176 was taken from the net or CDs.
178 %description -n XFree86-latin2-Type1-fonts -l pl
179 Pakiet ten zawiera zestaw fontów Type 1 ISO-8859-2 dla X Window.
182 %setup -q -c -b1 -b2 -a3
186 mv -f misc xc/fonts/bdf/latin2/
187 mv -f 100dpi/{char,term,lutBS,lutRS}* xc/fonts/bdf/latin2/100dpi/
188 mv -f 75dpi/{char,term,ncenR{18,24},lutBS{08,19,24},lutRS{08,19,24}}* xc/fonts/bdf/latin2/75dpi/
190 rm -rf 100dpi 75dpi misc
197 %{__make} all -C ulT1mo-beta-1.0
200 (cd bdf/misc; cp ../../../extras/fonts/arabic24/*.bdf .)
201 (cd bdf/misc; cp ../../../extras/fonts/ClearlyU/*.bdf .)
202 imake -DBuildFonts -DUseInstalled -I%{_libdir}/X11/config
205 %{__make} CDEBUGFLAGS="$RPM_OPT_FLAGS"
208 rm -rf $RPM_BUILD_ROOT
210 make DESTDIR=$RPM_BUILD_ROOT install;\
211 make DESTDIR=$RPM_BUILD_ROOT install.man;\
214 %{__make} -C ulT1mo-beta-1.0 install \
215 FONTDIR=$RPM_BUILD_ROOT%{_fontdir}
217 # make TrueType font dir, touch default .dir and .scale files
218 install -d $RPM_BUILD_ROOT%{_fontdir}/TTF
219 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.dir
220 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.scale
222 gzip -9nf RELEASE_NOTES.TXT
225 rm -rf $RPM_BUILD_ROOT
236 %post -n XFree86-75dpi-fonts
241 %postun -n XFree86-75dpi-fonts
246 %post -n XFree86-100dpi-fonts
247 cd %{_fontdir}/100dpi
250 %postun -n XFree86-100dpi-fonts
251 cd %{_fontdir}/100dpi
255 %post -n XFree86-cyrillic-fonts
256 cd %{_fontdir}/cyrillic
259 %post -n XFree86-latin2-fonts
260 cd %{_fontdir}/latin2/misc
263 %post -n XFree86-latin2-100dpi-fonts
264 cd %{_fontdir}/latin2/100dpi
267 %post -n XFree86-latin2-75dpi-fonts
268 cd %{_fontdir}/latin2/75dpi
271 %post -n XFree86-latin2-Type1-fonts
273 rm -f fonts.dir fonts.scale
274 /usr/bin/type1inst -nogs -nolog -q
275 grep '^.*ISO-8859-2.pfb' %{_fontdir}/Type1/fonts.dir |\
276 sed 's/\(^.*ISO-8859-2.pfb \)\(.*\)/"\2"/' |\
277 sed 's/\(^".*\)\(-[a-z]*-[a-z]*"\)/\1-iso8859-2" \1\2/' |\
278 grep -v ^[0-9] > %{_fontdir}/Type1/fonts.alias.tmp
279 cat %{_fontdir}/Type1/fonts.alias.tmp >>\
280 %{_fontdir}/Type1/fonts.alias
281 sort < %{_fontdir}/Type1/fonts.alias | uniq >\
282 %{_fontdir}/Type1/fonts.alias.tmp
283 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
285 %postun -n XFree86-latin2-Type1-fonts
287 rm -f fonts.dir fonts.scale
288 /usr/bin/type1inst -nogs -nolog -q
289 sed 's/^.*pfb -//' %{_fontdir}/Type1/fonts.dir > \
290 %{_fontdir}/Type1/fonts.dir.tmp
291 grep -f %{_fontdir}/Type1/fonts.dir.tmp \
292 %{_fontdir}/Type1/fonts.alias > \
293 %{_fontdir}/Type1/fonts.alias.tmp
294 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
295 rm -f %{_fontdir}/Type1/fonts.dir.tmp
298 %defattr(644,root,root,755)
301 %dir %{_fontdir}/Speedo
303 %dir %{_fontdir}/encodings
304 %dir %{_fontdir}/local
305 %dir %{_fontdir}/Type1
306 %dir %{_fontdir}/misc
308 %{_fontdir}/Speedo/*.spd
309 %{_fontdir}/encodings/*
311 %{_fontdir}/Type1/*[a-z_].*f*
312 %verify(not mtime size md5) %{_fontdir}/CID/fonts.*
313 %verify(not mtime size md5) %{_fontdir}/Speedo/fonts.*
314 %verify(not mtime size md5) %{_fontdir}/TTF/fonts.*
315 %verify(not mtime size md5) %{_fontdir}/local/fonts.*
316 %verify(not mtime size md5) %{_fontdir}/Type1/fonts.*
317 %verify(not mtime size md5) %{_fontdir}/misc/fonts.*
319 %files -n XFree86-75dpi-fonts
320 %defattr(644,root,root,755)
321 %dir %{_fontdir}/75dpi
322 %{_fontdir}/75dpi/*gz
323 %verify(not mtime size md5) %{_fontdir}/75dpi/fonts.*
325 %files -n XFree86-100dpi-fonts
326 %defattr(644,root,root,755)
327 %dir %{_fontdir}/100dpi
328 %{_fontdir}/100dpi/*gz
329 %verify(not mtime size md5) %{_fontdir}/100dpi/fonts.*
331 %files -n XFree86-cyrillic-fonts
332 %defattr(644,root,root,755)
335 %files -n XFree86-latin2-fonts
336 %defattr(644,root,root,755)
337 %doc RELEASE_NOTES.TXT.gz
338 %{_fontdir}/latin2/misc
340 %files -n XFree86-latin2-100dpi-fonts
341 %defattr(644,root,root,755)
342 %{_fontdir}/latin2/100dpi
344 %files -n XFree86-latin2-75dpi-fonts
345 %defattr(644,root,root,755)
346 %{_fontdir}/latin2/75dpi
348 %files -n XFree86-latin2-Type1-fonts
349 %defattr(644,root,root,755)
350 %{_fontdir}/Type1/afm/*
351 %{_fontdir}/Type1/pfm/*
352 %{_fontdir}/Type1/*-ISO-8859-2*