Name: btop Version: 1.3.2 Release: 2%{?dist} Summary: Modern and colorful command line resource monitor that shows usage and stats # The entire source code is ASL 2.0 except: # include/robin_hood.h - MIT # include/widechar_width.hpp - Public Domain License: Apache-2.0 AND MIT AND LicenseRef-Fedora-Public-Domain URL: https://github.com/aristocratos/btop Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: make %if 0%{?el8} BuildRequires: gcc-toolset-12-gcc-c++ BuildRequires: gcc-toolset-12-annobin-plugin-gcc BuildRequires: gcc-toolset-12-binutils %endif %if 0%{?el9} BuildRequires: gcc-toolset-13-gcc-c++ BuildRequires: gcc-toolset-13-annobin-plugin-gcc BuildRequires: gcc-toolset-13-binutils %endif # gpu support %if 0%{?fedora} %ifnarch i686 s390x BuildRequires: rocm-smi-devel %endif %endif Requires: hicolor-icon-theme # Bundling was chosen for robin-hood-hashing as it is semi-abandoned # by its developer and other packages are unlikely to need it. # Bundling was chosen for widecharwidth as it is not versioned upstream # and doesn't appear to be a widely-used lib. 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-13/enable} # to build debuginfo 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 * Wed Jul 17 2024 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Feb 12 2024 Jonathan Wright - 1.3.2-1 - update to 1.3.2 rhbz#2263799 * Tue Jan 30 2024 Jonathan Wright - 1.3.0-4 - Fix FTBFS by fixing BR for certain arches - Build EPEL9 with gcc13 * Tue Jan 23 2024 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 08 2024 Jonathan Wright - 1.3.0 - Update to 1.3.0 rhbz#2257235 - Add AMD GPU support * Wed Jul 19 2023 Fedora Release Engineering - 1.2.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 13 2023 Jonathan Wright - 1.2.13-3 - fix ftbfs - update license to SPDX - use latest gcc on el8/el9 - remove - 1.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 08 2022 Jonathan Wright - 1.2.13-1 - update to 1.2.13 (rhbz#2140887) * Mon Oct 10 2022 Jonathan Wright - 1.2.12-1 - update to 1.2.12 (rhbz#2133121) * Mon Aug 29 2022 Jonathan Wright - 1.2.9-1 - update to 1.2.9 - rhbz#2122053 * Wed Jul 20 2022 Fedora Release Engineering - 1.2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Jonathan Wright - 1.2.8-2 - Update spec file to build on epel8 * Thu Jul 14 2022 Jonathan Wright - 1.2.8-1 - Initial version of package