# 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 5.000 %global source_release 8 %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 %global default_fonts_docs_exclude %{default_fonts_licenses} %global fonts_family Andika %global fonts_summary SIL Andika, a font family for literacy and beginning readers %global fonts_tags %{expand: Suggests: font(andikanewbasic) } %global fonts_fonts *.ttf %global fonts_experimental_confs 61-%{fonts_name}.xml %global fonts_description %{expand: Andika is a sans serif, Unicode-compliant font family designed especially for literacy use, taking into account the needs of beginning readers. The focus is on clear, easy-to-perceive letter-forms that will not be readily confused with one another. A sans serif font is preferred by some literacy personnel for teaching people to read. Its forms are simpler and less cluttered than those of most serif fonts. For years, literacy workers have had to make do with font families that were not really suitable for beginning readers and writers. In some cases, literacy specialists have had to tediously assemble letters from a variety of font families in order to get all of the characters they need for their particular language project, resulting in confusing and unattractive publications. Andika addresses those issues.} %auto_init %auto_pkg %sourcelist https://software.sil.org/downloads/r/%{project_name}/%{archive_name}.zip 61-%{fonts_name}.xml %prep %auto_prep %setup -q -n %{archive_name} install -m 644 %{_sourcedir}/*xml . %linuxtext *.txt %build %auto_build %install %auto_install %check %auto_check %auto_files %changelog * Sat May 30 2020 Nicolas Mailhot - 5.000-8 🚒 Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 5.000-7 🆕 Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 5.000-6 🐞 Workaround Fedora problems created by rpm forge_commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 5.000-5 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 5.000-4 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 5.000-3 ✅ Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 5.000-2 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 5.000-1 ✅ Convert to fonts-rpm-macros use * Tue Jun 24 2008 Nicolas Mailhot - 1.0-1 ✅ Initial packaging