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
This commit is contained in:
Marguerite Su 2021-01-20 04:15:53 +00:00 committed by Git OBS Bridge
commit 92bf581977
5 changed files with 91 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

BIN
Poppins-4.003.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Jan 19 15:36:49 UTC 2021 - Thomas Schraitle <thomas.schraitle@suse.com> - 4.003
- Create initial version 4.003

60
google-poppins-fonts.spec Normal file
View File

@ -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 worlds 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