Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Squinata:branches:home:ateixeira
amdgpu_top
amdgpu_top.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File amdgpu_top.spec of Package amdgpu_top
# # spec file for package amdgpu_top # # Copyright (c) 2023 SUSE LLC # # 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: amdgpu_top Version: 0.2.1 Release: 0 Summary: Tool that displays AMD GPU utilization License: MIT URL: https://github.com/Umio-Yasuno/amdgpu_top Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst Source2: cargo_config BuildRequires: cargo-packaging BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libdrm_amdgpu) %description Tool that displays AMD GPU utilization %prep # The number passed to -a (a stands for "after") should be equivalent to the Source tag number # of the vendor tarball, 1 in this case (from Source1). %autosetup -a1 install -D -m 644 %{SOURCE2} .cargo/config # Remove exec bits to prevent an issue in fedora shebang checking. Uncomment only if required. # find vendor -type f -name \*.rs -exec chmod -x '{}' \; %build %{cargo_build} %install # using cargo_install (only supports bindir) %{cargo_install} install -Dm 0644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 install -Dm 0644 assets/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm 0644 assets/%{name}-smi.desktop %{buildroot}%{_datadir}/applications/%{name}-smi.desktop install -Dm 0644 assets/%{name}-tui.desktop %{buildroot}%{_datadir}/applications/%{name}-tui.desktop %files %license LICENSE %doc README.md docs/*.md %{_bindir}/amdgpu_top %{_mandir}/man1/%{name}.1%{?ext_man} %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}-smi.desktop %{_datadir}/applications/%{name}-tui.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor