# SPDX-License-Identifier: MIT %global source_version 2.07 %global source_release 12 %global forge_url https://github.com/weiweihuanghuang/Work-Sans %global forge_commit dcd044c29b6f92f101a94777f744fa0f051da14b %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 %auto_sources 58-%{fonts_name}.xml %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 * Sat May 30 2020 Nicolas Mailhot - 2.07-12.20200215gitdcd044c πŸš’ Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 2.07-11.20200215gitdcd044c πŸ†• Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 2.07-10.20200215gitdcd044c 🐞 Workaround Fedora problems created by rpm forge_commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 2.07-9.20200215gitdcd044c πŸ’₯ Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 2.07-8.20200215gitdcd044c πŸ‘» Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Wed Mar 11 2020 Nicolas Mailhot - 2.07-7 βœ… Rebuild to workaround broken F31 build * 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