]>
Commit | Line | Data |
---|---|---|
75c5ae2b | 1 | Summary: The Roboto family of fonts |
9c639157 | 2 | Summary(pl.UTF-8): Rodzina fontów Roboto |
75c5ae2b | 3 | Name: fonts-TTF-Roboto |
4a3629dc | 4 | Version: 2.138 |
75c5ae2b | 5 | Release: 1 |
9c639157 | 6 | License: Apache v2.0 |
75c5ae2b | 7 | Group: Fonts |
9c639157 | 8 | #Source0Download: https://github.com/google/roboto/releases |
f373d47c | 9 | Source0: https://github.com/google/roboto/releases/download/v%{version}/roboto-unhinted.zip?/roboto-unhinted-%{version}.zip |
4a3629dc | 10 | # Source0-md5: 5bf2e05feff2c242a1796557aaec9953 |
75c5ae2b JK |
11 | URL: https://github.com/google/roboto/ |
12 | BuildRequires: unzip | |
13 | Requires(post,postun): fontpostinst | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define ttffontsdir %{_fontsdir}/TTF | |
18 | ||
19 | %description | |
5c600c04 ER |
20 | Roboto: Google's signature family of fonts, the default font on |
21 | Android and Chrome OS, and the recommended font for Google's visual | |
75c5ae2b JK |
22 | language, Material Design. |
23 | ||
9c639157 JB |
24 | %description -l pl.UTF-8 |
25 | Roboto to rodzina fontów firmowana przez Google, domyślny font w | |
26 | systemach Android i Chrome, zalecany font dla języka wizualnego | |
27 | Google'a Material Design. | |
28 | ||
75c5ae2b | 29 | %prep |
4a3629dc | 30 | %setup -qc |
75c5ae2b JK |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{ttffontsdir} | |
35 | ||
36 | cp -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %post | |
42 | fontpostinst TTF | |
43 | ||
44 | %postun | |
45 | fontpostinst TTF | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %{ttffontsdir}/Roboto*.ttf |