Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from ekultails/rpm_update
Browse files Browse the repository at this point in the history
Update the RPM to install the nvidia-xrun-pm systemd service.
  • Loading branch information
michelesr authored Feb 1, 2019
2 parents 293761d + a6b18ab commit 017c83b
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions rpm-spec/nvidia-xrun.spec
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
Name: nvidia-xrun
Version: 1
Name: nvidia-xrun-pm
Version: 20181128
Release: 1%{?dist}
Summary: Utility to run separate X with discrete nvidia graphics with full performance.

License: GNU GPL V2
Summary: Utility to run separate X with discrete nvidia graphics with full performance.
License: GNU GPLv2
Source0: nvidia-xrun
Source1: nvidia-xorg.conf
Source2: nvidia-xinitrc
Source3: nvidia-xrun-pm.service
buildroot: %{_tmppath}/%{name}-root
BuildArch: noarch
Conflicts: nvidia-xrun

%description
These utility scripts aim to make the life easier for nvidia cards users. It started with a revelation that bumblebee in current state offers very poor performance. This solution offers a bit more complicated procedure but offers a full GPU utilization.
This fork provides the benefits of nvidia-xrun without the extra dependency of bumblebee for power management. These utility scripts aim to make the life easier for nvidia cards users. It started with a revelation that bumblebee in current state offers very poor performance. This solution offers a bit more complicated procedure but offers a full GPU utilization.

%install
mkdir -p %{buildroot}/%{_bindir}
install -pm 755 %{SOURCE0} %{buildroot}/%{_bindir}

mkdir -p %{buildroot}/%{_sysconfdir}/X11/xinit/
install -pm 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/X11/
install -pm 755 %{SOURCE2} %{buildroot}/%{_sysconfdir}/X11/xinit/
mkdir -p %{buildroot}/%{_unitdir}/
install -pm 644 %{SOURCE3} %{buildroot}/%{_unitdir}/

%files
%{_bindir}/nvidia-xrun
%{_sysconfdir}/X11/nvidia-xorg.conf
%{_sysconfdir}/X11/xinit
%{_sysconfdir}/X11/xinit/nvidia-xinitrc
%{_unitdir}/nvidia-xrun-pm.service

%changelog
* Thu Jan 31 2019 Luke Short <[email protected]> 20181128-1
- Change to ISO date version format
- Mark nvidia-xrun as a conflicting package
- Add nvidia-xrun-pm systemd service file

* Thu Dec 28 2017 Abhiram Kuchibhotla <mailto:[email protected]> 1
- Initial RPM spec release

0 comments on commit 017c83b

Please sign in to comment.