|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: xorg-x11-drv-nvidia
|
|
|
|
Name: xorg-x11-drv-nvidia
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 370.23
|
|
|
|
Version: 370.28
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
|
|
|
|
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
|
|
|
|
|
|
|
|
|
|
|
@ -124,6 +124,8 @@ Summary: Libraries for %{name}
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
Group: User Interface/X Hardware Support
|
|
|
|
Requires: %{name} = %{?epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{?epoch}:%{version}-%{release}
|
|
|
|
Requires: libvdpau%{_isa} >= 0.5
|
|
|
|
Requires: libvdpau%{_isa} >= 0.5
|
|
|
|
|
|
|
|
# GlVND
|
|
|
|
|
|
|
|
#Requires: libglvnd
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
%description libs
|
|
|
|
This package provides the shared libraries for %{name}.
|
|
|
|
This package provides the shared libraries for %{name}.
|
|
|
@ -164,6 +166,7 @@ rm -f nvidia-installer*
|
|
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
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
|
|
|
|
# ld.so.conf.d file
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/
|
|
|
|
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
|
|
|
|
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 -m 0755 -d $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d/
|
|
|
|
install -p -m 0644 %{SOURCE6} $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
|
|
|
|
# Simple wildcard install of libs
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_nvidia_libdir}
|
|
|
|
install -m 0755 -d $RPM_BUILD_ROOT%{_nvidia_libdir}
|
|
|
|
install -p -m 0755 lib*.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/
|
|
|
|
install -p -m 0755 lib*.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/
|
|
|
@ -183,9 +189,9 @@ install -p -m 0755 tls/lib*.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/
|
|
|
|
# install stuff the wildcard missed
|
|
|
|
# install stuff the wildcard missed
|
|
|
|
install -p -m 0755 libEGL.so.1 $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
|
|
|
|
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}/
|
|
|
|
# GlVND
|
|
|
|
ln -s libOpenGL.so.0 $RPM_BUILD_ROOT%{_nvidia_libdir}/libOpenGL.so
|
|
|
|
#ln -s libGLX_nvidia.so.%{version} $RPM_BUILD_ROOT%{_nvidia_libdir}/libGLX_indirect.so.0
|
|
|
|
|
|
|
|
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
# OpenCL config
|
|
|
|
# OpenCL config
|
|
|
@ -536,11 +542,16 @@ fi ||:
|
|
|
|
%{_nvidia_libdir}/libnvidia-fbc.so
|
|
|
|
%{_nvidia_libdir}/libnvidia-fbc.so
|
|
|
|
%{_nvidia_libdir}/libnvidia-glcore.so
|
|
|
|
%{_nvidia_libdir}/libnvidia-glcore.so
|
|
|
|
%{_nvidia_libdir}/libnvidia-glsi.so
|
|
|
|
%{_nvidia_libdir}/libnvidia-glsi.so
|
|
|
|
|
|
|
|
# GlVND note: remove libGL.so
|
|
|
|
%{_nvidia_libdir}/libGL.so
|
|
|
|
%{_nvidia_libdir}/libGL.so
|
|
|
|
%{_nvidia_libdir}/libGLX_nvidia.so
|
|
|
|
%{_nvidia_libdir}/libGLX_nvidia.so
|
|
|
|
%{_nvidia_libdir}/libOpenGL.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Fri Aug 19 2016 Leigh Scott <leigh123linux@googlemail.com> - 1:370.23-1
|
|
|
|
- Update to 370.23 beta
|
|
|
|
- Update to 370.23 beta
|
|
|
|
|
|
|
|
|
|
|
|