# SPDX-License-Identifier: MIT Version: 1.200 Release: 13%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt documentation/*.txt %global fontdocsex %{fontlicenses} %global fontfamily Alkalami %global fontsummary A font family for the Arabic scripts of the Kano region of Nigeria and Niger %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 %{SOURCE10} %global fontdescription %{expand: Alkalami is a font family for Arabic-based writing systems in the Kano region of Nigeria and in Niger. This style of writing African Ajami has sometimes been called Sudani Kufi or Rubutun Kano. Alkǎlami (pronounced al-KA-la-mi) is the local word for the Arabic “qalam”, a type of sharpened stick used for writing on wooden boards in the Kano region of Nigeria and in Niger, and what gives the style its distinct appearance. The baseline stroke is very thick and solid. The ascenders and other vertical strokes including the teeth are very narrow when compared to the baseline. A generous line height is necessary to allow for deep swashes and descenders, and the overall look of the page is a very black, solid rectangle. Diacritics are much smaller in scale, with very little distance from the main letters. The Alkalami font supports the characters known to be used by languages written with the Kano style of Arabic script, but may not have the characters needed for other languages.} Source0: https://github.com/silnrsi/font-%{projectname}/releases/download/v%{version}/%{archivename}.tar.xz Source10: 66-%{fontpkgname}.xml %fontpkg %package doc Summary: Optional documentation files of %{name} BuildArch: noarch %description doc This package provides optional documentation files shipped with %{name}. %prep %setup -q -n %{archivename} %linuxtext *.txt documentation/*.txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %files doc %license OFL.txt %doc documentation/*.pdf %changelog * Sat Jul 23 2022 Fedora Release Engineering - 1.200-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 25 2022 Akira TAGOH - 1.200-12 - 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.200-7 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 1.200-6 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 1.200-5 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 1.200-4 ✅ Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 1.200-3 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 1.200-1 ✅ Initial packaging