%global debug_package %{nil} Name: trippy Version: 0.12.2 Release: 1%{?dist} Summary: Yet another cross-platform graphical process/system monitor License: Apache URL: https://github.com/fujiapple852/trippy Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cargo BuildRequires: rust %description trippy %prep %autosetup -p1 %build cargo build --locked --release --bin trip %install install -D -m 0755 target/release/trip %{buildroot}%{_bindir}/trip # export CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_OPT_LEVEL=3 # cargo install --root=%{buildroot}%{_prefix} --path=. rm -f %{buildroot}%{_prefix}/.crates.toml \ %{buildroot}%{_prefix}/.crates2.json strip --strip-all %{buildroot}%{_bindir}/* %files %license LICENSE %doc README.md CHANGELOG.md CONTRIBUTING.md %{_bindir}/trip %changelog * Fri Apr 25 2025 Johan Swensson - 0.10.2-1 - new upstream release