]> git.pld-linux.org Git - packages/fonts-TTF-Roboto.git/blob - fonts-TTF-Roboto.spec
new package
[packages/fonts-TTF-Roboto.git] / fonts-TTF-Roboto.spec
1 Summary:        The Roboto family of fonts
2 Name:           fonts-TTF-Roboto
3 Version:        2.134
4 Release:        1
5 License:        Apache
6 Group:          Fonts
7 Source0:        https://github.com/google/roboto/releases/download/v2.134/roboto-unhinted.zip
8 # Source0-md5:  308966fb7e6d65254c52ff721c8e5c21
9 URL:            https://github.com/google/roboto/
10 BuildRequires:  unzip
11 Requires(post,postun):  fontpostinst
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         ttffontsdir     %{_fontsdir}/TTF
16
17 %description
18 Roboto: Google’s signature family of fonts, the default font on
19 Android and Chrome OS, and the recommended font for Google’s visual
20 language, Material Design.
21
22 %prep
23 %setup -q -n roboto-unhinted
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{ttffontsdir}
28
29 cp -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %post
35 fontpostinst TTF
36
37 %postun
38 fontpostinst TTF
39
40 %files
41 %defattr(644,root,root,755)
42 %{ttffontsdir}/Roboto*.ttf
This page took 0.079796 seconds and 4 git commands to generate.