1 %define _fontsdir %{_datadir}/fonts
2 %define _ttffontsdir %{_fontsdir}/truetype
3 %define _miscfontsdir %{_fontsdir}/misc
4 %define _fontsconfdir %{_sysconfdir}/fonts
5 %define _fontsconfddir %{_fontsconfdir}/conf.d
6 %define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
12 Summary: DejaVu Truetype Fonts
13 Url: http://dejavu.sourceforge.net/
15 Source: dejavu-fonts-ttf-%{version}.tar.bz2
19 The DejaVu fonts are a font family based on the Vera Fonts.
20 Its purpose is to provide a wider range of characters while
21 maintaining the original look and feel through the process
22 of collaborative development (see authors), under a Free license.
25 %setup -n %{name}-ttf-%{version}
30 mkdir -p %{buildroot}%{_ttffontsdir}/
31 install -m 0644 ttf/*.ttf %{buildroot}%{_ttffontsdir}/
35 if [ -x %{_bindir}/fc-cache ]; then
36 %{_bindir}/fc-cache %{_ttffontsdir} || :
40 if [ -x %{_bindir}/fc-cache ]; then
41 %{_bindir}/fc-cache %{_ttffontsdir} || :
45 %defattr(-,root,root,755)