el9
leigh123linux 8 years ago
commit 7ed2449273

9
.gitignore vendored

@ -4,6 +4,15 @@ NVIDIA-Linux-x86_64-358.16.run
/NVIDIA-Linux-armv7l-gnueabihf-367.35.run
/NVIDIA-Linux-x86-367.35.run
/NVIDIA-Linux-x86_64-367.35.run
<<<<<<< HEAD
/NVIDIA-Linux-x86-367.44.run
/NVIDIA-Linux-x86_64-367.44.run
/NVIDIA-Linux-armv7l-gnueabihf-367.44.run
=======
/NVIDIA-Linux-armv7l-gnueabihf-370.23.run
/NVIDIA-Linux-x86-370.23.run
/NVIDIA-Linux-x86_64-370.23.run
/NVIDIA-Linux-armv7l-gnueabihf-370.28.run
/NVIDIA-Linux-x86-370.28.run
/NVIDIA-Linux-x86_64-370.28.run
>>>>>>> master

@ -1,3 +1,3 @@
93ff8e1fe32939ca4fd6522b93825edc NVIDIA-Linux-x86-367.44.run
d34b42e64b25bf2a8d7b9a157723a3bd NVIDIA-Linux-x86_64-367.44.run
4ac2c479bf8387f143254d5fd37b65b0 NVIDIA-Linux-armv7l-gnueabihf-367.44.run
6cbd700d92e702923a332bff9491592a NVIDIA-Linux-armv7l-gnueabihf-370.28.run
7d3e1c691cd53852f422a93169268178 NVIDIA-Linux-x86-370.28.run
95a6401db6576eaeea6ba4bc06fb61d2 NVIDIA-Linux-x86_64-370.28.run

@ -7,8 +7,8 @@
Name: xorg-x11-drv-nvidia
Epoch: 1
Version: 367.44
Release: 1%{?dist}
Version: 370.28
Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support
@ -124,6 +124,8 @@ Summary: Libraries for %{name}
Group: User Interface/X Hardware Support
Requires: %{name} = %{?epoch}:%{version}-%{release}
Requires: libvdpau%{_isa} >= 0.5
# GlVND
#Requires: libglvnd
%description libs
This package provides the shared libraries for %{name}.
@ -164,6 +166,7 @@ rm -f nvidia-installer*
install -m 0755 -d $RPM_BUILD_ROOT%{_bindir}
# GLVND note: If kwizart doesn't add a ld.so.conf.d file to glvnd we will need to add it here
# ld.so.conf.d file
install -m 0755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
echo "%{_nvidia_libdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia-%{_lib}.conf
@ -172,6 +175,9 @@ echo "%{_nvidia_libdir}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia-%{_
install -m 0755 -d $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d/
install -p -m 0644 %{SOURCE6} $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d/
# GLVND
#rm libGL.so.%{version}
# Simple wildcard install of libs
install -m 0755 -d $RPM_BUILD_ROOT%{_nvidia_libdir}
install -p -m 0755 lib*.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/
@ -184,8 +190,9 @@ install -p -m 0755 tls/lib*.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/
install -p -m 0755 libEGL.so.1 $RPM_BUILD_ROOT%{_nvidia_libdir}/
ln -s libEGL.so.1 $RPM_BUILD_ROOT%{_nvidia_libdir}/libEGL.so
install -p -m 0755 libGLdispatch.so.0 $RPM_BUILD_ROOT%{_nvidia_libdir}/
install -p -m 0755 libOpenGL.so.0 $RPM_BUILD_ROOT%{_nvidia_libdir}/
ln -s libOpenGL.so.0 $RPM_BUILD_ROOT%{_nvidia_libdir}/libOpenGL.so
# GlVND
ln -s libGLX_nvidia.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/libGLX_indirect.so.0
%ifarch x86_64 i686
# OpenCL config
@ -536,13 +543,21 @@ fi ||:
%{_nvidia_libdir}/libnvidia-fbc.so
%{_nvidia_libdir}/libnvidia-glcore.so
%{_nvidia_libdir}/libnvidia-glsi.so
# GlVND note: remove libGL.so
%{_nvidia_libdir}/libGL.so
%{_nvidia_libdir}/libGLX_nvidia.so
%{_nvidia_libdir}/libOpenGL.so
%changelog
* Wed Aug 24 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:367.44-1
- Update to 367.44
* Tue Sep 13 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:370.28-2
- readd libGLdispatch.so.0
* Fri Sep 09 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:370.28-1
- Update to 370.28
- Remove surplus glvnd libs (not used)
- Prepare for fedora glvnd package
* Fri Aug 19 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:370.23-1
- Update to 370.23 beta
* Wed Aug 10 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:367.35-3
- Revert last commit

Loading…
Cancel
Save