%global fontname archivo-black %global fontconf 64-%{fontname}.conf Name: %{fontname}-fonts Version: 1.0004 Release: 3%{?dist} Summary: Grotesque sans-serif typeface derived from Chivo. Black style Group: User Interface/X License: OFL URL: http://omnibus-type.com/ Source0: http://omnibus-type.com/download/ArchivoBlack-for-Print.zip Source1: %{fontname}-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Archivo from Omnibus-Type is a grotesque sans-serif typeface family derived from Chivo. Black style. %prep %setup -q -n ArchivoBlack-for-Print %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}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} cp -p OFL.txt LICENSE sed -i 's/\r$//' LICENSE %_font_pkg -f %{fontconf} *.ttf %license LICENSE %changelog * Tue May 14 2024 Arkady L. Shane - 1.0004-3 - Rebuilt * Thu Nov 23 2023 MSVSphere Packaging Team - 1.0004-2 - Rebuilt for MSVSphere 9.3 * Wed Jan 11 2017 Dawid Zych 1.0004-2 - Update fontconfig and it's priority. * Thu Jan 05 2017 Dawid Zych 1.0004-1 - Initial packaging.