]> git.ipfire.org Git - ipfire-3.x.git/blame - xorg-x11-fonts/xorg-x11-fonts.nm
pcengines-firmware: update to 4.9.0.7
[ipfire-3.x.git] / xorg-x11-fonts / xorg-x11-fonts.nm
CommitLineData
c4d0cbf5 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
c4d0cbf5
SS
4###############################################################################
5
802ea3af
MT
6name = xorg-x11-fonts
7version = 7.2
3345fdbc 8release = 5
802ea3af
MT
9arch = noarch
10
11maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
12groups = X/Fonts
13url = http://www.x.org/
14license = MIT
15summary = X.Org X11 fonts.
16
17description
18 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and
19 Arabic fonts for use with X Window System.
20end
21
d9e45c81
MT
22source_dl = http://ftp.x.org/pub/individual/font/
23source_dl += http://unifoundry.com/
802ea3af
MT
24
25sources = \
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
58
59build
60 requires
61 /usr/bin/mkfontscale
62 perl
63 pkg-config
64 xorg-x11-font-utils-devel
65 end
66
b8d5575f 67 configure_options += \
c4d0cbf5
SS
68 --with-fontrootdir=/usr/share/X11/fonts \
69 --disable-iso8859-3 \
70 --disable-iso8859-4 \
71 --disable-iso8859-6 \
72 --disable-iso8859-10 \
73 --disable-iso8859-11 \
74 --disable-iso8859-12 \
75 --disable-iso8859-13 \
76 --disable-iso8859-16
77
802ea3af
MT
78 prepare
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}
85 fi
86 done
3345fdbc
MT
87
88 %{MACRO_FIX_AUTOTOOLS}
802ea3af
MT
89 end
90
91 build
92 for object in %{sources}; do
93 dir=%{DIR_SRC}/${object%*.tar.bz2}
94
95 if [ -d "${dir}" ]; then
96 cd ${dir}
97 ./configure %{configure_options}
98
1429c856 99 make %{PARALLELISMFLAGS}
802ea3af
MT
100 fi
101 done
102 end
103
104 install
105 for object in %{sources}; do
106 dir=%{DIR_SRC}/${object%*.tar.bz2}
107
108 if [ -d "${dir}" ]; then
109 cd ${dir}
110
111 make install DESTDIR=%{BUILDROOT}
112 fi
113 done
114
115 # Install unifont
b8d5575f
MT
116 mkdir -pv %{BUILDROOT}/usr/share/X11/fonts/misc
117 cp -vf %{DIR_DL}/unifont-5.1.20080820.pcf.gz \
118 %{BUILDROOT}/usr/share/X11/fonts/misc/unifont.pcf.gz
d9e45c81 119
1f9bc2f0 120 # XXX Do we need to create these symlinks to use the fonts - check this in a running X environment.
d9e45c81
MT
121 # Install catalogue symlinks
122 #mkdir -pv %{BUILDROOT}/etc/X11/fontpath.d
123 #ln -svf ../../../usr/share/X11/fonts/100dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-100dpi
124 #ln -svf ../../../usr/share/X11/fonts/75dpi %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-75dpi
125 #ln -svf ../../../usr/share/X11/fonts/cyrillic %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-cyrillic
126 #ln -svf ../../../usr/share/X11/fonts/misc %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-misc
127 #ln -svf ../../../usr/share/X11/fonts/Type1 %{BUILDROOT}/etc/X11/fontpath.d/xorg-x11-fonts-Type1
802ea3af
MT
128 end
129end
130
131packages
d9e45c81
MT
132 # Template for 75 DPI fonts
133 template 75DPI
134 requires
135 fontconfig
136 end
137
138 #files
139 # /etc/X11/fontpath.d/xorg-x11-fonts-75dpi
140 #end
141
142 prerequires = xorg-x11-font-utils
143
144 script postin
145 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
146 end
147
148 script postun
149 /usr/bin/mkfontdir /usr/share/X11/fonts/75dpi
150 end
151 end
152
153 # Template for 100 DPI fonts
154 template 100DPI
155 requires
156 fontconfig
157 end
158
159 #files
160 # /etc/X11/fontpath.d/xorg-x11-fonts-100
161 #end
162
163 prerequires = xorg-x11-font-utils
164
165 script postin
166 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
167 end
168
169 script postun
170 /usr/bin/mkfontdir /usr/share/X11/fonts/100dpi
171 end
172 end
173
802ea3af 174 package %{name}
d9e45c81
MT
175 summary = Bitmap fonts for the X Window System.
176 description
177 This package contains misc bitmap Chinese, Japanese, Korean, Indic, and Arabic
178 fonts for use with X Window System.
179 end
180
181 requires
182 fontconfig
183 end
184
185 prerequires = xorg-x11-font-utils
186
187 script postin
188 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
189 end
190
191 script postun
192 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/misc
193 end
194 end
195
196 package %{name}-Type1
197 summary = Type1 fonts provided by the X Window System.
198 description
199 A collection of Type1 fonts which are part of the core X Window System
200 distribution.
201 end
202
203 requires
204 fontconfig
205 end
206
207 files
208 /usr/share/X11/fonts/Type1/
209 end
210
211 prerequires = xorg-x11-font-utils
212
213 script postin
214 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
215 end
216
217 script postun
218 /usr/bin/xorg-x11-fonts-update-dirs --skip-fontscale /usr/share/X11/fonts/Type1
219 end
220 end
221
222 package %{name}-75dpi
223 template 75DPI
224
225 summary = A set of 75dpi resolution fonts for the X Window System.
226 description
227 A set of 75 dpi fonts used by the X window system.
228 end
229
230 files +=\
231 /usr/share/X11/fonts/75dpi/
232 end
233
234 package %{name}-100dpi
235 template 100DPI
236
237 summary = A set of 100dpi resolution fonts for the X Window System.
238 description
239 A set of 100 dpi fonts used by the X window system.
240 end
241
242 files +=\
243 /usr/share/X11/fonts/100dpi/
244 end
245
246 package %{name}-ISO8859-1-75dpi
247 template 75DPI
248
249 summary = A set of 75dpi ISO-8859-1 fonts for X.
250 description
251 Contains a set of 75dpi fonts for ISO-8859-1.
252 end
253
254 files +=\
255 /usr/share/X11/fonts/75dpi/*ISO8859-1.*
256 end
257
258 package %{name}-ISO8859-1-100dpi
259 template 100DPI
260
261 summary = A set of 100dpi ISO-8859-1 fonts for X.
262 description
263 Contains a set of 100dpi fonts for ISO-8859-1.
264 end
265
266 files +=\
267 /usr/share/X11/fonts/100dpi/*ISO8859-1.*
268 end
269
270 package %{name}-ISO8859-2-75dpi
271 template 75DPI
272
273 summary = A set of 75dpi Central European language fonts for X.
274 description
275 Contains a set of 75dpi fonts for Central European languages.
276 end
277
278 files +=\
279 /usr/share/X11/fonts/75dpi/*ISO8859-2.*
280 end
281
282 package %{name}-ISO8859-2-100dpi
283 template 100DPI
284
285 summary = A set of 100dpi Central European language fonts for X.
286 description
287 Contains a set of 100dpi fonts for Central European languages.
288 end
289
290 files +=\
291 /usr/share/X11/fonts/100dpi/*ISO8859-2.*
292 end
293
294 package %{name}-ISO8859-9-75dpi
295 template 75DPI
296
297 summary = ISO8859-9-75dpi fonts.
298 description
299 Contains a set of 75dpi fonts for the Turkish language.
300 end
301
302 files +=\
303 /usr/share/X11/fonts/75dpi/*ISO8859-9.*
304 end
305
306 package %{name}-ISO8859-9-100dpi
307 template 100DPI
308
309 summary = ISO8859-9-100dpi fonts.
310 description
311 Contains a set of 100dpi fonts for the Turkish language.
312 end
313
314 files +=\
315 /usr/share/X11/fonts/100dpi/*ISO8859-9.*
316 end
317
318 package %{name}-ISO8859-14-75dpi
319 template 75DPI
320
321 summary = ISO8859-14-75dpi fonts.
322 description
323 Contains a set of 75dpi fonts in the ISO8859-14 encoding which
324 provide Welsh support.
325 end
326
327 files +=\
328 /usr/share/X11/fonts/75dpi/*ISO8859-14.*
329 end
330
331 package %{name}-ISO8859-14-100dpi
332 template 100DPI
333
334 summary = ISO8859-14-100dpi fonts.
335 description
336 Contains a set of 100dpi fonts in the ISO8859-14 encoding which
337 provide Welsh support.
338 end
339
340 files +=\
341 /usr/share/X11/fonts/100dpi/*ISO8859-14.*
342 end
343
344 package %{name}-ISO8859-15-75dpi
345 template 75DPI
346
347 summary = ISO8859-15-75dpi fonts.
348 description
349 Contains a set of 75dpi fonts in the ISO8859-15 encoding which
350 provide Euro support.
351 end
352
353 files +=\
354 /usr/share/X11/fonts/75dpi/*ISO8859-15.*
355 end
356
357 package %{name}-ISO8859-15-100dpi
358 template 100DPI
359
360 summary = ISO8859-15-100dpi fonts.
361 description
362 Contains a set of 100dpi fonts in the ISO8859-15 encoding which
363 provide Euro support.
364 end
365
366 files +=\
367 /usr/share/X11/fonts/100dpi/*ISO8859-15.*
368 end
369
370 package %{name}-cyrillic
371 summary = Cyrillic fonts for X.
372 description
373 Contains a set of Cyrillic fonts.
374 end
375
376 requires
377 fontconfig
378 end
379
380 files
381 /usr/share/X11/fonts/cyrillic/
382 end
383
384 prerequires = xorg-x11-font-utils
385
386 script postin
387 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
388 end
389
390 script postun
391 /usr/bin/mkfontdir /usr/share/X11/fonts/cyrillic
392 end
393 end
394
395 package %{name}-unifont
396 summary = The GNU unifont.
397 description
398 GNU Unifont, contains glyphs for every printable code point in the Unicode 5.1 Basic Multilingual Plane (BMP).
399 end
1f9bc2f0 400
d9e45c81 401 files
1f9bc2f0 402 /usr/share/X11/fonts/misc/unifont.pcf.gz
d9e45c81 403 end
802ea3af
MT
404 end
405end