2 Summary(pl): Fonty dla systemu XFree86
10 Source0: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X401src-2.tgz
11 Source1: ftp://ftp.xfree86.org/pub/XFree86/4.0/source/X401src-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 Patch0: %{name}-extras-fix.patch
15 Patch1: %{name}-ISO-8859-2.patch
16 Patch2: XFree86-ISO8859-2-pld.patch
17 BuildRequires: XFree86-devel = %{version}
18 Prereq: /usr/X11R6/bin/mkfontdir
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _fontdir /usr/share/fonts
23 %define _prefix /usr/X11R6
24 %define _mandir /usr/X11R6/man
25 %define _appnkldir %{_datadir}/applnk
28 This package contains the basic fonts. This package is required when
29 you have installed X server.
32 Pakiet ten zawiera podstawowe czcionki. Pakiet ten jest koniecznie
33 potrzebny, je¶li masz zainstalowany jakikolwiek X serwer.
35 %package -n XFree86-75dpi-fonts
36 Summary: X11R6 75dpi fonts - only need on server side
37 Summary(de): X11RT 76 dpi-Fonts - nur auf Serverseite erforderlich
38 Summary(fr): Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
39 Summary(pl): Fonty o rozdzielczo¶ci 75dpi-niebêdne dla serwera.
40 Summary(tr): X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
42 Group(de): X11/XFree86
43 Group(pl): X11/XFree86
44 Prereq: %{_bindir}/mkfontdir
47 Obsoletes: X11R6.1-75dpi-fonts
50 %description -n XFree86-75dpi-fonts
51 The 75dpi fonts used on most Linux systems. Users with high resolution
52 displays may prefer the 100dpi fonts available in a separate package.
54 %description -l de -n XFree86-75dpi-fonts
55 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für
56 Benutzer mit einer hochauflösender Darstellung sind die 100dpi-Fonts
57 eines getrennt erhältlichen Pakets besser geeignet.
59 %description -l fr -n XFree86-75dpi-fonts
60 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui
61 ont des écrans à haute résolution préfèreront les fontes 100 dpi
62 disponibles dans un autre paquetage.
64 %description -l pl -n XFree86-75dpi-fonts
65 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej
66 rozdzielczo¶ci zalecane s± czcionki 100dpi, które s± dostêpne w
69 %description -l tr -n XFree86-75dpi-fonts
70 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük
71 kullanan kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
73 %package -n XFree86-100dpi-fonts
74 Summary: X11R6 100dpi fonts - only need on server side
75 Summary(de): X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
76 Summary(fr): Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
77 Summary(pl): Fonty o rozdzielczosci 100dpi - niezbêdne dla serwera.
78 Summary(tr): X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
80 Group(de): X11/XFree86
81 Group(pl): X11/XFree86
82 Prereq: %{_bindir}/mkfontdir
85 Obsoletes: X11R6.1-100dpi-fonts
88 %description -n XFree86-100dpi-fonts
89 The 100dpi fonts used on most Linux systems. Users with high
90 resolution displays may prefer the 100dpi fonts available in a
93 %description -l de -n XFree86-100dpi-fonts
94 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum
95 Einsatz kommen. Anwender mit hochauflösenden Monitoren ziehen unter
96 Umständen die 100dpi-Schriften vor, die in einem separaten Paket
99 %description -l fr -n XFree86-100dpi-fonts
100 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
101 Les utilisateurs ayant des hautes résolutions peuvent préférer les
102 fontes 100dpi disponibles dans un package séparé.
104 %description -l pl -n XFree86-100dpi-fonts
105 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy
106 pracy z du¿± rozdzielczo¶ci±.
108 %description -l tr -n XFree86-100dpi-fonts
109 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi
110 olanlara yeðleyebilirler.
112 %package -n XFree86-cyrillic-fonts
113 Summary: Cyrillic fonts - only need on server side
114 Summary(pl): Fonty rastrowe z cyrylic±
116 Group(de): X11/XFree86
117 Group(pl): X11/XFree86
118 Prereq: %{_bindir}/mkfontdir
120 %description -n XFree86-cyrillic-fonts
121 Cyrillic raster fonts.
123 %description -l pl -n XFree86-cyrillic-fonts
124 Fonty rastrowe z cyrylic±.
126 %package -n XFree86-latin2-fonts
127 Summary: Latin 2 basic fonts - only need on server side
128 Summary(pl): Pliterki
130 Group(de): X11/XFree86
131 Group(pl): X11/XFree86
132 Prereq: %{_bindir}/mkfontdir
134 %description -n XFree86-latin2-fonts
135 Latin 2 raster fonts.
137 %description -l pl -n XFree86-latin2-fonts
138 Fonty rastrowe ISO-8859-2.
140 %package -n XFree86-latin2-100dpi-fonts
141 Summary: Latin 2 100dpi fonts - only need on server side
142 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi
144 Group(de): X11/XFree86
145 Group(pl): X11/XFree86
146 Prereq: %{_bindir}/mkfontdir
148 %description -n XFree86-latin2-100dpi-fonts
149 Latin 2 raster fonts.
151 %description -l pl -n XFree86-latin2-100dpi-fonts
152 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi.
154 %package -n XFree86-latin2-75dpi-fonts
155 Summary: Latin 2 75dpi fonts - only need on server side
156 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
158 Group(de): X11/XFree86
159 Group(pl): X11/XFree86
160 Prereq: %{_bindir}/mkfontdir
162 %description -n XFree86-latin2-75dpi-fonts
163 Latin 2 raster fonts.
165 %description -l pl -n XFree86-latin2-75dpi-fonts
166 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
168 %package -n XFree86-latin2-Type1-fonts
169 Summary: Type1 (scalable) ISO8859-2 X11 system fonts
170 Summary(pl): Fonty Type 1 ISO-8859-2
175 Prereq: /usr/bin/type1inst
176 Requires: XFree86 > 3.2
177 Requires: type1inst >= 0.6.1
180 %description -n XFree86-latin2-Type1-fonts
181 This package includes the Central European (ISO-8859-2) Type1 fonts
184 This is the famous ulT1mo (read ultimo) collection. All fonts are
185 copyrighted to their authors and declared to be freeware. Originals
186 was taken from the net or CDs.
188 %description -n XFree86-latin2-Type1-fonts -l pl
189 Pakiet ten zawiera zestaw fontów Type 1 ISO-8859-2 dla X Window.
192 %setup -q -c -b1 -b2 -a3
196 mv -f misc xc/fonts/bdf/latin2/
197 mv -f 100dpi/{char,term,lutBS,lutRS}* xc/fonts/bdf/latin2/100dpi/
198 mv -f 75dpi/{char,term,ncenR{18,24},lutBS{08,19,24},lutRS{08,19,24}}* xc/fonts/bdf/latin2/75dpi/
200 rm -rf 100dpi 75dpi misc
207 %{__make} all -C ulT1mo-beta-1.0
210 (cd bdf/misc; cp ../../../extras/fonts/arabic24/*.bdf .)
211 (cd bdf/misc; cp ../../../extras/fonts/ClearlyU/*.bdf .)
212 imake -DBuildFonts -DUseInstalled -I%{_libdir}/X11/config
215 %{__make} CDEBUGFLAGS="$RPM_OPT_FLAGS"
218 rm -rf $RPM_BUILD_ROOT
220 make DESTDIR=$RPM_BUILD_ROOT install;\
221 make DESTDIR=$RPM_BUILD_ROOT install.man;\
224 %{__make} -C ulT1mo-beta-1.0 install \
225 FONTDIR=$RPM_BUILD_ROOT%{_fontdir}
227 # make TrueType font dir, touch default .dir and .scale files
228 install -d $RPM_BUILD_ROOT%{_fontdir}/TTF
229 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.dir
230 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.scale
232 gzip -9nf RELEASE_NOTES.TXT
235 rm -rf $RPM_BUILD_ROOT
246 %post -n XFree86-75dpi-fonts
251 %postun -n XFree86-75dpi-fonts
256 %post -n XFree86-100dpi-fonts
257 cd %{_fontdir}/100dpi
260 %postun -n XFree86-100dpi-fonts
261 cd %{_fontdir}/100dpi
265 %post -n XFree86-cyrillic-fonts
266 cd %{_fontdir}/cyrillic
269 %post -n XFree86-latin2-fonts
270 cd %{_fontdir}/latin2/misc
273 %post -n XFree86-latin2-100dpi-fonts
274 cd %{_fontdir}/latin2/100dpi
277 %post -n XFree86-latin2-75dpi-fonts
278 cd %{_fontdir}/latin2/75dpi
281 %post -n XFree86-latin2-Type1-fonts
283 rm -f fonts.dir fonts.scale
284 /usr/bin/type1inst -nogs -nolog -q
285 grep '^.*ISO-8859-2.pfb' %{_fontdir}/Type1/fonts.dir |\
286 sed 's/\(^.*ISO-8859-2.pfb \)\(.*\)/"\2"/' |\
287 sed 's/\(^".*\)\(-[a-z]*-[a-z]*"\)/\1-iso8859-2" \1\2/' |\
288 grep -v ^[0-9] > %{_fontdir}/Type1/fonts.alias.tmp
289 cat %{_fontdir}/Type1/fonts.alias.tmp >>\
290 %{_fontdir}/Type1/fonts.alias
291 sort < %{_fontdir}/Type1/fonts.alias | uniq >\
292 %{_fontdir}/Type1/fonts.alias.tmp
293 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
295 %postun -n XFree86-latin2-Type1-fonts
297 rm -f fonts.dir fonts.scale
298 /usr/bin/type1inst -nogs -nolog -q
299 sed 's/^.*pfb -//' %{_fontdir}/Type1/fonts.dir > \
300 %{_fontdir}/Type1/fonts.dir.tmp
301 grep -f %{_fontdir}/Type1/fonts.dir.tmp \
302 %{_fontdir}/Type1/fonts.alias > \
303 %{_fontdir}/Type1/fonts.alias.tmp
304 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
305 rm -f %{_fontdir}/Type1/fonts.dir.tmp
308 %defattr(644,root,root,755)
311 %dir %{_fontdir}/Speedo
313 %dir %{_fontdir}/encodings
314 %dir %{_fontdir}/local
315 %dir %{_fontdir}/Type1
316 %dir %{_fontdir}/misc
318 %{_fontdir}/Speedo/*.spd
319 %{_fontdir}/encodings/*
321 %{_fontdir}/Type1/*[a-z_].*f*
322 %verify(not mtime size md5) %{_fontdir}/CID/fonts.*
323 %verify(not mtime size md5) %{_fontdir}/Speedo/fonts.*
324 %verify(not mtime size md5) %{_fontdir}/TTF/fonts.*
325 %verify(not mtime size md5) %{_fontdir}/local/fonts.*
326 %verify(not mtime size md5) %{_fontdir}/Type1/fonts.*
327 %verify(not mtime size md5) %{_fontdir}/misc/fonts.*
329 %files -n XFree86-75dpi-fonts
330 %defattr(644,root,root,755)
331 %dir %{_fontdir}/75dpi
332 %{_fontdir}/75dpi/*gz
333 %verify(not mtime size md5) %{_fontdir}/75dpi/fonts.*
335 %files -n XFree86-100dpi-fonts
336 %defattr(644,root,root,755)
337 %dir %{_fontdir}/100dpi
338 %{_fontdir}/100dpi/*gz
339 %verify(not mtime size md5) %{_fontdir}/100dpi/fonts.*
341 %files -n XFree86-cyrillic-fonts
342 %defattr(644,root,root,755)
345 %files -n XFree86-latin2-fonts
346 %defattr(644,root,root,755)
347 %doc RELEASE_NOTES.TXT.gz
348 %{_fontdir}/latin2/misc
350 %files -n XFree86-latin2-100dpi-fonts
351 %defattr(644,root,root,755)
352 %{_fontdir}/latin2/100dpi
354 %files -n XFree86-latin2-75dpi-fonts
355 %defattr(644,root,root,755)
356 %{_fontdir}/latin2/75dpi
358 %files -n XFree86-latin2-Type1-fonts
359 %defattr(644,root,root,755)
360 %{_fontdir}/Type1/afm/*
361 %{_fontdir}/Type1/pfm/*
362 %{_fontdir}/Type1/*-ISO-8859-2*