Name: kew Version: 4.0.0 Release: 1%{?dist} Summary: A terminal music player for Linux License: GPL-2.0-only URL: https://codeberg.org/ravachol/kew Source0: https://codeberg.org/ravachol/kew/archive/v%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig BuildRequires: taglib-devel BuildRequires: fftw-devel BuildRequires: opus-devel BuildRequires: opusfile-devel BuildRequires: libvorbis-devel BuildRequires: libogg-devel BuildRequires: chafa-devel BuildRequires: freeimage-devel BuildRequires: libnotify-devel BuildRequires: glib2-devel BuildRequires: libatomic # Add: AAC/M4A support via faad2 (auto-detected at build time) BuildRequires: faad2-devel Requires: chafa Requires: libnotify %description kew is a terminal music player that searches your music library by partial title and builds a playlist automatically. It supports MP3, FLAC, AAC/M4A, Opus, OGG, WebM, WAV, and AIFF, with gapless playback, full-color album art in sixel terminals, MPRIS integration, lyrics via .lrc files or embedded tags, replay gain, and a spectrum visualizer. %prep %autosetup -n kew # The Makefile sets file capabilities (cap_sys_nice) for real-time scheduling, # which is not permitted in the COPR build chroot. Remove the setcap call. sed -i '/setcap/d' Makefile %build %make_build PREFIX=%{_prefix} KEW_VERSION=v%{version} %install %make_install PREFIX=%{_prefix} DESTDIR=%{buildroot} %files %license LICENSE %doc README.md %{_bindir}/kew %{_datadir}/kew/ %{_datadir}/locale/*/LC_MESSAGES/kew.mo %{_mandir}/man1/kew.1* %changelog %autochangelog