%global git_date 20250313 %global git_hash 3ad8132f %global git_ver 0.20.24 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: eza Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: a modern alternative for `ls` License: EUPL-1.2 URL: https://github.com/eza-community/eza Source: %{url}/%{src_name} BuildRequires: make cmake cargo rustc %description **eza** is a modern alternative for the venerable file-listing command-line program `ls` that ships with Unix and Linux operating systems, giving it more features and better defaults. It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git. And it’s **small**, **fast**, and just **one single binary**. By deliberately making some decisions differently, eza attempts to be a more featureful, more user-friendly version of `ls`. %prep %autosetup -n %{name} %build cargo build --release %install install -p -D -m755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %files %doc README.md %license LICENSE.txt %{_bindir}/%{name} %changelog %autochangelog