代码拉取完成,页面将自动刷新
Name: btop
Version: 1.3.0
Release: 1
Summary: Modern and colorful command line resource monitor that shows usage and stats
License: Apache-2.0 and MIT and Public Domain
URL: https://github.com/aristocratos/btop
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: make
%if 0%{?el8} || 0%{?el9}
BuildRequires: gcc-toolset-12-gcc-c++
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
BuildRequires: gcc-toolset-12-binutils
%endif
%if 0%{?fedora}
BuildRequires: rocm-smi-devel
%endif
Requires: hicolor-icon-theme
Provides: bundled(widecharwidth)
Provides: bundled(robin-hood-hashing) = 3.11.5
%description
Resource monitor that shows usage and stats for processor,
memory, disks, network and processes.
C++ version and continuation of bashtop and bpytop.
%prep
%autosetup
%build
%{?el8:. /opt/rh/gcc-toolset-12/enable}
%{?el9:. /opt/rh/gcc-toolset-12/enable}
export CXXFLAGS="${CXXFLAGS} -g"
%make_build
%install
%make_install PREFIX=%{_prefix}
rm -f %{buildroot}%{_datadir}/btop/README.md
desktop-file-validate %{buildroot}%{_datadir}/applications/btop.desktop
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/%{name}
%{_datadir}/applications/btop.desktop
%{_datadir}/btop
%{_datadir}/icons/hicolor/*/apps/btop.*
%changelog
* Tue Feb 20 2024 wyxhjr <yuexiang.oerv@isrc.iscas.ac.cn> - 1.3.0-1
- Init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。