Name: yaft Version: 0.2.9 Release: 2%{?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 # DRM backend patches for modern kernels without CONFIG_FB_DEVICE 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, enabling it to work 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}" %make_build yaft %make_build yaft-drm %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-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