1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Graphics
11 url = http://fontconfig.org/
13 summary = Font configuration and customization library.
16 Fontconfig is designed to locate fonts within the \
17 system and select them according to requirements specified by \
21 source_dl = http://www.freedesktop.org/software/fontconfig/release/
30 configure_options += \
32 --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts
35 export LD_LIBRARY_PATH=$(pwd)/src/.libs
40 for i in $(find %{BUILDROOT}%{sysconfdir}/fonts/conf.d -type l); do
41 ln -svf --relative %{BUILDROOT}$(readlink -m ${i}) ${i}
51 mkdir -p %{localstatedir}/cache/fontconfig
53 if [ -x "%{bindir}/fc-cache" ]; then
54 HOME=/root %{bindir}/fc-cache -f
63 package %{name}-debuginfo