%global fontconf 10-nerd-font-symbols.conf Name: symbols-nerd-font Summary: Symbols-only font containing the Nerd Font icons Version: 3.4.0 Release: 1%{?dist} License: MIT URL: https://github.com/ryanoasis/nerd-fonts Source0: %{url}/releases/download/v%{version}/NerdFontsSymbolsOnly.tar.xz BuildArch: noarch Requires: fontpackages-filesystem %description This font includes all symbols within the patched-fonts folder and is designed to serve as a fallback option or together with fontconfig, eliminating the need to individually patch each font. %prep %setup -q -c %build %install mkdir -p %{buildroot}%{_fontbasedir}/%{name} mkdir -p %{buildroot}%{_fontconfig_confdir} mkdir -p %{buildroot}%{_fontconfig_templatedir} install -m 0644 -p SymbolsNerdFont*.ttf %{buildroot}%{_fontbasedir}/%{name} install -m 0644 -p %{fontconf} %{buildroot}%{_fontconfig_templatedir} # relative symlink for fontconfig ln -s ../conf.avail/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf} %files %license LICENSE %doc README.md /%{_fontbasedir}/%{name}/SymbolsNerdFont*.ttf /%{_fontconfig_templatedir}/%{fontconf} /%{_fontconfig_confdir}/%{fontconf} %changelog * Sun Aug 31 2025 Roy Bekken - 3.4.0-1 - Initial RPM