%global fontconf 64-%{fontname} %global fontname google-roboto-mono %global commit0 5338537ef835a3d9ccf8faf386399f13a30605e2 Name: google-roboto-mono-fonts Version: 2.002 Release: 0.3.20200129git%{?dist} Summary: Google Roboto Mono fonts License: ASL 2.0 URL: https://www.google.com/fonts/specimen/Roboto+Mono # There are no tar archive so let's pick all the individual source files from github Source0: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Regular.ttf Source1: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Bold.ttf Source2: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Italic.ttf Source3: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-BoldItalic.ttf Source4: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Medium.ttf Source5: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-MediumItalic.ttf Source6: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Light.ttf Source7: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-LightItalic.ttf Source8: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-Thin.ttf Source9: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/RobotoMono-ThinItalic.ttf Source10: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotomono/LICENSE.txt Source11: %{fontname}-fontconfig.conf Source12: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel %description Roboto Mono is a monospaced addition to the Roboto type family. Like the other members of the Roboto family, the fonts are optimized for readability on screens across a wide variety of devices and reading environments. While the monospaced version is related to its variable width cousin, it doesn't hesitate to change forms to better fit the constraints of a monospaced environment. For example, narrow glyphs like 'I', 'l' and 'i' have added serifs for more even texture while wider glyphs are adjusted for weight. Curved caps like 'C' and 'O' take on the straighter sides from Roboto Condensed. %prep cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . cp -p %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} . cp -p %{SOURCE10} %{SOURCE11} %{SOURCE12} . %build # nothing to build here %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p RobotoMono-*.ttf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE11} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-fontconfig.conf ln -s %{_fontconfig_templatedir}/%{fontconf}-fontconfig.conf \ %{buildroot}%{_fontconfig_confdir}/%{fontconf}-fontconfig.conf install -m 0755 -d %{buildroot}%{_metainfodir} install -m 0644 -p %{SOURCE12} %{buildroot}%{_metainfodir} %_font_pkg -f %{fontconf}-fontconfig.conf RobotoMono-*.ttf %{_metainfodir}/%{fontname}.metainfo.xml %license LICENSE.txt %changelog * Tue Jan 26 2021 Fedora Release Engineering - 2.002-0.3.20200129git - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.002-0.2.20200129git - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Link Dupont - 2.002-0.1.20200129git - New upstream version * Fri Jul 13 2018 Fedora Release Engineering - 2.000986-0.6.20150923git - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.000986-0.5.20150923git - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.000986-0.4.20150923git - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.000986-0.3.20150923git - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 2.000986-0.2.20150923git - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Sep 23 2015 Parag Nemade - 2.000986-0.1.20150923git - Initial package