forked from pool/nvtop
f91e4fab6b
- Update to version 3.1.0: * MSM: Ignore speedbin in id if exact id isn't found * Add support for Adreno 750 * Fix save w/o config location path * interface_options: handle both XDG_CONFIG_HOME and HOME being unset * Prevent potential Ascend device name buffer overflow * remove temp file * fix issues for PR * Toggle Panfrost's sysfs profiling hook after DRM handle is retrieved * add ascend build script and README * add ascend extract gpu info code * GPU info bar option in F2 menu * Save GPU info bar option to config file * Fix related to pull request #248 * Refactor Panthor and Panfrost into library of shared code * Add support for Mali CSF GPUs with the Panthor driver. * Add Panfrost support for manual calculation of engine utilisation * Add support for post-fdinfo processing calculation of utilisation * Add support for Panfrost display of additional GPU properties * Add display of additional GPU features * Add support for Mali GPUs with the Panfrost driver OBS-URL: https://build.opensuse.org/request/show/1167055 OBS-URL: https://build.opensuse.org/package/show/utilities/nvtop?expand=0&rev=10
66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package nvtop
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2020-2023 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
|
#
|
|
# 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: nvtop
|
|
Version: 3.1.0
|
|
Release: 0
|
|
Summary: A (h)top like task monitor for NVIDIA and AMD GPUs
|
|
License: GPL-3.0-or-later
|
|
URL: https://github.com/Syllo/nvtop
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(libdrm)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(ncurses)
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
%description
|
|
Nvtop stands for NVidia TOP, a (h)top like task monitor for AMD, NVIDIA and
|
|
now Intel GPUs.
|
|
|
|
It can handle multiple GPUs and print information about them in a htop familiar
|
|
way.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%cmake -DCMAKE_BUILD_TYPE=Release \
|
|
-DNVML_RETRIEVE_HEADER_ONLINE=True
|
|
%make_build
|
|
|
|
%install
|
|
%cmake_install
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.markdown
|
|
%{_bindir}/nvtop
|
|
%{_datadir}/applications/nvtop.desktop
|
|
%{_datadir}/icons/nvtop.svg
|
|
%{_mandir}/man1/nvtop.1%{?ext_man}
|
|
%{_datadir}/metainfo/nvtop.metainfo.xml
|
|
|
|
%changelog
|