1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 url = http://www.dejavu-fonts.org/
13 license = Bitstream Vera and Public Domain
14 summary = DejaVu fonts.
17 The DejaVu font set is based on the "Bitstream Vera" fonts, release 1.10. Its
18 purpose is to provide a wider range of characters, while maintaining the
19 original style, using an open collaborative development process.
22 source_dl = http://sourceforge.net/projects/dejavu/files/dejavu/%{version}/
23 sources = %{thisapp}.tar.bz2
26 fontdir = %{datadir}/fonts/%{fontname}/
27 fontconfig_templatedir = %{datadir}/fontconfig/conf.avail/
28 fontconfig_confdir = %{sysconfdir}/fonts/conf.d/
38 make_build_targets += \
41 BLOCKS=/usr/share/unicode/ucd/Blocks.txt \
42 UNICODEDATA=/usr/share/unicode/ucd/UnicodeData.txt
49 # Compress the huge state.txt.
50 bzip2 -9 build/status.txt
52 # Create directories and install font files.
53 install -m 0755 -d %{BUILDROOT}%{fontdir}
54 install -m 0644 -p build/*.ttf %{BUILDROOT}%{fontdir}
56 # Create directories for configuration files.
57 install -m 0755 -d %{BUILDROOT}%{fontconfig_templatedir} \
58 %{BUILDROOT}%{fontconfig_confdir}
60 # Install config files and symlink them to /etc.
62 for fontconf in *conf; do
63 install -m 0644 -p $fontconf %{BUILDROOT}%{fontconfig_templatedir}
64 ln -s ../../..%{fontconfig_templatedir}$fontconf \
65 %{BUILDROOT}%{fontconfig_confdir}/$fontconf
81 package %{name}-sans-fonts
84 summary = Variable-width sans-serif font faces.
86 This package consists of the DejaVu sans-serif variable-width font faces, in
87 their unabridged version.
91 %{fontdir}DejaVuSans.ttf
92 %{fontdir}DejaVuSans-*.ttf
93 %{fontdir}DejaVuSansCondensed*.ttf
94 %{fontconfig_templatedir}*-sans.conf
95 %{fontconfig_confdir}*-sans.conf
99 package %{name}-serif-fonts
102 summary = Variable-width serif font faces.
104 This package consists of the DejaVu serif variable-width font faces, in
105 their unabridged version.
109 %{fontdir}DejaVuSerif.ttf
110 %{fontdir}DejaVuSerif-*.ttf
111 %{fontdir}DejaVuSerifCondensed*.ttf
112 %{fontconfig_templatedir}*-serif.conf
113 %{fontconfig_confdir}*-serif.conf
117 package %{name}-sans-mono-fonts
120 summary = Monospace sans-serif fon faces.
122 This package consists of the DejaVu sans-serif monospace font faces, in their
127 %{fontdir}DejaVuSansMono.ttf
128 %{fontconfig_templatedir}*-sans-mono.conf
129 %{fontconfig_confdir}*-sans-mono.conf
133 package %{name}-lgc-sans-fonts
136 summary = Variable-width sans-serif font faces, Latin-Greek-Cyrillic subset.
138 This package consists of the DejaVu sans-serif variable-width font faces, with
139 unicode coverage restricted to Latin, Greek and Cyrillic.
143 %{fontdir}DejaVuLGCSans.ttf
144 %{fontdir}DejaVuLGCSans-*.ttf
145 %{fontdir}DejaVuLGCSansCondensed*.ttf
146 %{fontconfig_templatedir}*-lgc-sans.conf
147 %{fontconfig_confdir}*-lgc-sans.conf
151 package %{name}-lgc-serif-fonts
154 summary = Variable-width serif font faces, Latin-Greek-Cyrillic subset.
156 This package consists of the DejaVu serif variable-width font faces, with
157 unicode coverage restricted to Latin, Greek and Cyrillic.
161 %{fontdir}DejaVuLGCSerif.ttf
162 %{fontdir}DejaVuLGCSerif-*.ttf
163 %{fontdir}DejaVuLGCSerifCondensed*.ttf
164 %{fontconfig_templatedir}*-lgc-serif.conf
165 %{fontconfig_confdir}*-lgc-serif.conf
169 package %{name}-lgc-sans-mono-fonts
172 summary = Monospace sans-serif font faces, Latin-Greek-Cyrillic subset.
174 This package consists of the DejaVu sans-serif monospace font faces, with
175 unicode coverage restricted to Latin, Greek and Cyrillic.
179 %{fontdir}DejaVuLGCSansMono*.ttf
180 %{fontconfig_templatedir}*-lgc-sans-mono.conf
181 %{fontconfig_confdir}*-lgc-sans-mono.conf