# SPDX-License-Identifier: MIT Version: 1.001 Release: 11%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt documentation/*.txt documentation/*.odt %global fontdocsex %{fontlicenses} %global fontfamily Harmattan %global fontsummary Harmattan, a Warsh-style Arabic script font family %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 fontpkgheader %{expand: # We blacklist the Andika subset in Harmattan, to use the latest full version Requires: font(andikanewbasic) } %global fonts *.ttf %global fontconfngs %{SOURCE10} %global fontdescription %{expand: Harmattan, named after the trade winds that blow during the dry season in West Africa, is designed in a Warsh style to suit the needs of languages using the Arabic script in West Africa. Because the font style is specifically intended for West Africa, the character set for this font is aimed at West African languages. Thus, Asia-specific glyphs are not included.} Source0: https://software.sil.org/downloads/r/%{projectname}/%{archivename}.zip Source10: 65-%{fontpkgname}.xml %fontpkg %prep %setup -q -n %{archivename} %linuxtext *.txt documentation/*.txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %changelog * Sat Jul 23 2022 Fedora Release Engineering - 1.001-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Feb 24 2022 Akira TAGOH - 1.001-10 - Fix FTBFS * Sat Jan 22 2022 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * 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 - 1.001-5 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 1.001-4 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 1.001-3 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Sat Feb 22 2020 Nicolas Mailhot - 1.001-2 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 1.001-1 ✅ Initial packaging