|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
Name: xorg-x11-drv-nvidia
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 375.26
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
|
|
|
|
|
|
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
@ -18,7 +18,6 @@ URL: http://www.nvidia.com/
|
|
|
|
|
Source0: ftp://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
|
|
|
|
|
Source1: ftp://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run
|
|
|
|
|
Source4: ftp://download.nvidia.com/XFree86/Linux-32bit-ARM/%{version}/NVIDIA-Linux-armv7l-gnueabihf-%{version}.run
|
|
|
|
|
Source2: 99-nvidia.conf
|
|
|
|
|
Source3: nvidia-xorg.conf
|
|
|
|
|
Source5: 00-avoid-glamor.conf
|
|
|
|
|
Source6: blacklist-nouveau.conf
|
|
|
|
@ -261,10 +260,7 @@ rm $RPM_BUILD_ROOT%{_nvidia_libdir}/libnvidia-{cfg,tls}.so
|
|
|
|
|
|
|
|
|
|
#Install static driver dependant configuration files
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
|
|
|
|
|
install -pm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
|
|
|
|
|
install -pm 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
|
|
|
|
|
sed -i -e 's|@LIBDIR@|%{_libdir}|g' $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d/99-nvidia.conf
|
|
|
|
|
touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d/99-nvidia.conf
|
|
|
|
|
install -pm 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/
|
|
|
|
|
# Comment Xorg abi override
|
|
|
|
|
#install -pm 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d
|
|
|
|
@ -555,6 +551,9 @@ fi ||:
|
|
|
|
|
%{_nvidia_libdir}/libGLX_nvidia.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 18 2016 leigh scott <leigh123linux@googlemail.com> - 1:375.26-2
|
|
|
|
|
- Change conf files for Prime support
|
|
|
|
|
|
|
|
|
|
* Wed Dec 14 2016 leigh scott <leigh123linux@googlemail.com> - 1:375.26-1
|
|
|
|
|
- Update to 375.26 release
|
|
|
|
|
|
|
|
|
|