# Implex Mono: IBM Plex Mono patched with the Nerd Fonts glyphs (powerline separators, file # and language icons) for prompts like Starship. ArcOS's terminal and default monospace font. # Built from Fedora's ibm-plex-mono-fonts. "Plex" is a Reserved Font Name under IBM Plex's # OFL, so the patched family gets its own name instead of the patcher's "BlexMono Nerd Font". %global nerd_version 3.5.1 %global plex_dir %{_fontbasedir}/ibm-plex-mono-fonts Name: implex-mono-fonts Version: %{nerd_version} Release: 1%{?dist} Summary: Implex Mono, IBM Plex Mono with Nerd Fonts glyphs # IBM Plex Mono: OFL-1.1. The added glyph sets (see nerd-fonts/src/glyphs/README.md): # OFL-1.1, MIT, CC-BY-4.0 (Codicons, Font Awesome), Apache-2.0 (Material Design) and # Unlicense (Font Logos). License: OFL-1.1 AND MIT AND CC-BY-4.0 AND Apache-2.0 AND Unlicense URL: https://github.com/ryanoasis/nerd-fonts Source0: %{url}/releases/download/v%{nerd_version}/FontPatcher.zip#/nerd-fonts-FontPatcher-%{nerd_version}.zip BuildArch: noarch BuildRequires: fonts-rpm-macros BuildRequires: unzip BuildRequires: fontforge BuildRequires: python3-fontforge BuildRequires: ibm-plex-mono-fonts %description IBM Plex Mono patched with the Nerd Fonts glyph set (powerline symbols, devicons, Font Awesome, Material Design icons, ...), as the family "Implex Mono". %prep %setup -q -c -T mkdir nerd-fonts nerd-licenses unzip -q %{SOURCE0} -d nerd-fonts for f in nerd-fonts/src/glyphs/*/LICENSE*; do set=${f%/*} cp -p "${f}" "nerd-licenses/${set##*/}-${f##*/}" done cp -p nerd-fonts/src/glyphs/README.md nerd-licenses/glyph-sets.md cp -p %{_datadir}/licenses/ibm-plex-mono-fonts/license.txt OFL.txt %build for otf in %{plex_dir}/IBMPlexMono-*.otf; do style=${otf##*/IBMPlexMono-} fontforge -quiet -script nerd-fonts/font-patcher --complete --no-progressbars \ --name "ImplexMono-${style%.otf}" --outputdir nerd "${otf}" done %install install -Dpm 0644 -t %{buildroot}%{_fontbasedir}/implex-mono nerd/*.otf %files %license OFL.txt nerd-licenses/* %{_fontbasedir}/implex-mono/ %changelog * Tue Oct 20 2026 Christoph Pracht - 3.5.1-1 - Initial package