# SPDX-License-Identifier: MIT %global forgeurl https://github.com/JetBrains/JetBrainsMono Version: 2.242 %forgemeta Release: 2%{?dist} URL: https://jetbrains.com/mono/ %global foundry JetBrains %global fontlicense OFL 1.1 %global fontlicenses OFL.txt %global fontdocs *.md %global common_description %{expand: The JetBrains Mono project publishes developer-oriented font families. Their forms are simple and free from unnecessary details. Rendered in small sizes, the text looks crisper. The easier the forms, the faster the eye perceives them and the less effort the brain needs to process them. The shape of ovals approaches that of rectangular symbols. This makes the whole pattern of the text more clear-сut. The outer sides of ovals ensure there are no additional obstacles for your eyes as they scan the text vertically. Characters remain standard in width, but the height of the lowercase is maximized. This approach keeps code lines to the length that developers expect, and it helps improve rendering since each letter occupies more pixels. They use a 9° italic angle; this maintains the optimal contrast to minimize distraction and eye strain. The usual angle is about 11°–12°.} %global fontfamily0 JetBrains Mono %global fontsummary0 A mono-space font family containing coding ligatures %global fontpkgheader0 %{expand: Suggests: font(jetbrainsmononl) } %global fonts0 fonts/otf/*.otf %global fontconfngs0 %{SOURCE10} %global fontdescription0 %{expand: %{common_description} The first font family published by the project, JetBrains Mono, includes coding ligatures. They will enhance the rendering of source code but may be problematic for other use cases.} %global fontfamily1 JetBrains Mono NL %global fontsummary1 A mono-space coding font family %global fonts1 fonts/ttf/*MonoNL*.ttf %global fontconfngs1 %{SOURCE11} %global fontdescription1 %{expand: %{common_description} The second font family published by the project, JetBrains Mono NL, is general purpose and free of coding ligatures.} Source0: %{forgesource} Source10: 60-%{fontpkgname0}.xml Source11: 58-%{fontpkgname1}.xml %fontpkg -a %fontmetapkg %prep %forgesetup %build %fontbuild -a %install %fontinstall -a %check %fontcheck -a %fontfiles -a %changelog * Thu Jul 21 2022 Fedora Release Engineering - 2.242-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Feb 06 2022 Michael Kuhn - 2.242-1 - Update to 2.242 * Thu Jan 20 2022 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 27 2020 Nicolas Mailhot - 1.0.5-1 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 1.0.4-5 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 1.0.4-4 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Wed Mar 11 2020 Nicolas Mailhot - 1.0.4-3 ✅ Addition of JetBrains Mono NL * Mon Mar 02 2020 Nicolas Mailhot - 1.0.3-3 ✅ Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 1.0.3-2 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 1.03-1 ✅ Initial packaging