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}-ISO8859-2.patch
16 BuildRequires: XFree86 = %{version}
17 BuildRequires: XFree86-devel = %{version}
18 Prereq: /usr/X11R6/bin/mkfontdir
19 Obsoletes: XFree86-latin2-fonts
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _fontdir /usr/share/fonts
24 %define _prefix /usr/X11R6
25 %define _mandir /usr/X11R6/man
26 %define _appnkldir %{_datadir}/applnk
29 This package contains the basic fonts. This package is required when
30 you have installed X server.
33 Pakiet ten zawiera podstawowe czcionki. Pakiet ten jest koniecznie
34 potrzebny, je¶li masz zainstalowany jakikolwiek X serwer.
36 %package -n XFree86-75dpi-fonts
37 Summary: X11R6 75dpi fonts - only need on server side
38 Summary(de): X11RT 76 dpi-Fonts - nur auf Serverseite erforderlich
39 Summary(fr): Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
40 Summary(pl): Fonty o rozdzielczo¶ci 75dpi-niebêdne dla serwera.
41 Summary(tr): X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
43 Group(de): X11/XFree86
44 Group(pl): X11/XFree86
45 Prereq: %{_bindir}/mkfontdir
48 Obsoletes: X11R6.1-75dpi-fonts
51 %description -n XFree86-75dpi-fonts
52 The 75dpi fonts used on most Linux systems. Users with high resolution
53 displays may prefer the 100dpi fonts available in a separate package.
55 %description -l de -n XFree86-75dpi-fonts
56 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für
57 Benutzer mit einer hochauflösender Darstellung sind die 100dpi-Fonts
58 eines getrennt erhältlichen Pakets besser geeignet.
60 %description -l fr -n XFree86-75dpi-fonts
61 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui
62 ont des écrans à haute résolution préfèreront les fontes 100 dpi
63 disponibles dans un autre paquetage.
65 %description -l pl -n XFree86-75dpi-fonts
66 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej
67 rozdzielczo¶ci zalecane s± czcionki 100dpi, które s± dostêpne w
70 %description -l tr -n XFree86-75dpi-fonts
71 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük
72 kullanan kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
74 %package -n XFree86-100dpi-fonts
75 Summary: X11R6 100dpi fonts - only need on server side
76 Summary(de): X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
77 Summary(fr): Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
78 Summary(pl): Fonty o rozdzielczosci 100dpi - niezbêdne dla serwera.
79 Summary(tr): X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
81 Group(de): X11/XFree86
82 Group(pl): X11/XFree86
83 Prereq: %{_bindir}/mkfontdir
86 Obsoletes: X11R6.1-100dpi-fonts
89 %description -n XFree86-100dpi-fonts
90 The 100dpi fonts used on most Linux systems. Users with high
91 resolution displays may prefer the 100dpi fonts available in a
94 %description -l de -n XFree86-100dpi-fonts
95 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum
96 Einsatz kommen. Anwender mit hochauflösenden Monitoren ziehen unter
97 Umständen die 100dpi-Schriften vor, die in einem separaten Paket
100 %description -l fr -n XFree86-100dpi-fonts
101 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
102 Les utilisateurs ayant des hautes résolutions peuvent préférer les
103 fontes 100dpi disponibles dans un package séparé.
105 %description -l pl -n XFree86-100dpi-fonts
106 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy
107 pracy z du¿± rozdzielczo¶ci±.
109 %description -l tr -n XFree86-100dpi-fonts
110 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi
111 olanlara yeðleyebilirler.
113 %package -n XFree86-cyrillic-fonts
114 Summary: Cyrillic fonts - only need on server side
115 Summary(pl): Fonty rastrowe z cyrylic±
117 Group(de): X11/XFree86
118 Group(pl): X11/XFree86
119 Prereq: %{_bindir}/mkfontdir
121 %description -n XFree86-cyrillic-fonts
122 Cyrillic raster fonts.
124 %description -l pl -n XFree86-cyrillic-fonts
125 Fonty rastrowe z cyrylic±.
127 %package -n XFree86-latin2-100dpi-fonts
128 Summary: Latin 2 100dpi fonts - only need on server side
129 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi
131 Group(de): X11/XFree86
132 Group(pl): X11/XFree86
133 Prereq: %{_bindir}/mkfontdir
135 %description -n XFree86-latin2-100dpi-fonts
136 Latin 2 raster fonts.
138 %description -l pl -n XFree86-latin2-100dpi-fonts
139 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi.
141 %package -n XFree86-latin2-75dpi-fonts
142 Summary: Latin 2 75dpi fonts - only need on server side
143 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
145 Group(de): X11/XFree86
146 Group(pl): X11/XFree86
147 Prereq: %{_bindir}/mkfontdir
149 %description -n XFree86-latin2-75dpi-fonts
150 Latin 2 raster fonts.
152 %description -l pl -n XFree86-latin2-75dpi-fonts
153 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
155 %package -n XFree86-latin2-Type1-fonts
156 Summary: Type1 (scalable) ISO8859-2 X11 system fonts
157 Summary(pl): Fonty Type 1 ISO-8859-2
162 Prereq: /usr/bin/type1inst
163 Requires: XFree86 > 3.2
164 Requires: type1inst >= 0.6.1
167 %description -n XFree86-latin2-Type1-fonts
168 This package includes the Central European (ISO-8859-2) Type1 fonts
171 This is the famous ulT1mo (read ultimo) collection. All fonts are
172 copyrighted to their authors and declared to be freeware. Originals
173 was taken from the net or CDs.
175 %description -n XFree86-latin2-Type1-fonts -l pl
176 Pakiet ten zawiera zestaw fontów Type 1 ISO-8859-2 dla X Window.
179 %setup -q -c -b1 -b2 -a3
182 ln -s . xc/fonts/fonts
184 rm -f misc/{font*,*13*}
188 mv $i "`echo $i | sed 's/\.bdf//'`-ISO8859-2.bdf"
191 mv -f misc/*.bdf xc/fonts/bdf/misc/
192 mv -f 100dpi/{char,term,lutBS,lutRS}* xc/fonts/bdf/latin2/100dpi/
193 mv -f 75dpi/{char,term,ncenR{18,24},lutBS{08,19,24},lutRS{08,19,24}}* xc/fonts/bdf/latin2/75dpi/
195 cp xc/extras/fonts/arabic24/*.bdf xc/fonts/bdf/misc/
196 cp xc/extras/fonts/ClearlyU/*.bdf xc/fonts/bdf/misc/
199 %{__make} all -C ulT1mo-beta-1.0
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-100dpi-fonts
260 cd %{_fontdir}/latin2/100dpi
263 %post -n XFree86-latin2-75dpi-fonts
264 cd %{_fontdir}/latin2/75dpi
267 %post -n XFree86-latin2-Type1-fonts
269 rm -f fonts.dir fonts.scale
270 /usr/bin/type1inst -nogs -nolog -q
271 grep '^.*ISO-8859-2.pfb' %{_fontdir}/Type1/fonts.dir |\
272 sed 's/\(^.*ISO-8859-2.pfb \)\(.*\)/"\2"/' |\
273 sed 's/\(^".*\)\(-[a-z]*-[a-z]*"\)/\1-iso8859-2" \1\2/' |\
274 grep -v ^[0-9] > %{_fontdir}/Type1/fonts.alias.tmp
275 cat %{_fontdir}/Type1/fonts.alias.tmp >>\
276 %{_fontdir}/Type1/fonts.alias
277 sort < %{_fontdir}/Type1/fonts.alias | uniq >\
278 %{_fontdir}/Type1/fonts.alias.tmp
279 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
281 %postun -n XFree86-latin2-Type1-fonts
283 rm -f fonts.dir fonts.scale
284 /usr/bin/type1inst -nogs -nolog -q
285 sed 's/^.*pfb -//' %{_fontdir}/Type1/fonts.dir > \
286 %{_fontdir}/Type1/fonts.dir.tmp
287 grep -f %{_fontdir}/Type1/fonts.dir.tmp \
288 %{_fontdir}/Type1/fonts.alias > \
289 %{_fontdir}/Type1/fonts.alias.tmp
290 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
291 rm -f %{_fontdir}/Type1/fonts.dir.tmp
294 %defattr(644,root,root,755)
295 %doc RELEASE_NOTES.TXT.gz
298 %dir %{_fontdir}/Speedo
300 %dir %{_fontdir}/encodings
301 %dir %{_fontdir}/local
302 %dir %{_fontdir}/Type1
303 %dir %{_fontdir}/misc
305 %{_fontdir}/Speedo/*.spd
306 %{_fontdir}/encodings/*
308 %{_fontdir}/Type1/*[a-z_].*f*
309 %verify(not mtime size md5) %{_fontdir}/CID/fonts.*
310 %verify(not mtime size md5) %{_fontdir}/Speedo/fonts.*
311 %verify(not mtime size md5) %{_fontdir}/TTF/fonts.*
312 %verify(not mtime size md5) %{_fontdir}/local/fonts.*
313 %verify(not mtime size md5) %{_fontdir}/Type1/fonts.*
314 %verify(not mtime size md5) %{_fontdir}/misc/fonts.*
316 %files -n XFree86-75dpi-fonts
317 %defattr(644,root,root,755)
318 %dir %{_fontdir}/75dpi
319 %{_fontdir}/75dpi/*gz
320 %verify(not mtime size md5) %{_fontdir}/75dpi/fonts.*
322 %files -n XFree86-100dpi-fonts
323 %defattr(644,root,root,755)
324 %dir %{_fontdir}/100dpi
325 %{_fontdir}/100dpi/*gz
326 %verify(not mtime size md5) %{_fontdir}/100dpi/fonts.*
328 %files -n XFree86-cyrillic-fonts
329 %defattr(644,root,root,755)
332 %files -n XFree86-latin2-100dpi-fonts
333 %defattr(644,root,root,755)
334 %{_fontdir}/latin2/100dpi
336 %files -n XFree86-latin2-75dpi-fonts
337 %defattr(644,root,root,755)
338 %{_fontdir}/latin2/75dpi
340 %files -n XFree86-latin2-Type1-fonts
341 %defattr(644,root,root,755)
342 %{_fontdir}/Type1/afm/*
343 %{_fontdir}/Type1/pfm/*
344 %{_fontdir}/Type1/*-ISO-8859-2*