[packages/fonts-TTF-Roboto] new package

jajcus jajcus at pld-linux.org
Sun Oct 9 17:36:12 CEST 2016


commit 75c5ae2b3c4193c2dd29c80239465007f65635a2
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sun Oct 9 17:35:52 2016 +0200

    new package

 fonts-TTF-Roboto.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/fonts-TTF-Roboto.spec b/fonts-TTF-Roboto.spec
new file mode 100644
index 0000000..786cc9c
--- /dev/null
+++ b/fonts-TTF-Roboto.spec
@@ -0,0 +1,42 @@
+Summary:	The Roboto family of fonts
+Name:		fonts-TTF-Roboto
+Version:	2.134
+Release:	1
+License:	Apache
+Group:		Fonts
+Source0:	https://github.com/google/roboto/releases/download/v2.134/roboto-unhinted.zip
+# Source0-md5:	308966fb7e6d65254c52ff721c8e5c21
+URL:		https://github.com/google/roboto/
+BuildRequires:	unzip
+Requires(post,postun):	fontpostinst
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		ttffontsdir	%{_fontsdir}/TTF
+
+%description
+Roboto: Google’s signature family of fonts, the default font on
+Android and Chrome OS, and the recommended font for Google’s visual
+language, Material Design.
+
+%prep
+%setup -q -n roboto-unhinted
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ttffontsdir}
+
+cp -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%{ttffontsdir}/Roboto*.ttf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-Roboto.git/commitdiff/75c5ae2b3c4193c2dd29c80239465007f65635a2



More information about the pld-cvs-commit mailing list