|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
Name: xorg-x11-drv-nvidia
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 331.20
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
|
|
|
|
|
|
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
@ -19,6 +19,7 @@ Source1: ftp://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDI
|
|
|
|
|
Source4: ftp://download.nvidia.com/XFree86/Linux-32bit-ARM/%{version}/NVIDIA-Linux-armv7l-gnueabihf-%{version}.run
|
|
|
|
|
Source2: 00-nvidia.conf
|
|
|
|
|
Source3: nvidia-xorg.conf
|
|
|
|
|
Source5: 00-avoid-glamor.conf
|
|
|
|
|
Source6: blacklist-nouveau.conf
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
@ -58,7 +59,6 @@ Conflicts: xorg-x11-drv-nvidia-96xx
|
|
|
|
|
Conflicts: xorg-x11-drv-nvidia-173xx
|
|
|
|
|
Conflicts: xorg-x11-drv-fglrx
|
|
|
|
|
Conflicts: xorg-x11-drv-catalyst
|
|
|
|
|
Conflicts: xorg-x11-glamor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#Support for cuda
|
|
|
|
@ -217,6 +217,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/00-nvidia.conf
|
|
|
|
|
touch -r %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xorg.conf.d/00-nvidia.conf
|
|
|
|
|
install -pm 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/
|
|
|
|
@ -365,6 +366,7 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
%dir %{_sysconfdir}/nvidia
|
|
|
|
|
%config %{_sysconfdir}/X11/xorg.conf.d/00-nvidia.conf
|
|
|
|
|
%config %{_sysconfdir}/X11/xorg.conf.d/00-avoid-glamor.conf
|
|
|
|
|
%config(noreplace) %{_prefix}/lib/modprobe.d/blacklist-nouveau.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/X11/nvidia-xorg.conf
|
|
|
|
|
%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
|
|
|
|
@ -434,6 +436,10 @@ fi
|
|
|
|
|
%{_libdir}/vdpau/libvdpau_nvidia.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Nov 07 2013 Leigh Scott <leigh123linux@googlemail.com> - 1:331.20-2
|
|
|
|
|
- remove conflicts xorg-x11-glamor
|
|
|
|
|
- disable glamor module
|
|
|
|
|
|
|
|
|
|
* Thu Nov 07 2013 Leigh Scott <leigh123linux@googlemail.com> - 1:331.20-1
|
|
|
|
|
- Update to 331.20
|
|
|
|
|
- add conflicts xorg-x11-glamor
|
|
|
|
|