1 Star 0 Fork 0

wyxaihjr/btop1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
btop.spec 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
wyxaihjr 提交于 2024-02-21 11:09 . init btop
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wyxaihjr/btop.git
git@gitee.com:wyxaihjr/btop.git
wyxaihjr
btop
btop1
master

搜索帮助