1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
13 url = http://www.x.org/
15 summary = X.Org X11 fonts.
18 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and
19 Arabic fonts for use with X Window System.
22 source_dl = http://ftp.x.org/pub/individual/font/
23 source_dl += http://unifoundry.com/
26 encodings-1.0.3.tar.bz2 \
27 font-alias-1.0.2.tar.bz2 \
28 font-adobe-100dpi-1.0.1.tar.bz2 \
29 font-adobe-75dpi-1.0.1.tar.bz2 \
30 font-adobe-utopia-100dpi-1.0.2.tar.bz2 \
31 font-adobe-utopia-75dpi-1.0.2.tar.bz2 \
32 font-adobe-utopia-type1-1.0.2.tar.bz2 \
33 font-arabic-misc-1.0.1.tar.bz2 \
34 font-bh-100dpi-1.0.1.tar.bz2 \
35 font-bh-75dpi-1.0.1.tar.bz2 \
36 font-bh-lucidatypewriter-100dpi-1.0.1.tar.bz2 \
37 font-bh-lucidatypewriter-75dpi-1.0.1.tar.bz2 \
38 font-bitstream-100dpi-1.0.1.tar.bz2 \
39 font-bitstream-75dpi-1.0.1.tar.bz2 \
40 font-bitstream-type1-1.0.1.tar.bz2 \
41 font-cronyx-cyrillic-1.0.1.tar.bz2 \
42 font-cursor-misc-1.0.1.tar.bz2 \
43 font-daewoo-misc-1.0.1.tar.bz2 \
44 font-dec-misc-1.0.1.tar.bz2 \
45 font-isas-misc-1.0.1.tar.bz2 \
46 font-jis-misc-1.0.1.tar.bz2 \
47 font-micro-misc-1.0.1.tar.bz2 \
48 font-misc-cyrillic-1.0.1.tar.bz2 \
49 font-misc-misc-1.1.0.tar.bz2 \
50 font-mutt-misc-1.0.1.tar.bz2 \
51 font-schumacher-misc-1.1.0.tar.bz2 \
52 font-screen-cyrillic-1.0.2.tar.bz2 \
53 font-sony-misc-1.0.1.tar.bz2 \
54 font-sun-misc-1.0.1.tar.bz2 \
55 font-winitzki-cyrillic-1.0.1.tar.bz2 \
56 font-xfree86-type1-1.0.2.tar.bz2 \
57 unifont-5.1.20080820.pcf.gz
64 xorg-x11-font-utils-devel
67 configure_options += \
68 --with-fontrootdir=/usr/share/X11/fonts \
72 --disable-iso8859-10 \
73 --disable-iso8859-11 \
74 --disable-iso8859-12 \
75 --disable-iso8859-13 \
79 # Extract all source tarballs.
80 for object in %{sources}; do
81 # Only extract tar.bz2 files
82 object=${object//*pcf.gz/}
83 if [ -n "${object}" ]; then
84 %{MACRO_EXTRACT} %{DIR_DL}/${object}
90 for object in %{sources}; do
91 dir=%{DIR_SRC}/${object%*.tar.bz2}
93 if [ -d "${dir}" ]; then
95 ./configure %{configure_options}
97 make %{PARALLELISMFLAGS}
103 for object in %{sources}; do
104 dir=%{DIR_SRC}/${object%*.tar.bz2}
106 if [ -d "${dir}" ]; then
109 make install DESTDIR=%{BUILDROOT}
114 mkdir -pv %{BUILDROOT}/usr/share/X11/fonts/misc
115 cp -vf %{DIR_DL}/unifont-5.1.20080820.pcf.gz \
116 %{BUILDROOT}/usr/share/X11/fonts/misc/unifont.pcf.gz
118 # XXX Do we need to create these symlinks to use the fonts - check this in a running X environment.
119 # Install catalogue symlinks
120 #mkdir -pv %{BUILDROOT}/etc/X11/fontpath.d
121 #ln -svf ../../../usr/share/X11/fonts/100dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-100dpi
122 #ln -svf ../../../usr/share/X11/fonts/75dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-75dpi
123 #ln -svf ../../../usr/share/X11/fonts/cyrillic %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-cyrillic
124 #ln -svf ../../../usr/share/X11/fonts/misc %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-misc
125 #ln -svf ../../../usr/share/X11/fonts/Type1 %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-Type1
130 # Template for 75 DPI fonts
137 # /etc/X11/fontpath.d/xorg-x11-fonts-75dpi
140 prerequires = xorg-x11-font-utils
143 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
147 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
151 # Template for 100 DPI fonts
158 # /etc/X11/fontpath.d/xorg-x11-fonts-100
161 prerequires = xorg-x11-font-utils
164 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
168 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
173 summary = Bitmap fonts for the X Window System.
175 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and Arabic
176 fonts for use with X Window System.
183 prerequires = xorg-x11-font-utils
186 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
190 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
194 package %{name}-Type1
195 summary = Type1 fonts provided by the X Window System.
197 A collection of Type1 fonts which are part of the core X Window System
206 /usr/share/X11/fonts/Type1/
209 prerequires = xorg-x11-font-utils
212 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
216 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
220 package %{name}-75dpi
223 summary = A set of 75dpi resolution fonts for the X Window System.
225 A set of 75 dpi fonts used by the X window system.
229 /usr/share/X11/fonts/75dpi/
232 package %{name}-100dpi
235 summary = A set of 100dpi resolution fonts for the X Window System.
237 A set of 100 dpi fonts used by the X window system.
241 /usr/share/X11/fonts/100dpi/
244 package %{name}-ISO8859-1-75dpi
247 summary = A set of 75dpi ISO-8859-1 fonts for X.
249 Contains a set of 75dpi fonts for ISO-8859-1.
253 /usr/share/X11/fonts/75dpi/*ISO8859-1.*
256 package %{name}-ISO8859-1-100dpi
259 summary = A set of 100dpi ISO-8859-1 fonts for X.
261 Contains a set of 100dpi fonts for ISO-8859-1.
265 /usr/share/X11/fonts/100dpi/*ISO8859-1.*
268 package %{name}-ISO8859-2-75dpi
271 summary = A set of 75dpi Central European language fonts for X.
273 Contains a set of 75dpi fonts for Central European languages.
277 /usr/share/X11/fonts/75dpi/*ISO8859-2.*
280 package %{name}-ISO8859-2-100dpi
283 summary = A set of 100dpi Central European language fonts for X.
285 Contains a set of 100dpi fonts for Central European languages.
289 /usr/share/X11/fonts/100dpi/*ISO8859-2.*
292 package %{name}-ISO8859-9-75dpi
295 summary = ISO8859-9-75dpi fonts.
297 Contains a set of 75dpi fonts for the Turkish language.
301 /usr/share/X11/fonts/75dpi/*ISO8859-9.*
304 package %{name}-ISO8859-9-100dpi
307 summary = ISO8859-9-100dpi fonts.
309 Contains a set of 100dpi fonts for the Turkish language.
313 /usr/share/X11/fonts/100dpi/*ISO8859-9.*
316 package %{name}-ISO8859-14-75dpi
319 summary = ISO8859-14-75dpi fonts.
321 Contains a set of 75dpi fonts in the ISO8859-14 encoding which
322 provide Welsh support.
326 /usr/share/X11/fonts/75dpi/*ISO8859-14.*
329 package %{name}-ISO8859-14-100dpi
332 summary = ISO8859-14-100dpi fonts.
334 Contains a set of 100dpi fonts in the ISO8859-14 encoding which
335 provide Welsh support.
339 /usr/share/X11/fonts/100dpi/*ISO8859-14.*
342 package %{name}-ISO8859-15-75dpi
345 summary = ISO8859-15-75dpi fonts.
347 Contains a set of 75dpi fonts in the ISO8859-15 encoding which
348 provide Euro support.
352 /usr/share/X11/fonts/75dpi/*ISO8859-15.*
355 package %{name}-ISO8859-15-100dpi
358 summary = ISO8859-15-100dpi fonts.
360 Contains a set of 100dpi fonts in the ISO8859-15 encoding which
361 provide Euro support.
365 /usr/share/X11/fonts/100dpi/*ISO8859-15.*
368 package %{name}-cyrillic
369 summary = Cyrillic fonts for X.
371 Contains a set of Cyrillic fonts.
379 /usr/share/X11/fonts/cyrillic/
382 prerequires = xorg-x11-font-utils
385 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
389 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
393 package %{name}-unifont
394 summary = The GNU unifont.
396 GNU Unifont, contains glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
400 /usr/share/X11/fonts/misc/unifont.pcf.gz