File tmprs.spec of Package tmprs
Name: tmprs
Version: 0.1.1
Release: 1%{?dist}
Summary: Terminal Music Player
License: MIT
URL: https://github.com/AuraPy/tmprs
Source: %{name}-%{version}.tar.gz
BuildRequires: cargo
BuildRequires: cargo-packaging
%description
A Terminal-based Music Player written in Rust
%prep
%setup -q -n tmprs
%build
%(cargo_build)
%install
mkdir -p %{buildroot}/%{_bindir}
cp ./target/release/tmprs %{buildroot}/%{_bindir}/
%files
%defattr(-,root,root,-)
%doc README.md
%{_bindir}/*
%license LICENSE
%changelog