Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:leap
gpu-passthrough-manager
gpu-passthrough-manager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpu-passthrough-manager.spec of Package gpu-passthrough-manager
# # spec file for package gpu-passthrough-manager # # 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/ # %define buildroot %{_tmppath}/%{name}-%{version}-%{release}-root %define srcext .tar.gz %define gitname gpu-passthrough Name: gpu-passthrough-manager Version: 1.2.1 Release: 1 Summary: GPU passthrough made easy License: GPL-3.0 Group: Applications/System URL: https://github.com/uwzis/GPU-Passthrough-Manager Source: gpu-passthrough-manager-%{gitname}%{srcext} BuildRequires: gtk3-devel BuildRequires: polkit-devel BuildRequires: jsoncpp-devel BuildRequires: python3 BuildRequires: gcc-c++ %description GPU Passthrough Manager is a tool for managing GPU passthrough in a virtualized environment. %prep %autosetup -n %{name}-%{gitname} %build export CFLAGS="%{optflags}" # Build Reboot tool gcc tools/reboot.c -o tools/Reboot `pkg-config --cflags --libs gtk+-3.0` # Build GPUPM g++ GPUPM.cpp -o GPUPM `pkg-config --cflags --libs jsoncpp gtk+-3.0` # Build apphandler gcc tools/apphandler.c -o gpu-passthrough-manager %install rm -rf %{buildroot} mkdir -p %{buildroot} # Install files to the buildroot install -D -m 755 tools/Reboot %{buildroot}/%{_bindir}/Reboot install -D -m 755 GPUPM %{buildroot}/%{_bindir}/GPUPM install -D -m 755 gpu-passthrough-manager %{buildroot}/%{_bindir}/gpu-passthrough-manager %files %{_bindir}/Reboot %{_bindir}/GPUPM %{_bindir}/gpu-passthrough-manager %changelog * Tue Nov 06 2023 Jonata Gonçalves <jonatas.sgoncalves@gmail.com> - 1.2.1 - Initial package release
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