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
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
16 Source1001: monotype-fonts.manifest
18 Requires(post): %{_bindir}/fc-cache
21 Fonts package that provides the Clear Sans font
30 mkdir -p %{buildroot}%{_ttffontsdir}
31 install -m 0644 ttf/*.ttf %{buildroot}%{_ttffontsdir}/
34 if [ -x %{_bindir}/fc-cache ]; then
35 %{_bindir}/fc-cache %{_ttffontsdir} || :
39 if [ -x %{_bindir}/fc-cache ]; then
40 %{_bindir}/fc-cache %{_ttffontsdir} || :
44 %manifest %{name}.manifest