%global commit0 90abd17b4f97671435798b6147b698aa9087612f Version: 1.100263 Release: %mkrel 0.17.20150923git.1 URL: https://www.google.com/fonts/specimen/Roboto+Slab Group: System/Fonts/True type %global foundry google %global fontlicense ASL 2.0 %global fontlicenses LICENSE.txt %global fontfamily Roboto Slab %global fontsummary Google Roboto Slab fonts %global fonts *.ttf %global fontconfs %{SOURCE5} %global fontdescription %{expand: Roboto has a dual nature. It has a mechanical skeleton and the forms are largely geometric. At the same time, the font features friendly and open curves. While some grotesks distort their letterforms to force a rigid rhythm, Roboto doesn't compromise, allowing letters to be settled into their natural width. This makes for a more natural reading rhythm more commonly found in humanist and serif types. This is the Roboto Slab family, which can be used alongside the normal Roboto family and the Roboto Condensed family.} # 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/robotoslab/RobotoSlab-Regular.ttf Source1: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Bold.ttf Source2: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Light.ttf Source3: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Thin.ttf Source4: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/LICENSE.txt Source5: 64-%{fontpkgname}.conf %fontpkg %prep %setup -q -c -T cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles