# SPDX-License-Identifier: MIT Version: 5.000 Release: 17%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt %global fontdocsex %{fontlicenses} %global fontfamily Charis SIL %global fontsummary Charis SIL, a font family similar to Bitstream Charter %global projectname %{lua:t=string.gsub(rpm.expand("%{fontfamily}"), " SIL$", ""); t=string.gsub(t, "[%p%s]+", ""); print(string.lower(t))} %global archivename %{lua:t=string.gsub(rpm.expand("%{fontfamily}"), "[%p%s]+", ""); print(t)}-%{version} URL: https://software.sil.org/%{projectname}/ %global fonts *.ttf %global fontconfngs %{SOURCE10} %global fontdescription %{expand: Charis SIL provides glyphs for a wide range of Latin and Cyrillic characters. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles — regular, italic, bold, bold italic — and so is more useful in general publishing than Doulos SIL. Charis is a serif proportionally spaced font optimized for readability in long printed documents.} %fontmeta %global source_files %{expand: Source0: https://software.sil.org/downloads/r/%{projectname}/%{archivename}.zip Source10: 60-%{fontpkgname}.xml } %fontpkg %prep %setup -q -n %{archivename} %linuxtext *.txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog * Wed Jan 27 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 27 2020 Nicolas Mailhot - 5.000-15 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 5.000-14 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 5.000-13 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Sat Feb 22 2020 Nicolas Mailhot - 5.000-12 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 5.000-11 ✅ Convert to fonts-rpm-macros use * Sat Feb 18 2006 Roozbeh Pournader - 4.0.02-1 ✅ Initial packaging, based on gentium-fonts