Add new file

el9
leigh123linux 6 years ago
parent 87f7defb07
commit b5707e0960

@ -197,6 +197,7 @@ cp -a \
libnvcuvid.so.%{version} \ libnvcuvid.so.%{version} \
%ifarch x86_64 %ifarch x86_64
libnvidia-cfg.so.%{version} \ libnvidia-cfg.so.%{version} \
libnvoptix.so.%{version} \
%endif %endif
libnvidia-eglcore.so.%{version} \ libnvidia-eglcore.so.%{version} \
libnvidia-encode.so.%{version} \ libnvidia-encode.so.%{version} \
@ -207,7 +208,6 @@ cp -a \
libnvidia-glvkspirv.so.%{version} \ libnvidia-glvkspirv.so.%{version} \
libnvidia-ifr.so.%{version} \ libnvidia-ifr.so.%{version} \
libnvidia-ml.so.%{version} \ libnvidia-ml.so.%{version} \
libnvoptix.so.%{version} \
libnvidia-ptxjitcompiler.so.%{version} \ libnvidia-ptxjitcompiler.so.%{version} \
%{buildroot}%{_libdir}/ %{buildroot}%{_libdir}/
@ -239,7 +239,9 @@ install -m 0755 -d %{buildroot}%{_datadir}/vulkan/icd.d/
install -p -m 0644 nvidia_icd.json.template %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json install -p -m 0644 nvidia_icd.json.template %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json
%ifarch x86_64 %ifarch x86_64
# X DDX driver # X DDX driver and GLX extension
install -p -D -m 0755 libglxserver_nvidia.so.%{version} %{buildroot}%{_nvidia_xorgdir}/libglxserver_nvidia.so.%{version}
ln -sf libglx.so.%{version} %{buildroot}%{_nvidia_xorgdir}/libglxserver_nvidia.so
install -D -p -m 0755 nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so install -D -p -m 0755 nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so
# OpenCL config # OpenCL config
@ -393,6 +395,9 @@ fi ||:
%{_dracut_conf_d}/99-nvidia-dracut.conf %{_dracut_conf_d}/99-nvidia-dracut.conf
%{_bindir}/nvidia-bug-report.sh %{_bindir}/nvidia-bug-report.sh
# Xorg libs that do not need to be multilib # Xorg libs that do not need to be multilib
%dir %{_nvidia_xorgdir}
%{_nvidia_xorgdir}/libglxserver_nvidia.so
%{_nvidia_xorgdir}/libglxserver_nvidia.so.%{version}
%{_libdir}/xorg/modules/drivers/nvidia_drv.so %{_libdir}/xorg/modules/drivers/nvidia_drv.so
#/no_multilib #/no_multilib
%dir %{_datadir}/nvidia %dir %{_datadir}/nvidia

Loading…
Cancel
Save