# SPDX-License-Identifier: MIT %global project_name gentium %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 documentation/*.txt documentation/*.odt %global default_fonts_docs_exclude %{default_fonts_licenses} %global fonts_family Gentium Plus Compact %global fonts_summary Gentium Plus Compact, a Latin/Greek/Cyrillic font family %global fonts_tags %{expand: Suggests: font(gentium) } %global fonts_fonts *.ttf %global fonts_experimental_confs 61-%{fonts_name}.xml %global fonts_description %{expand: Gentium is a font family designed to enable the diverse ethnic groups around the world who use the Latin, Cyrillic and Greek scripts to produce readable, high-quality publications. Gentium was a winner of the TDC2003 Type Design Competition and was exhibited as part of the bukva:raz! exhibit at the UN Headquarters Main Lobby, 17 Jan – 13 Feb, 2002. The Gentium Plus Compact font family was derived from Gentium Plus using SIL TypeTuner, by setting the “Line spacing” feature to “Tight”, and it cannot be TypeTuned again. It may exhibit some diacritics clipping on screen (but should print fine).} %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 documentation/*.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 * Sat Feb 22 2020 Nicolas Mailhot - 5.000-3 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 5.000-1 ✅ Initial packaging