1 |
%global commit0 90abd17b4f97671435798b6147b698aa9087612f |
2 |
|
3 |
Version: 1.100263 |
4 |
Release: %mkrel 0.17.20150923git.1 |
5 |
URL: https://www.google.com/fonts/specimen/Roboto+Slab |
6 |
Group: System/Fonts/True type |
7 |
|
8 |
%global foundry google |
9 |
%global fontlicense ASL 2.0 |
10 |
%global fontlicenses LICENSE.txt |
11 |
|
12 |
%global fontfamily Roboto Slab |
13 |
%global fontsummary Google Roboto Slab fonts |
14 |
%global fonts *.ttf |
15 |
%global fontconfs %{SOURCE5} |
16 |
%global fontdescription %{expand: |
17 |
Roboto has a dual nature. It has a mechanical skeleton and the forms are |
18 |
largely geometric. At the same time, the font features friendly and open |
19 |
curves. While some grotesks distort their letterforms to force a rigid |
20 |
rhythm, Roboto doesn't compromise, allowing letters to be settled into |
21 |
their natural width. This makes for a more natural reading rhythm more |
22 |
commonly found in humanist and serif types. |
23 |
|
24 |
This is the Roboto Slab family, which can be used alongside the normal |
25 |
Roboto family and the Roboto Condensed family.} |
26 |
|
27 |
# There are no tar archive so let's pick all the individual source files from github |
28 |
Source0: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Regular.ttf |
29 |
Source1: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Bold.ttf |
30 |
Source2: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Light.ttf |
31 |
Source3: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/RobotoSlab-Thin.ttf |
32 |
Source4: https://raw.githubusercontent.com/google/fonts/%{commit0}/apache/robotoslab/LICENSE.txt |
33 |
Source5: 64-%{fontpkgname}.conf |
34 |
|
35 |
%fontpkg |
36 |
|
37 |
%prep |
38 |
%setup -q -c -T |
39 |
cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} . |
40 |
|
41 |
%build |
42 |
%fontbuild |
43 |
|
44 |
%install |
45 |
%fontinstall |
46 |
|
47 |
%check |
48 |
%fontcheck |
49 |
|
50 |
%fontfiles |
51 |
|