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