%global debug_package %{nil} %define _name xdg-ninja Name: xdg-ninja-git Version: 0.2.0.2^20251102gcb09ebd Release: 1%{?dist} Summary: A shell script which checks your $HOME for unwanted files and directories. License: MIT URL: https://github.com/b3nj5m1n/xdg-ninja Source: %{url}/archive/refs/heads/main.zip BuildRequires: make Requires: jq Requires: findutils Requires: glow %description When xdg-ninja encounters a file or directory it knows about, it will tell you whether it's possible to move it to the appropriate location, and how to do it. The configurations are from the arch wiki page on XDG_BASE_DIR, antidot (thanks to Scr0nch for writing a conversion tool), and crowdsourced by other users. %prep %autosetup -n %{_name}-main %build # Nothing to build %install %make_install DESTDIR=%{buildroot} PREFIX=%{_prefix} %files %{_docdir}/%{_name}/LICENSE %{_docdir}/%{_name}/README.md %{_bindir}/%{_name} %{_datadir}/%{_name}/programs/*.json %{_mandir}/man1/%{_name}.1.gz %changelog %autochangelog