Name: yaft Version: 0.2.9 Release: 3%{?dist} Summary: Yet another framebuffer terminal with Sixel graphics support License: MIT URL: https://github.com/uobikiemukot/yaft Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: yaft-meslo-nerd-glyph.h # DRM backend, mouse support, true color, Nerd Font, crash handlers Patch0: yaft-drm-backend.patch BuildRequires: gcc BuildRequires: make BuildRequires: ncurses BuildRequires: pkgconfig(libdrm) %description yaft is a simple terminal emulator for the Linux framebuffer console. It supports UTF-8, 256 colors, Sixel graphics, and DRCS (dynamically redefinable character sets). No X11 or Wayland required. The yaft-drm variant uses the DRM/KMS API instead of the legacy /dev/fb0 device, with built-in mouse support via /dev/input/mice, arrow cursor, true color approximation, MesloLGL Nerd Font, and configurable resolution. Works on modern kernels (Fedora 43+, RHEL 10+) where CONFIG_FB_DEVICE is disabled. %prep %setup -q -n %{name}-%{version} patch -p1 < %{PATCH0} %build export CFLAGS="%{optflags}" # Build legacy fbdev version with default font %make_build yaft # Build DRM version with Nerd Font cp %{SOURCE1} glyph.h cc -o yaft-drm yaft.c %{optflags} -DUSE_DRM $(pkg-config --cflags libdrm) $(pkg-config --libs libdrm) %install %make_install PREFIX=%{buildroot}%{_prefix} MANPREFIX=%{buildroot}%{_mandir} install -m755 yaft-drm %{buildroot}%{_bindir}/yaft-drm %files %license LICENSE %doc README.md ChangeLog %{_bindir}/yaft %{_bindir}/yaft-drm %{_bindir}/yaft_wall %{_mandir}/man1/yaft.1* %{_datadir}/terminfo/y/yaft* %changelog * Tue Apr 29 2026 Greg Procunier - 0.2.9-3 - DRM/KMS backend with mouse, true color, Nerd Font, crash recovery - Built-in /dev/input/mice mouse with arrow cursor overlay - True color (24-bit RGB) to 256-color approximation - MesloLGL Nerd Font Mono baked into yaft-drm - Configurable resolution via --res WxH and ~/.yaft-drm.conf - Suppress DA response to prevent tmux escape leaks - Clean exit with CRTC restore and VT switch recovery - Mouse reporting gated on app enable (no shell escape code spam) * Tue Apr 29 2026 Greg Procunier - 0.2.9-2 - Add DRM/KMS backend (yaft-drm) for kernels without CONFIG_FB_DEVICE * Tue Apr 28 2026 Greg Procunier - 0.2.9-1 - Initial RPM package