[packages/nvtop] new

atler atler at pld-linux.org
Tue Apr 7 14:18:08 CEST 2026


commit d086edc08539a4eb0eef3bad60e770c2eaa3d03e
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 7 14:17:41 2026 +0200

    new

 nvtop.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/nvtop.spec b/nvtop.spec
new file mode 100644
index 0000000..178e67c
--- /dev/null
+++ b/nvtop.spec
@@ -0,0 +1,54 @@
+Summary:	GPU & Accelerator process monitoring
+Name:		nvtop
+Version:	3.3.2
+Release:	1
+License:	GPL v3+
+Group:		Applications/System
+Source0:	https://github.com/Syllo/nvtop/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	e0d26fe977ecd90fc88afbbdfa8eb572
+URL:		https://nvtop.org/
+BuildRequires:	cmake >= 3.18
+BuildRequires:	libdrm-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	ncurses-devel
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRequires:	systemd-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+NVTOP stands for Neat Videocard TOP, a (h)top like task monitor for
+GPUs and accelerators. It can handle multiple GPUs and print
+information about them in a htop-familiar way.
+
+Currently supported vendors are AMD (Linux amdgpu driver), Apple
+(limited M1 & M2 support), Huawei (Ascend), Intel (Linux i915/Xe
+drivers), NVIDIA (Linux proprietary divers), Qualcomm Adreno (Linux
+MSM driver), Broadcom VideoCore (Linux v3d driver), Rockchip, MetaX
+(MXSML driver), Enflame (Linux EFML driver).
+
+%prep
+%setup -q
+
+%build
+%cmake -B build
+
+%{__make} -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.markdown
+%attr(755,root,root) %{_bindir}/nvtop
+%{_mandir}/man1/nvtop.1*
+%{_desktopdir}/nvtop.desktop
+%{_iconsdir}/hicolor/scalable/apps/nvtop.svg
+%{_datadir}/metainfo/io.github.syllo.nvtop.metainfo.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nvtop.git/commitdiff/d086edc08539a4eb0eef3bad60e770c2eaa3d03e



More information about the pld-cvs-commit mailing list