SHA256
1
0
forked from pool/nvtop
nvtop/nvtop.spec
Michael Vetter 642a87d791 Accepting request 1033887 from home:malcolmlewis:branches:utilities
- Update to version 3.0.1:
  * Don't overwrite usage for graphics+compute processes.
  * Expose processes that are both graphical and compute.
  * Fix nvtop process hiding.
  * Move misplaced assertion.
- Changes from version 3.0.0:
  * Update documentation.
  * Option to hide nvtop from the process list.
  * Clang-format all.
- Changes from 2.0.3+4:
  * Option to toggle startup messages.
  * Don't print the infos to stdout.
  * Fix spacing.
  * Save message option and fix multidevice save.
  * Support info window.
  * Support info messages.
  * Save monitored gpus to config.
  * Setup window to select gpus.
  * Dynamic gpu monitored list.
  * Rework interface for gpu select option.
  * Remove GPU mask option.
  * Extract pdev for all devices.
  * Fix for libudev wrapper.
  * Readme update for Intel support.
  * Don't need device discovery for NVIDIA only.
  * Fix FindUDev and FindSystemd for older cmake.
  * Show intel ENC/DEC together.
  * Fix integrated AMDGPU drm and fdinfo usage mismatch.
  * Fix macro extra arguments.
  * Mark AMDGPU integrated gpu as such.
  * Fix amdgpu null pointer deref.
  * Fix intel and integrated GPU support.
  * Use device discovery for Intel.
  * Use device discovery for AMDGPU.
  * Udev/sd-device wrapper.
  * Fix intel support.
  * Preliminary Intel support.
  * nvtop metainfo file.
  * Auto date for manpage.
  * Nvtop logo.
  * add process-control plug to allow killing processes.
  * Guard against huge jump in usage.
  * Uint64 literals.
  * Guard against suspect values reported by fdinfo.
  * Better validity macros.
  * Mark valid AMDGPU cache entries.
  * AMDGPU compute process support.
  * Add desktop file.
  * Code reorganization to sweep /proc once per update.

OBS-URL: https://build.opensuse.org/request/show/1033887
OBS-URL: https://build.opensuse.org/package/show/utilities/nvtop?expand=0&rev=3
2022-11-09 13:21:50 +00:00

63 lines
1.8 KiB
RPMSpec

#
# spec file for package nvtop
#
# Copyright (c) 2020-2022 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 http://bugs.opensuse.org/
#
Name: nvtop
Version: 3.0.1
Release: 0
License: GPL-3.0+
Summary: A (h)top like task monitor for NVIDIA and AMD GPUs
Url: https://github.com/Syllo/nvtop
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
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 %{?_smp_mflags}
%install
%cmake_install
%suse_update_desktop_file %{name}
%files
%license COPYING
%{_bindir}/nvtop
%{_datadir}/applications/nvtop.desktop
%{_datadir}/icons/nvtop.svg
%{_mandir}/man1/nvtop.1%{?ext_man}
%{_datadir}/metainfo/nvtop.metainfo.xml
%changelog