# SPDX-License-Identifier: MIT %global project_name %{lua:t=string.gsub(rpm.expand("%{fonts_family}"), " SIL$", ""); t=string.gsub(t, "[%p%s]+", ""); print(string.lower(t))} %global archive_name SN%{version} %global source_version 1.0 %global source_release 8 %global source_url https://software.sil.org/%{project_name}/ %global default_fonts_foundry SIL %global default_fonts_license OFL %global default_fonts_licenses OFL.txt %global default_fonts_docs *.txt %global default_fonts_docs_exclude %{default_fonts_licenses} %global fonts_family Sophia Nubian %global fonts_summary Sophia Nubian, a font family for Nubian languages which use the Coptic script %global fonts_fonts *.ttf %global fonts_experimental_confs 65-%{fonts_name}.xml %global fonts_description %{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.} %auto_init %auto_pkg %sourcelist https://scripts.sil.org/cms/scripts/render_download.php?format=file&media_id=%{archive_name}.zip&filename=%{archive_name}.zip#/%{archive_name}.zip 65-%{fonts_name}.xml %prep %auto_prep %setup -q -c -T unzip -j -q %{_sourcedir}/%{archive_name}.zip install -m 644 %{_sourcedir}/*xml . %linuxtext *.txt %build %auto_build %install %auto_install %check %auto_check %auto_files %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 forge_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