# SPDX-License-Identifier: MIT %global forgeurl https://github.com/JetBrains/JetBrainsMono Version: 2.225 %forgemeta Release: 1%{?dist} URL: https://jetbrains.com/mono/ Source0: %{forgesource} Source10: 60-%{fontpkgname0}.xml Source11: 58-%{fontpkgname1}.xml %global foundry JetBrains %global fontlicense ASL 2.0 %global fontlicenses LICENSE %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/ttf/*ttf %global fontsex0 %{fonts1} %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.} %fontpkg -a %fontmetapkg %prep %forgesetup %build %fontbuild -a %install %fontinstall -a %check %fontcheck -a %fontfiles -a %changelog * Wed Jan 27 2021 ElXreno - 2.225-1 - Update to version 2.225 * Wed Dec 30 06:58:49 +03 2020 ElXreno - 2.221-1 - Update to version 2.221 * Mon Nov 9 20:52:25 +03 2020 ElXreno - 2.210-1 - Update to version 2.210 * Wed Oct 21 23:43:45 +03 2020 ElXreno - 2.200-2 - Fix fonts * Wed Oct 21 23:27:11 +03 2020 ElXreno - 2.200-1 - Update to version 2.200 * Fri Aug 28 2020 ElXreno - 2.002-1 - Update to version 2.002 * Mon Jul 13 2020 ElXreno - 2.001-1 - Update to version 2.001 * Sat Jul 11 2020 ElXreno - 2.000-1 - Update to version 2.000 * 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