# 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 %{lua:t=string.gsub(rpm.expand("%{fonts_family}"), "[%p%s]+", ""); print(t)}-%{version} %global source_version 2.000 %global source_release 9 %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 documentation/*.txt documentation/*.odt %global default_fonts_docs_exclude %{default_fonts_licenses} %global fonts_family Tagmukay %global fonts_summary Tagmukay, a Shifinagh font that supports the Tawallammat dialect of Tamajaq %global fonts_fonts *.ttf %global fonts_experimental_confs 65-%{fonts_name}.xml %global fonts_description %{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.} %auto_init %auto_pkg %sourcelist https://github.com/silnrsi/font-%{project_name}/releases/download/v%{version}/%{archive_name}.tar.xz 65-%{fonts_name}.xml %auto_sources %prep %auto_prep %setup -q -n %{archive_name} install -m 644 %{_sourcedir}/*xml . %linuxtext *.txt documentation/*.txt chmod 644 %{fonts_docs} %{fonts_licenses} %build %auto_build %install %auto_install %check %auto_check %auto_files %changelog %auto_changelog