%global fontname overpass %global fontconf 60-%{fontname}.conf Name: %{fontname}-fonts Version: 1.01 Release: 2%{?dist} Summary: Typeface based on the U.S. interstate highway road signage type system License: OFL URL: https://fedorahosted.org/overpass-fonts/ Source0: https://fedorahosted.org/releases/o/v/overpass-fonts/Overpass-Fonts-%{version}.tar.gz Source1: %{name}-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Free & open source typeface based on the U.S. interstate highway road signage type system; it is sans-serif and suitable for both body and titling text. %prep %setup -q -c %build # Nothing to do here. %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}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} %_font_pkg -f %{fontconf} *.ttf %doc Overpass-OFL.txt %changelog * Mon Sep 24 2012 Tom Callaway - 1.01-2 - fix spaces vs tabs issue * Mon Aug 27 2012 Tom Callaway - 1.01-1 - initial package