1
0
forked from pool/btop
btop/btop.spec

54 lines
1.5 KiB
RPMSpec

#
# spec file for package btop
#
# Copyright (c) 2021 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: btop
Version: 1.0.9
Release: 0
Summary: Usage and stats for processor, memory, disks, network and processes
License: Apache-2.0
URL: https://github.com/aristocratos/btop
Source: https://github.com/aristocratos/btop/archive/refs/tags/v%{version}.tar.gz#/v%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: gcc11
BuildRequires: gcc11-c++
BuildRequires: sed
%description
Resource monitor that shows usage and stats for processor, memory, disks, network and processes. C++ version and continuation of bashtop and bpytop.
%prep
%setup -q
%build
%make_build
%install
%make_install PREFIX=/usr
%files
/usr/bin/btop
/usr/share/btop
/usr/share/btop/README.md
/usr/share/btop/themes
/usr/share/btop/themes/*.theme
%license LICENSE
%doc CHANGELOG.md
%changelog