From 92bf5819773627ce0e0f0a518cd5b9db5f4180d64d1c08288100d930b1ab1dff Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Wed, 20 Jan 2021 04:15:53 +0000 Subject: [PATCH] Accepting request 864369 from home:thomas-schraitle Create new package for new SUSE's company font OBS-URL: https://build.opensuse.org/request/show/864369 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-poppins-fonts?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + Poppins-4.003.tar.gz | 3 ++ google-poppins-fonts.changes | 4 +++ google-poppins-fonts.spec | 60 ++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Poppins-4.003.tar.gz create mode 100644 google-poppins-fonts.changes create mode 100644 google-poppins-fonts.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Poppins-4.003.tar.gz b/Poppins-4.003.tar.gz new file mode 100644 index 0000000..8b10795 --- /dev/null +++ b/Poppins-4.003.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c9a9ee74709583f89cdd61bc2f3aaa9c3abd9e59bdb3b5a09f48a1dc9b3d01c +size 11703631 diff --git a/google-poppins-fonts.changes b/google-poppins-fonts.changes new file mode 100644 index 0000000..7b4873d --- /dev/null +++ b/google-poppins-fonts.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jan 19 15:36:49 UTC 2021 - Thomas Schraitle - 4.003 + +- Create initial version 4.003 diff --git a/google-poppins-fonts.spec b/google-poppins-fonts.spec new file mode 100644 index 0000000..b824ec2 --- /dev/null +++ b/google-poppins-fonts.spec @@ -0,0 +1,60 @@ +# +# spec file for package google-poppins-fonts +# +# Copyright (c) 2021 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: google-poppins-fonts +License: OFL-1.1 +Group: System/X11/Fonts +PreReq: %suseconfig_fonts_prereq +Version: 4.003 +Release: 1 +URL: https://fonts.google.com/specimen/Poppins +Source0: https://github.com/itfoundry/Poppins/archive/Poppins-%{version}.tar.gz +BuildRequires: fontpackages-devel +BuildRequires: unzip +BuildArchitectures: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: Geometric sans serif typefaces + +%description +Geometric sans serif typefaces have been a popular design tool ever since these actors took to the world’s stage. Poppins is one of the new comers to this long tradition. With support for the Devanagari and Latin writing systems, it is an internationalist take on the genre. + +Many of the Latin glyphs (such as the ampersand) are more constructed and rationalist than is typical. The Devanagari design is particularly new, and is the first ever Devanagari typeface with a range of weights in this genre. Just like the Latin, the Devanagari is based on pure geometry, particularly circles. + +Each letterform is nearly monolinear, with optical corrections applied to stroke joints where necessary to maintain an even typographic color. The Devanagari base character height and the Latin ascender height are equal; Latin capital letters are shorter than the Devanagari characters, and the Latin x-height is set rather high. + +The Devanagari is designed by Ninad Kale. The Latin is by Jonny Pinhorn. + + +%prep +%setup -n Poppins-%{version} +# %%{__unzip} -j %%{S:0} +# %%{__chmod} 644 *.ttf + + +%build +# -- nothing to do -- +ls -l + +%install +install -d %{buildroot}%{_ttfontsdir} +unzip -d %{buildroot}%{_ttfontsdir} \ + products/Poppins-%{version}-GoogleFonts-TTF.zip + +%reconfigure_fonts_scriptlets + +%files +%defattr(-,root,root) +%doc README.md +%license OFL.txt +%dir %{_ttfontsdir} +%{_ttfontsdir}/* + +%changelog +