]>
Commit | Line | Data |
---|---|---|
1 | Summary: The Roboto family of fonts | |
2 | Summary(pl.UTF-8): Rodzina fontów Roboto | |
3 | Name: fonts-TTF-Roboto | |
4 | Version: 2.136 | |
5 | Release: 1 | |
6 | License: Apache v2.0 | |
7 | Group: Fonts | |
8 | #Source0Download: https://github.com/google/roboto/releases | |
9 | Source0: https://github.com/google/roboto/releases/download/v%{version}/roboto-unhinted.zip?/roboto-unhinted-%{version}.zip | |
10 | # Source0-md5: cc3c1a0fa741618283c19fdf987fad95 | |
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 | |
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 | |
22 | language, Material Design. | |
23 | ||
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 | ||
29 | %prep | |
30 | %setup -q -n roboto-unhinted | |
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 |