# SPDX-License-Identifier: MIT Version: 1.0 Release: 8%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt %global fontdocsex %{fontlicenses} %global fontfamily Sophia Nubian %global fontsummary Sophia Nubian, a font family for Nubian languages which use the Coptic script %global projectname %{lua:t=string.gsub(rpm.expand("%{fontfamily}"), " SIL$", ""); t=string.gsub(t, "[%p%s]+", ""); print(string.lower(t))} %global archivename SN%{version} URL: https://software.sil.org/%{projectname}/ %global fonts *.ttf %global fontconfngs %{SOURCE1} %global fontdescription %{expand: Sophia Nubian is a sans serif font family based on SIL Sophia. Its primary purpose is to provide adequate representation for Nubian languages which use the Coptic script. Since Nubian languages do not use casing, uppercase characters are not included in this font. A basic set of Latin glyphs is also provided.} %fontpkg %sourcelist https://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=%{archivename}.zip&filename=%{archivename}.zip#/%{archivename}.zip 65-%{fontname}.xml %prep %setup -q -c -T unzip -j -q %{SOURCE0} %linuxtext *.txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog * Sat May 30 2020 Nicolas Mailhot - 1.0-8 🚒 Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 1.0-7 🆕 Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 1.0-6 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 1.0-5 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 1.0-4 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Sat Feb 22 2020 Nicolas Mailhot - 1.0-3 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 1.0-1 ✅ Initial packaging