%global debug_package %{nil} Name: starship Version: 1.19.0 Release: 2%{?dist} Summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell! License: ISC or MIT URL: https://github.com/starship/%{name} Source: https://github.com/starship/%{name}/archive/refs/tags/v%{version}.tar.gz BuildRequires: cmake BuildRequires: cargo BuildRequires: rust %description The minimal, blazing-fast, and infinitely customizable prompt for any shell! - Fast: it's fast – really really fast! 🚀 - Customizable: configure every aspect of your prompt. - Universal: works on any shell, on any operating system. - Intelligent: shows relevant information at a glance. - Feature rich: support for all your favorite tools. - Easy: quick to install – start using it in minutes. %prep %autosetup -n %{name}-%{version} %build cargo build --release --locked %install install -Dpm 0755 target/release/%{name} -t %{buildroot}%{_bindir}/ %files %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/%{name} %changelog * Tue Jun 18 2024 Andrey Brusnik - 1.19.0-2 - refactor: Make RPM specs cleaner * Sat Jun 08 2024 Andrey Brusnik - 1.19.0-1 - Initial commit