%global fontname google-crosextra-caladea %global fontconf62 62-%{fontname} %global fontconf30 30-0-%{fontname} %global archivename crosextrafonts-20130214 Name: %{fontname}-fonts Version: 1.002 Release: 0.1.20130214%{?dist} Summary: Sans-serif font metric-compatible with Cambria font Group: User Interface/X License: ASL 2.0 URL: http://code.google.com/p/chromium/issues/detail?id=168879 Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/%{archivename}.tar.gz Source1: 30-0-%{fontname}-fontconfig.conf Source2: 62-%{fontname}-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Caladea is metric-compatible with Cambria font. This font is sans-serif typeface family based on Lato. %prep %setup -q -n %{archivename} %build %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf install -m 0644 -p %{SOURCE2} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf ln -s %{_fontconfig_templatedir}/%{fontconf30}-fontconfig.conf \ %{buildroot}%{_fontconfig_confdir}/%{fontconf30}-fontconfig.conf ln -s %{_fontconfig_templatedir}/%{fontconf62}-fontconfig.conf \ %{buildroot}%{_fontconfig_confdir}/%{fontconf62}-fontconfig.conf %_font_pkg -f *-%{fontname}-fontconfig.conf *.ttf %doc %changelog * Thu Oct 10 2013 Parag Nemade - 1.002-0.1.20130214 - Initial Fedora release.