Name: rat-commander Version: 1.7.6 Release: 1%{?dist} Summary: A modern terminal file manager inspired by Norton Commander License: GPL-2.0-only URL: https://github.com/dividebysandwich/rat-commander Source0: https://github.com/dividebysandwich/rat-commander/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo BuildRequires: rust >= 1.85 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: make BuildRequires: pkgconfig %description Rat Commander is a self-contained terminal file manager inspired by Norton Commander and Midnight Commander. It provides a two-panel interface with built-in file viewing and editing, archive handling, FTP/SFTP/SCP support, Git integration, disk and process explorers, file comparison, directory synchronization, checksumming, terminal graphics and other utilities. The installed executable is named rc. %prep %autosetup -n rat-commander-%{version} %build cargo build --release --locked %install install -Dpm0755 target/release/rc \ %{buildroot}%{_bindir}/rc %files %license LICENSE %doc README.md %{_bindir}/rc %changelog * Mon Sep 14 2026 Rat Commander COPR Maintainer - 1.7.6-1 - Initial RPM package