automatic version update by autodist [release 525.60.11-1mamba;Sun Dec 04 2022]

This commit is contained in:
Automatic Build System 2024-01-06 07:44:44 +01:00
parent ea41d7c9fe
commit f5f85dca15

View File

@ -1,9 +1,9 @@
%define nvidia_current_ver %version
%define nvidia_current_libver %version
Name: nvidia
Version: 520.56.06
Version: 525.60.11
Epoch: 1
Release: 3mamba
Release: 1mamba
Summary: NVIDIA proprietary accelerated drivers for the Linux Kernel
Group: System/Kernel and Hardware
Vendor: openmamba
@ -20,8 +20,11 @@ License: no OSI Approved
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libdrm-devel
BuildRequires: libegl-wayland-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libmesa-devel
## AUTOBUILDREQ-END
ExclusiveArch: x86_64
@ -83,6 +86,9 @@ These drivers provide optimized hardware acceleration of OpenGL applications via
TwinView, TV-Out and flat panel displays are also supported.
This package contains the HTML documentation.
# Turn off strip'ng of binaries
%global __strip /bin/true
%prep
%setup -q -c -n %{name}-%{version} -T
@ -114,8 +120,14 @@ pushd current
# X driver
install -D -m755 nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so
# Wayland/GBM
install -D -m755 libnvidia-egl-gbm.so.1* -t %{buildroot}%{_libdir}/
install -D -m644 15_nvidia_gbm.json %{buildroot}%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
mkdir -p %{buildroot}%{_libdir}/gbm
ln -sr ../libnvidia-allocator.so.%{version} %{buildroot}%{_libdir}/gbm/nvidia-drm_gbm.so
# firmware
install -D -m644 firmware/gsp.bin %{buildroot}/lib/firmware/nvidia/%{version}/gsp.bin
install -D -m644 -t %{buildroot}%{_prefix}/lib/firmware/nvidia/%{version}/ firmware/*.bin
# GLX extension module for X
install -D -m755 libglxserver_nvidia.so.%{version} %{buildroot}%{_libdir}/nvidia/xorg/libglxserver_nvidia.so.%{version}
@ -148,8 +160,15 @@ install -D -m755 libnvidia-fbc.so.%{version} %{buildroot}%{_libdir}/libnvidia-fb
install -D -m755 libnvidia-encode.so.%{version} %{buildroot}%{_libdir}/libnvidia-encode.so.%{version}
install -D -m755 libnvidia-cfg.so.%{version} %{buildroot}%{_libdir}/libnvidia-cfg.so.%{version}
install -D -m755 libnvidia-ml.so.%{version} %{buildroot}%{_libdir}/libnvidia-ml.so.%{version}
install -D -m755 libnvidia-ngx.so.%{version} %{buildroot}%{_libdir}/libnvidia-ngx.so.%{version}
install -D -m755 libnvidia-glvkspirv.so.%{version} %{buildroot}%{_libdir}/libnvidia-glvkspirv.so.%{version}
install -D -m755 libnvidia-allocator.so.%{version} %{buildroot}%{_libdir}/libnvidia-allocator.so.%{version}
install -D -m755 libnvidia-vulkan-producer.so.%{version} %{buildroot}%{_libdir}/libnvidia-vulkan-producer.so.%{version}
# Sigh libnvidia-vulkan-producer.so has no SONAME set so create_links doesn't catch it. NVIDIA please fix!
ln -s libnvidia-vulkan-producer.so.%{version} %{buildroot}%{_libdir}/libnvidia-vulkan-producer.so.1
ln -s libnvidia-vulkan-producer.so.%{version} %{buildroot}%{_libdir}/libnvidia-vulkan-producer.so
#install -D -m755 libnvidia-ngx.so.%{version} %{buildroot}%{_libdir}/libnvidia-ngx.so.%{version}
#install -D -m755 libnvidia-glvkspirv.so.%{version} %{buildroot}%{_libdir}/libnvidia-glvkspirv.so.%{version}
# Vulkan ICD
install -D -m644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.json
@ -165,6 +184,9 @@ install -D -m755 libnvidia-tls.so.%{version} %{buildroot}%{_libdir}/libnvidia-tl
install -D -m755 libcuda.so.%{version} %{buildroot}%{_libdir}/libcuda.so.%{version}
install -D -m755 libnvcuvid.so.%{version} %{buildroot}%{_libdir}/libnvcuvid.so.%{version}
# NVVM Compiler library loaded by the CUDA driver to do JIT link-time-optimization
install -D -m644 libnvidia-nvvm.so.%{version} %{buildroot}%{_libdir}/libnvidia-nvvm.so.%{version}
# PTX JIT Compiler (Parallel Thread Execution (PTX) is a pseudo-assembly language for CUDA)
install -D -m755 libnvidia-ptxjitcompiler.so.%{version} %{buildroot}%{_libdir}/libnvidia-ptxjitcompiler.so.%{version}
@ -173,6 +195,12 @@ install -D -m755 libnvoptix.so.%{version} %{buildroot}%{_libdir}/libnvoptix.so.%
install -D -m755 libnvidia-rtcore.so.%{version} %{buildroot}%{_libdir}/libnvidia-rtcore.so.%{version}
#install -D -m755 libnvidia-cbl.so.%{version} %{buildroot}%{_libdir}/libnvidia-cbl.so.%{version}
# NGX
install -D -m755 nvidia-ngx-updater %{buildroot}%{_bindir}/nvidia-ngx-updater
install -D -m755 libnvidia-ngx.so.%{version} %{buildroot}%{_libdir}/libnvidia-ngx.so.%{version}
install -D -m755 _nvngx.dll %{buildroot}%{_libdir}/nvidia/wine/_nvngx.dll
install -D -m755 nvngx.dll %{buildroot}%{_libdir}/nvidia/wine/nvngx.dll
# Optical flow
install -D -m755 libnvidia-opticalflow.so.%{version} %{buildroot}%{_libdir}/libnvidia-opticalflow.so.%{version}
@ -218,11 +246,11 @@ install -D -m644 nvidia-application-profiles-%{version}-rc %{buildroot}%{_datadi
install -D -m644 nvidia-application-profiles-%{version}-key-documentation %{buildroot}%{_datadir}/nvidia/nvidia-application-profiles-%{version}-key-documentation
# new power management support
install -D -m644 systemd/system/nvidia-suspend.service %{buildroot}%{_unitdir}/nvidia-suspend.service
install -D -m644 systemd/system/nvidia-hibernate.service %{buildroot}%{_unitdir}/nvidia-hibernate.service
install -D -m644 systemd/system/nvidia-resume.service %{buildroot}%{_unitdir}/system/nvidia-resume.service
install -D -m644 systemd/system/*.service -t %{buildroot}%{_unitdir}/
install -D -m755 systemd/system-sleep/nvidia %{buildroot}%{_systemd_util_dir}/system-sleep/nvidia
install -D -m755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}/nvidia-sleep.sh
install -Dm755 nvidia-powerd %{buildroot}%{_bindir}/nvidia-powerd
install -Dm644 nvidia-dbus.conf %{buildroot}%{_datadir}/dbus-1/system.d/nvidia-dbus.conf
# distro specific files must be installed in /usr/share/X11/xorg.conf.d
install -D -m644 %{SOURCE2} %{buildroot}%{_datadir}/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
@ -330,15 +358,17 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_sysconfdir}/OpenCL/vendors/nvidia.icd
%dir %{_prefix}/src/%{name}-%{version}
%{_prefix}/src/%{name}-%{version}/*
/lib/firmware/nvidia/%{version}/gsp.bin
%{_prefix}/lib/firmware/nvidia/%{version}/*.bin
%{_bindir}/nvidia-*
%{_modprobedir}/nvidia.conf
%{_systemd_util_dir}/system-sleep/nvidia
%{_unitdir}/nvidia-hibernate.service
%{_unitdir}/nvidia-persistenced.service
%{_unitdir}/nvidia-powerd.service
%{_unitdir}/nvidia-suspend.service
%{_unitdir}/system/nvidia-resume.service
%{_unitdir}/nvidia-resume.service
%{_sysusersdir}/nvidia.conf
%{_datadir}/dbus-1/system.d/nvidia-dbus.conf
%{_libdir}/libEGL_nvidia.so.*
%{_libdir}/libGLESv1_CM_nvidia.so.*
%{_libdir}/libGLESv2_nvidia.so.*
@ -347,14 +377,19 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%{_libdir}/libnvcuvid.so.*
%{_libdir}/libnvidia-*.so.*
%{_libdir}/libnvoptix.so.*
%{_libdir}/libnvidia-vulkan-producer.so
%dir %{_libdir}/nvidia
%dir %{_libdir}/nvidia/xorg
%{_libdir}/nvidia/xorg/libglxserver_nvidia.so
%{_libdir}/nvidia/xorg/libglxserver_nvidia.so.*
%{_libdir}/nvidia/wine/_nvngx.dll
%{_libdir}/nvidia/wine/nvngx.dll
%{_libdir}/gbm/nvidia-drm_gbm.so
%{_libdir}/vdpau/libvdpau_nvidia.so.*
%{_libdir}/xorg/modules/drivers/nvidia_drv.so
%{_datadir}/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
%{_datadir}/applications/nvidia-settings.desktop
%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
%{_datadir}/glvnd/egl_vendor.d/10_nvidia.json
%{_datadir}/nvidia/nvidia-application-profiles-%{version}-key-documentation
%{_datadir}/nvidia/nvidia-application-profiles-%{version}-rc
@ -369,6 +404,9 @@ INITRAMFS=/boot/initramfs-${KVER}.img
%doc current/{NVIDIA_Changelog,README.txt} current/html
%changelog
* Sun Dec 04 2022 Automatic Build System <autodist@mambasoft.it> 525.60.11-1mamba
- automatic version update by autodist
* Tue Nov 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 520.56.06-3mamba
- add modprobe.d file to blacklist nouveau and regenerate initramfs