# SPDX-License-Identifier: MIT Version: 2.000 Release: 9%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt documentation/*.txt documentation/*.odt %global fontdocsex %{fontlicenses} %global fontfamily Tagmukay %global fontsummary Tagmukay, a Shifinagh font that supports the Tawallammat dialect of Tamajaq %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 %{SOURCE1} %global fontdescription %{expand: Tagmukay is a Shifinagh script font with support for the Tawallammat Tamajaq language. The script name is more commonly spelled Tifinagh, but Shifinagh is the preferred spelling in the region where Tawallammat Tamajaq is spoken. Tawallammat Tamajaq, when written in the Shifinagh script, follows the traditional โ€œconsonant onlyโ€ way of writing this ancient script. The Tagmukay font family has these consonants and also the logic needed to form the bi-consonant ligatures needed to distinguish between vocalic and non-vocalic consonant clusters.} %fontpkg %sourcelist https://github.com/silnrsi/font-%{projectname}/releases/download/v%{version}/%{archivename}.tar.xz 65-%{fontname}.xml %prep %setup -q -n %{archivename} %linuxtext *.txt documentation/*.txt chmod 644 %{fontdocs} %{fontlicenses} %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog * Sat May 30 2020 Nicolas Mailhot - 2.000-9 ๐Ÿš’ Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 2.000-8 ๐Ÿ†• Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 2.000-7 ๐Ÿž Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 2.000-6 ๐Ÿ’ฅ Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 2.000-5 ๐Ÿ‘ป Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 2.000-4 โœ… Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 2.000-3 โœ… Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 2.000-1 โœ… Initial packaging