Files
packages/anda/misc/prime-run/prime-run.spec
T
Gilver 4541bd3066 [el10] chore: Update Terra URL (#11201) (#11208)
* chore: Update Terra URL (#11201)

(cherry picked from commit f5649dbb48)
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>

* Update terra-release.spec

Signed-off-by: Gilver <roachy@fyralabs.com>

---------

Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
Signed-off-by: Gilver <roachy@fyralabs.com>
2026-04-12 15:07:43 +08:00

38 lines
873 B
RPMSpec

Name: prime-run
Version: 1.0.0
Release: 2%{?dist}
Summary: A simple script to run an application with NVIDIA PRIME GPU offloading
License: MIT
URL: https://terrapkg.com
Source0: prime-run.sh
# Bash script
Requires: bash
BuildArch: noarch
%description
A simple Bash script to force an application to run with PRIME GPU offloading. This is useful for
laptops with NVIDIA Optimus technology, where the integrated GPU is switchable alongside the dedicated
NVIDIA GPU. By default, the integrated GPU is used to save power, but this can be overridden for
specific applications using the prime-run script.
%prep
%build
%install
install -Dm755 %{SOURCE0} %{buildroot}%{_bindir}/prime-run
%files
%{_bindir}/prime-run
%changelog
* Sun Mar 03 2024 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial release