1 %define _fontsdir %{_datadir}/fonts
2 %define _ttfontsdir %{_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
11 License: Intel Proprietary
12 Summary: Fonts package that provides the Clear Sans font
13 Url: http://www.intel.com/
15 Source: %{name}-%{version}.tar.xz
17 Requires(post): %{_bindir}/fc-cache
20 Fonts package that provides the Clear Sans font
28 mkdir -p %{buildroot}%{_ttfontsdir}
29 install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/
32 if [ -x %{_bindir}/fc-cache ]; then
33 %{_bindir}/fc-cache %{_ttffontsdir} || :
37 if [ -x %{_bindir}/fc-cache ]; then
38 %{_bindir}/fc-cache %{_ttffontsdir} || :