# SPDX-License-Identifier: MIT Version: 2.600 Release: 9%{?dist} %global foundry SIL %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt %global fontdocsex %{fontlicenses} %global fontfamily Tai Heritage Pro %global fontsummary Tai Heritage Pro, a traditional style Tai Viet 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/taiheritage/ %global fonts *.ttf %global fontconfngs %{SOURCE1} %global fontdescription %{expand: The Tai people of northwestern Vietnam and surrounding areas have a long tradition of literacy in the Tai Viet script. Tai Heritage Pro reflects the traditional style of this script.} %fontpkg %docpkg %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 documentation/developer/*txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %files doc %defattr(644, root, root, 0755) %license OFL.txt %doc documentation %changelog * Sat May 30 2020 Nicolas Mailhot - 2.600-9 🚒 Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 2.600-8 🆕 Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 2.600-7 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 2.600-6 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 2.600-5 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 2.600-4 ✅ Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 2.600-3 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 2.600-1 ✅ Initial packaging