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 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.
37 Summary: Perl scripts for generating BDF fonts
38 Summary(pl): Skrypty perlowe do generowania fontów BDF
40 Group(de): X11/XFree86
41 Group(pl): X11/XFree86
44 Perl scripts that allow to generate from an ISO10646-1 encoded
45 BDF font other BDF fonts in any possible encoding.
47 %package -n XFree86-75dpi-fonts
48 Summary: X11R6 75dpi fonts - only need on server side
49 Summary(de): X11RT 76 dpi-Fonts - nur auf Serverseite erforderlich
50 Summary(fr): Fontes 75 dpi X11R6 - nécessaire uniquement côté serveur
51 Summary(pl): Fonty o rozdzielczo¶ci 75dpi - potrzebne tylko po stronie serwera
52 Summary(tr): X11R6 75dpi yazýtipleri - yalnýzca sunucu tarafýnda gerekir
54 Group(de): X11/XFree86
55 Group(pl): X11/XFree86
56 Prereq: %{_bindir}/mkfontdir
59 Obsoletes: X11R6.1-75dpi-fonts
62 %description -n XFree86-75dpi-fonts
63 The 75dpi fonts used on most Linux systems. Users with high resolution
64 displays may prefer the 100dpi fonts available in a separate package.
66 %description -l de -n XFree86-75dpi-fonts
67 Die 75dpi-Fonts, die auf meisten Linux-Systemen verwendet werden. Für
68 Benutzer mit einer hochauflösender Darstellung sind die 100dpi-Fonts
69 eines getrennt erhältlichen Pakets besser geeignet.
71 %description -l fr -n XFree86-75dpi-fonts
72 Fontes 75 dpi utilisées sur la plupart des systèmes Linux. Ceux qui
73 ont des écrans à haute résolution préfèreront les fontes 100 dpi
74 disponibles dans un autre paquetage.
76 %description -l pl -n XFree86-75dpi-fonts
77 Pakiet ten zawiera czcionki rastrowe 75dpi. W wypadku wiêkszej
78 rozdzielczo¶ci zalecane s± czcionki 100dpi, które s± dostêpne w
81 %description -l tr -n XFree86-75dpi-fonts
82 Çoðu Linux sisteminde 75dpi yazýtipi kullanýlýr. Yüksek çözünürlük
83 kullanan kullanýcýlar 100dpi yazýtiplerini yeðleyebilirler.
85 %package -n XFree86-100dpi-fonts
86 Summary: X11R6 100dpi fonts - only need on server side
87 Summary(de): X11R6 100dpi-Fonts - nur auf Server-Seite erforderlich
88 Summary(fr): Fontes 100ppp pour X11R6 - nécessaires seulement coté serveur.
89 Summary(pl): Fonty o rozdzielczosci 100dpi - potrzebne tylko po stronie serwera
90 Summary(tr): X11R6 100dpi yazýtipleri - yalnýzca sunucu tarafýnda gereklidir
92 Group(de): X11/XFree86
93 Group(pl): X11/XFree86
94 Prereq: %{_bindir}/mkfontdir
97 Obsoletes: X11R6.1-100dpi-fonts
100 %description -n XFree86-100dpi-fonts
101 The 100dpi fonts used on most Linux systems. Users with high
102 resolution displays may prefer the 100dpi fonts available in a
105 %description -l de -n XFree86-100dpi-fonts
106 Die 100dpi-Schriftarten, die auf den meisten Linux-Systemen zum
107 Einsatz kommen. Anwender mit hochauflösenden Monitoren ziehen unter
108 Umständen die 100dpi-Schriften vor, die in einem separaten Paket
111 %description -l fr -n XFree86-100dpi-fonts
112 Les fontes 100dpi sont utilisées par la plupart des systèmes Linux.
113 Les utilisateurs ayant des hautes résolutions peuvent préférer les
114 fontes 100dpi disponibles dans un package séparé.
116 %description -l pl -n XFree86-100dpi-fonts
117 Pakiet ten zawiera czcionki rastrowe 100dpi. Bed± one potrzebne przy
118 pracy w du¿ych rozdzielczo¶ciach.
120 %description -l tr -n XFree86-100dpi-fonts
121 Yüksek çözünürlük kullanan kullanýcýlar 100dpi yazýtiplerini 75dpi
122 olanlara yeðleyebilirler.
124 %package -n XFree86-cyrillic-fonts
125 Summary: Cyrillic fonts - only need on server side
126 Summary(pl): Fonty rastrowe z cyrylic±
128 Group(de): X11/XFree86
129 Group(pl): X11/XFree86
130 Prereq: %{_bindir}/mkfontdir
132 %description -n XFree86-cyrillic-fonts
133 Cyrillic raster fonts.
135 %description -l pl -n XFree86-cyrillic-fonts
136 Fonty rastrowe z cyrylic±.
138 %package -n XFree86-latin2-100dpi-fonts
139 Summary: Latin 2 100dpi fonts - only need on server side
140 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi
142 Group(de): X11/XFree86
143 Group(pl): X11/XFree86
144 Prereq: %{_bindir}/mkfontdir
145 Obsoletes: XFree86-ISO8859-2-100dpi-fonts
147 %description -n XFree86-latin2-100dpi-fonts
148 Latin 2 raster fonts.
150 %description -l pl -n XFree86-latin2-100dpi-fonts
151 Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 100dpi.
153 %package -n XFree86-latin2-75dpi-fonts
154 Summary: Latin 2 75dpi fonts - only need on server side
155 Summary(pl): Fonty rastrowe ISO-8859-2 o rozdzielczo¶ci 75dpi
157 Group(de): X11/XFree86
158 Group(pl): X11/XFree86
159 Prereq: %{_bindir}/mkfontdir
160 Obsoletes: XFree86-ISO8859-2-75dpi-fonts
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
177 Requires: XFree86 > 3.2
178 Requires: type1inst >= 0.6.1
179 Obsoletes: XFree86-ISO8859-2-Type1-fonts
181 %description -n XFree86-latin2-Type1-fonts
182 This package includes the Central European (ISO-8859-2) Type1 fonts
185 This is the famous ulT1mo (read ultimo) collection. All fonts are
186 copyrighted to their authors and declared to be freeware. Originals
187 was taken from the net or CDs.
189 %description -n XFree86-latin2-Type1-fonts -l pl
190 Pakiet ten zawiera zestaw fontów Type 1 ISO-8859-2 dla X Window.
193 %setup -q -c -b1 -b2 -a3
197 cp xc/extras/fonts/arabic24/*.bdf xc/fonts/bdf/misc/
198 cp xc/extras/fonts/ClearlyU/*.bdf xc/fonts/bdf/misc/
201 for i in {12x24,8x16}*.bdf ; do
202 mv $i "`echo $i | sed 's/\.bdf//'`-ISO8859-2.bdf"
205 mv -f misc/{12x24,8x16}*.bdf xc/fonts/bdf/misc/
206 mv -f 100dpi/{char,term,lutBS,lutRS}* xc/fonts/bdf/latin2/100dpi/
207 mv -f 75dpi/{char,term,ncenR{18,24},lutBS{08,19,24},lutRS{08,19,24}}* xc/fonts/bdf/latin2/75dpi/
210 %{__make} all -C ulT1mo-beta-1.0
213 imake -DBuildFonts -DUseInstalled -I%{_libdir}/X11/config
217 %{__make} -C fonts TOP=`pwd` \
218 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
219 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
220 UCSMAPPREFIX=`pwd`/fonts/util/map- \
221 CDEBUGFLAGS="$RPM_OPT_FLAGS"
224 rm -rf $RPM_BUILD_ROOT
226 %{__make} -C fonts install TOP=`pwd` \
227 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
228 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
229 UCSMAPPREFIX=`pwd`/fonts/util/map- \
230 DESTDIR=$RPM_BUILD_ROOT
231 %{__make} -C fonts install.man TOP=`pwd` \
232 UCS2ANY=`pwd`/fonts/util/ucs2any.pl \
233 BDFTRUNCATE=`pwd`/fonts/util/bdftruncate.pl \
234 UCSMAPPREFIX=`pwd`/fonts/util/map- \
235 DESTDIR=$RPM_BUILD_ROOT
238 %{__make} -C ulT1mo-beta-1.0 install \
239 FONTDIR=$RPM_BUILD_ROOT%{_fontdir}
241 # make TrueType font dir, touch default .dir and .scale files
242 install -d $RPM_BUILD_ROOT%{_fontdir}/TTF
243 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.dir
244 echo 0 > $RPM_BUILD_ROOT%{_fontdir}/TTF/fonts.scale
246 gzip -9nf RELEASE_NOTES.TXT
249 rm -rf $RPM_BUILD_ROOT
260 %post -n XFree86-75dpi-fonts
265 %postun -n XFree86-75dpi-fonts
270 %post -n XFree86-100dpi-fonts
271 cd %{_fontdir}/100dpi
274 %postun -n XFree86-100dpi-fonts
275 cd %{_fontdir}/100dpi
279 %post -n XFree86-cyrillic-fonts
280 cd %{_fontdir}/cyrillic
283 %post -n XFree86-latin2-100dpi-fonts
284 cd %{_fontdir}/latin2/100dpi
287 %post -n XFree86-latin2-75dpi-fonts
288 cd %{_fontdir}/latin2/75dpi
291 %post -n XFree86-latin2-Type1-fonts
293 rm -f fonts.dir fonts.scale
294 /usr/bin/type1inst -nogs -nolog -q
295 grep '^.*ISO-8859-2.pfb' %{_fontdir}/Type1/fonts.dir |\
296 sed 's/\(^.*ISO-8859-2.pfb \)\(.*\)/"\2"/' |\
297 sed 's/\(^".*\)\(-[a-z]*-[a-z]*"\)/\1-iso8859-2" \1\2/' |\
298 grep -v ^[0-9] > %{_fontdir}/Type1/fonts.alias.tmp
299 cat %{_fontdir}/Type1/fonts.alias.tmp >>\
300 %{_fontdir}/Type1/fonts.alias
301 sort < %{_fontdir}/Type1/fonts.alias | uniq >\
302 %{_fontdir}/Type1/fonts.alias.tmp
303 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
305 %postun -n XFree86-latin2-Type1-fonts
307 rm -f fonts.dir fonts.scale
308 /usr/bin/type1inst -nogs -nolog -q
309 sed 's/^.*pfb -//' %{_fontdir}/Type1/fonts.dir > \
310 %{_fontdir}/Type1/fonts.dir.tmp
311 grep -f %{_fontdir}/Type1/fonts.dir.tmp \
312 %{_fontdir}/Type1/fonts.alias > \
313 %{_fontdir}/Type1/fonts.alias.tmp
314 mv -f %{_fontdir}/Type1/fonts.alias.tmp %{_fontdir}/Type1/fonts.alias
315 rm -f %{_fontdir}/Type1/fonts.dir.tmp
318 %defattr(644,root,root,755)
319 %doc RELEASE_NOTES.TXT.gz
322 %dir %{_fontdir}/Speedo
324 %dir %{_fontdir}/encodings
325 %dir %{_fontdir}/local
326 %dir %{_fontdir}/Type1
327 %dir %{_fontdir}/misc
329 %{_fontdir}/Speedo/*.spd
330 %{_fontdir}/encodings/*
332 %{_fontdir}/Type1/*[a-z_].*f*
333 %verify(not mtime size md5) %{_fontdir}/CID/fonts.*
334 %verify(not mtime size md5) %{_fontdir}/Speedo/fonts.*
335 %verify(not mtime size md5) %{_fontdir}/TTF/fonts.*
336 %verify(not mtime size md5) %{_fontdir}/local/fonts.*
337 %verify(not mtime size md5) %{_fontdir}/Type1/fonts.*
338 %verify(not mtime size md5) %{_fontdir}/misc/fonts.*
341 %defattr(644,root,root,755)
342 %attr(755,root,root) %{_bindir}/*
345 %files -n XFree86-75dpi-fonts
346 %defattr(644,root,root,755)
347 %dir %{_fontdir}/75dpi
348 %{_fontdir}/75dpi/*gz
349 %verify(not mtime size md5) %{_fontdir}/75dpi/fonts.*
351 %files -n XFree86-100dpi-fonts
352 %defattr(644,root,root,755)
353 %dir %{_fontdir}/100dpi
354 %{_fontdir}/100dpi/*gz
355 %verify(not mtime size md5) %{_fontdir}/100dpi/fonts.*
357 %files -n XFree86-cyrillic-fonts
358 %defattr(644,root,root,755)
361 %files -n XFree86-latin2-100dpi-fonts
362 %defattr(644,root,root,755)
363 %{_fontdir}/latin2/100dpi
365 %files -n XFree86-latin2-75dpi-fonts
366 %defattr(644,root,root,755)
367 %{_fontdir}/latin2/75dpi
369 %files -n XFree86-latin2-Type1-fonts
370 %defattr(644,root,root,755)
371 %{_fontdir}/Type1/afm/*
372 %{_fontdir}/Type1/pfm/*
373 %{_fontdir}/Type1/*-ISO-8859-2*