# SPDX-License-Identifier: MIT %global source_version 2.010 %global source_release 1 %global forge_url https://github.com/weiweihuanghuang/Work-Sans %global forge_commit 6634e7b2395e9dba4ac8611c4529968a9719d606 %global default_fonts_foundry weiweihuanghuang %global default_fonts_license OFL %global default_fonts_licenses OFL.txt %global default_fonts_docs *txt *md %global default_fonts_docs_exclude %{default_fonts_licenses} %global fonts_family Work Sans %global fonts_summary Work Sans, a font family in the early grotesque style %global fonts_fonts fonts/variable/*ttf fonts/static/OTF/*otf %global fonts_experimental_confs 58-%{fonts_name}.xml %global fonts_description %{expand: Work Sans is a font family based loosely on early Grotesques — i.e. Stephenson Blake, Miller & Richard and Bauersche Gießerei. The core of the font family is optimized for on-screen medium-sized text usage, but can still be used in print. The faces at the extreme weights are designed more for display use. Overall, features are simplified and optimized for screen resolutions – for example, diacritic marks are larger than how they would be in print.} %global doc_licenses0 %{default_fonts_licenses} %global doc_docs0 documentation/* %auto_init %auto_pkg %sourcelist 58-%{fonts_name}.xml %auto_sources %prep %auto_prep install -m 644 %{_sourcedir}/*xml . chmod 644 %{fonts_docs} %{fonts_licenses} %build %auto_build %install %auto_install %check %auto_check %auto_files %changelog * Thu Apr 02 2020 Nicolas Mailhot - 2.07-9.20200215gitdcd044c 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 2.07-6 ✅ Lint, lint, lint and lint again * Thu Feb 27 2020 Nicolas Mailhot - 2.07-5 ✅ Fix license processing * Sat Feb 22 2020 Nicolas Mailhot - 2.07-4 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 2.07-1.20191208gitdcd044c ✅ Initial packaging