Files
packages/anda/rust/bandwhich/rust-bandwhich.spec
T
madomado 6acd48643b chore: sync with Terra 38 (#598)
* chore: sync with Terra 38

* bump: libappimage

* fix(ci): add lint and `dnf in` tests

* fix(ci): bump commit-comment to @v2

Signed-off-by: madomado <wboy111@outlook.com>

---------

Signed-off-by: madomado <wboy111@outlook.com>
2023-06-20 14:23:29 -07:00

53 lines
1.1 KiB
RPMSpec

# Generated by rust2rpm 23
%global crate bandwhich
Name: rust-bandwhich
Version: 0.20.0
Release: %autorelease
Summary: Show network utilization by process/connection/hostname/IP
License: MIT
URL: https://crates.io/crates/bandwhich
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: bandwhich-fix-metadata-auto.diff
BuildRequires: anda-srpm-macros rust-packaging >= 21
%global _description %{expand:
Display current network utilization by process, connection and remote
IP/hostname.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE.md
%doc CHANGELOG.md
%doc CODE_OF_CONDUCT.md
%doc CONTRIBUTING.md
%doc README.md
%{_bindir}/bandwhich
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep_online
%build
%cargo_build
%install
%cargo_install
rm %{buildroot}/.cargo -rf
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog