]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - xorg-x11-font-utils/xorg-x11-font-utils.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / xorg-x11-font-utils / xorg-x11-font-utils.nm
CommitLineData
f920b4a4 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
f920b4a4
SS
4###############################################################################
5
802ea3af
MT
6name = xorg-x11-font-utils
7version = 7.4
f15bd751 8release = 3
f920b4a4 9
802ea3af
MT
10maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
11groups = X/Fonts
12url = http://www.x.org/
13license = MIT
14summary = X.Org X11 font utilities.
5a18c38b 15
802ea3af
MT
16description
17 X.Org X11 font utilities required for font installation, conversion,
f920b4a4 18 and generation.
802ea3af
MT
19end
20
21source_dl = http://ftp.x.org/pub/individual/app/
22
23sources =\
24 bdftopcf-1.0.1.tar.bz2 \
25 fonttosfnt-1.0.3.tar.bz2 \
26 mkfontdir-1.0.5.tar.bz2 \
27 mkfontscale-1.0.7.tar.bz2 \
28 font-util-1.1.0.tar.bz2
29
30build
31 requires
32 autoconf
33 freetype-devel
34 libX11-devel
35 libXfont-devel
36 libfontenc-devel
37 pkg-config
38 xorg-x11-proto-devel
1f9bc2f0 39 zlib-devel
802ea3af
MT
40 end
41
42 configure_options += \
43 --with-mapdir=/usr/share/X11/fonts/util
44
45 build
46 for object in %{sources}; do
47 dir=%{DIR_SRC}/${object%*.tar.bz2}
48
49 if [ -d "${dir}" ]; then
50 cd ${dir}
51 autoconf
52 ./configure %{configure_options}
53
1429c856 54 make %{PARALLELISMFLAGS}
802ea3af
MT
55 fi
56 done
57 end
58
59 install
60 for object in %{sources}; do
61 dir=%{DIR_SRC}/${object%*.tar.bz2}
62
63 if [ -d "${dir}" ]; then
64 cd ${dir}
65
66 make install DESTDIR=%{BUILDROOT}
67 fi
68 done
f15bd751
SS
69
70 # Install xorg-x11-fonts-update-dirs
71 install -m 0744 %{DIR_SOURCE}/xorg-x11-fonts-update-dirs %{BUILDROOT}/usr/bin/
72 sed -i "s:@DATADIR@:/usr/share:" %{BUILDROOT}/usr/bin/xorg-x11-fonts-update-dirs
802ea3af
MT
73 end
74end
75
76packages
77 package %{name}
78 end
79
80 package %{name}-devel
81 template DEVEL
82
83 requires
84 freetype-devel
85 end
86 end
1f9bc2f0
MT
87
88 package %{name}-debuginfo
89 template DEBUGINFO
90 end
802ea3af 91end