File bpytop.spec of Package bpytop
#
# spec file for package bpytop
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: bpytop
Version: 1.0.68
Release: 0
Summary: Resource monitor
License: Apache-2.0
URL: https://github.com/aristocratos/bpytop
Source0: https://github.com/aristocratos/bpytop/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix-env-script-interpreter.patch andythe_great@pm.me -- Fix RPMLINT error env-script-interpreter.
Patch0: fix-env-script-interpreter.patch
BuildRequires: python3-devel
Requires: python3-psutil
BuildArch: noarch
%description
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
Python port of bashtop.
%prep
%autosetup -p1
%build
%make_build
%install
%make_install PREFIX=%{_prefix}
rm %{buildroot}%{_datadir}/%{name}/doc/README.md
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/%{name}
%changelog