Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
X11:Drivers:Video
nvidia-gfxG04
x11-video-nvidiaG04.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x11-video-nvidiaG04.spec of Package nvidia-gfxG04
# # spec file for package x11-video-nvidiaG04 # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define xlibdir %{_libdir}/xorg %define xmodulesdir %{xlibdir}/modules Name: x11-video-nvidiaG04 Version: 390.157 Release: 0 License: SUSE-NonFree Summary: NVIDIA graphics driver for GeForce 400 series and newer URL: https://www.nvidia.com/object/unix.html Group: System/Libraries Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run Source2: pci_ids-%{version}.new Source3: nvidia-settings.desktop Source4: generate-service-file.sh Source5: README Source6: Xwrapper Source7: pci_ids-%{version} Source8: nvidia-gfxG04.rpmlintrc Source11: pci_ids-%{version}.legacy NoSource: 0 NoSource: 1 NoSource: 4 NoSource: 5 BuildRequires: update-desktop-files Requires: nvidia-computeG04 = %{version} Requires: nvidia-gfxG04-kmp = %{version} Provides: nvidia_driver = %{version} Provides: nvidia-xconfig = %{version} Provides: nvidia-settings = %{version} Obsoletes: nvidia-modprobe <= 319.37 Provides: nvidia-modprobe = %{version} Conflicts: x11-video-nvidia Conflicts: x11-video-nvidiaG01 Conflicts: x11-video-nvidiaG02 Conflicts: x11-video-nvidiaG03 Conflicts: fglrx_driver %ifarch x86_64 Recommends: x11-video-nvidiaG04-32bit %endif Requires: libvdpau1 ExclusiveArch: %ix86 x86_64 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides the closed-source NVIDIA graphics driver for GeForce 400 series and newer GPUs. %package -n x11-video-nvidiaG04-32bit Summary: 32bit NVIDIA graphics driver for GeForce 400 series and newer Group: System/Libraries Requires: x11-video-nvidiaG04 = %{version} Conflicts: x11-video-nvidiaG05-32bit Conflicts: x11-video-nvidiaG06-32bit AutoReq: no %description -n x11-video-nvidiaG04-32bit This package provides the closed-source 32bit NVIDIA graphics driver for GeForce 400 series and newer GPUs. %package -n nvidia-computeG04 Summary: NVIDIA driver for computing with GPGPU Group: System/Libraries Requires: nvidia-gfxG04-kmp = %{version} # to provide a hint about split to zypper dup: Provides: x11-video-nvidiaG04:/usr/lib/libcuda.so Provides: cuda-drivers = %{version} Conflicts: nvidia-computeG02 Conflicts: nvidia-computeG03 %ifarch x86_64 Recommends: nvidia-computeG04-32bit %endif %if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) Requires(pre): update-alternatives %else Conflicts: libOpenCL1 %endif %description -n nvidia-computeG04 NVIDIA driver for computing with GPGPUs using CUDA or OpenCL. %package -n nvidia-computeG04-32bit Summary: 32bit NVIDIA driver for computing with GPGPU Group: System/Libraries Requires: nvidia-computeG04 = %{version} Conflicts: nvidia-computeG05-32bit Conflicts: nvidia-computeG06-32bit %description -n nvidia-computeG04-32bit 32bit NVIDIA driver for computing with GPGPUs using CUDA or OpenCL. %package -n nvidia-glG04 Summary: NVIDIA OpenGL libraries for OpenGL acceleration Group: System/Libraries Requires: nvidia-gfxG04-kmp = %{version} Requires(post): update-alternatives Requires(postun): update-alternatives # on Optimus we want to switch back to X.Org's libglx.so (bsc#1111471) Requires(post): xorg-x11-server # to provide a hint about split to zypper dup: Provides: x11-video-nvidiaG04:/{_prefix}/X11R6/%{_lib}/libGL.so.1 Conflicts: nvidia-glG03 %ifarch x86_64 Recommends: nvidia-glG04-32bit %endif # needed for Optimus systems once NVIDIA's libs get disabled (our default); # these packages won't get installed when adding NVIDIA's repository before # the installation, which e.g. happens on SLED (bsc#1111471) Recommends: Mesa-libGL1 Recommends: Mesa-libEGL1 Recommends: Mesa-libGLESv1_CM1 Recommends: Mesa-libGLESv2-2 AutoReq: no %description -n nvidia-glG04 This package provides the NVIDIA OpenGL libraries to allow OpenGL acceleration under the closed-source NVIDIA drivers. %package -n nvidia-glG04-32bit Summary: 32bit NVIDIA OpenGL libraries for OpenGL acceleration Group: System/Libraries Requires: nvidia-glG04 = %{version} Conflicts: nvidia-glG05-32bit Conflicts: nvidia-glG06-32bit AutoReq: no %description -n nvidia-glG04-32bit This package provides 32bit NVIDIA OpenGL libraries to allow OpenGL %package -n libvdpau1 License: X11/MIT Summary: VDPAU wrapper and trace libraries Group: System/Libraries %description -n libvdpau1 This package contains the libvdpau wrapper library and the libvdpau_trace debugging library, along with the header files needed to build VDPAU applications. To actually use a VDPAU device, you need a vendor-specific implementation library. Currently, this is always libvdpau_nvidia. You can override the driver name by setting the VDPAU_DRIVER environment variable. %package -n libvdpau-devel License: X11/MIT Summary: VDPAU wrapper development files Group: Development/Libraries/X11 Requires: libvdpau1 %description -n libvdpau-devel Note that this package only contains the VDPAU headers that are required to build applications. At runtime, the shared libraries are needed too and may be installed using the proprietary nVidia driver packages. %package -n libvdpau_trace1 License: X11/MIT Summary: VDPAU trace library Group: System/Libraries Requires: libvdpau1 %description -n libvdpau_trace1 This package provides the library for tracing VDPAU function calls. %prep %setup -T -c %{name}-%{version} %ifarch %ix86 sh %{SOURCE0} -x %endif %ifarch x86_64 sh %{SOURCE1} -x %endif %build # nothing %install # no longer alter, i.e. strip NVIDIA's libraries export NO_BRP_STRIP_DEBUG=true cd NVIDIA-Linux-x86*-%{version} # would be nice if it worked ... #./nvidia-installer \ # --accept-license \ # --expert \ # --no-questions \ # --ui=none \ # --no-precompiled-interface \ # --no-runlevel-check \ # --no-rpms \ # --no-backup \ # --no-network \ # --no-recursion \ # --no-kernel-module \ # --log-file-name=$PWD/log \ # --x-prefix=%{buildroot}%{_prefix}/X11R6 \ # --opengl-prefix=%{buildroot}%{_prefix} \ # --utility-prefix=%{buildroot}%{_prefix} # only to be used by GLVND rm -f libGL.so.1.0.0 32/libGL.so.1.0.0 rm -f libGLX.so.0 32/libGLX.so.0 install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_prefix}/X11R6/lib %if 0%{?suse_version} < 1550 install -d %{buildroot}%{_prefix}/lib/tls install -d %{buildroot}%{_libdir}/tls %endif install -d %{buildroot}%{_prefix}/X11R6/%{_lib} install -d %{buildroot}%{_prefix}/lib/vdpau install -d %{buildroot}%{_libdir}/vdpau install -d %{buildroot}%{xmodulesdir}/drivers install -d %{buildroot}%{xmodulesdir}/extensions install -d %{buildroot}%{_sysconfdir}/OpenCL/vendors/ install -d %{buildroot}%{_datadir}/nvidia install nvidia-settings %{buildroot}%{_bindir} install nvidia-bug-report.sh %{buildroot}%{_bindir} install nvidia-xconfig %{buildroot}%{_bindir} install nvidia-smi %{buildroot}%{_bindir} install nvidia-debugdump %{buildroot}%{_bindir} install nvidia-cuda-mps-control %{buildroot}%{_bindir} install nvidia-cuda-mps-server %{buildroot}%{_bindir} install nvidia-persistenced %{buildroot}%{_bindir} install nvidia-modprobe %{buildroot}%{_bindir} install libnvidia* %{buildroot}%{_libdir} %if 0%{?suse_version} < 1550 install tls/libnvidia-tls.so.* %{buildroot}%{_libdir}/tls %else rm %{buildroot}%{_libdir}/libnvidia-tls.so.* install tls/libnvidia-tls.so.* %{buildroot}%{_libdir} %endif install libcuda* %{buildroot}%{_libdir} install libOpenCL* %{buildroot}%{_libdir} install libnvcuvid* %{buildroot}%{_libdir} install libnvidia-ml* %{buildroot}%{_libdir} install libvdpau_nvidia.so* %{buildroot}%{_libdir}/vdpau # Bug #596481 ln -s vdpau/libvdpau_nvidia.so.1 %{buildroot}%{_libdir}/libvdpau_nvidia.so # the GL lib from Mesa is in /usr/%{_lib} so we install in /usr/X11R6/%{_lib} rm libGL.la install libGL* %{buildroot}%{_prefix}/X11R6/%{_lib} # still a lot of applications make a dlopen to the .so file ln -snf libGL.so.1 %{buildroot}%{_prefix}/X11R6/%{_lib}/libGL.so # same for libOpenGL/libcuda/libnvcuvid ln -snf libOpenCL.so.1 %{buildroot}%{_libdir}/libOpenCL.so ln -snf libcuda.so.1 %{buildroot}%{_libdir}/libcuda.so ln -snf libnvcuvid.so.1 %{buildroot}%{_libdir}/libnvcuvid.so # NVML library for Tesla compute products (new since 270.xx) ln -s libnvidia-ml.so.1 %{buildroot}%{_libdir}/libnvidia-ml.so # EGL/GLES 64bit new since 340.xx install libEGL.so.%{version} %{buildroot}%{_prefix}/X11R6/%{_lib} install libEGL_nvidia.so.* %{buildroot}%{_prefix}/X11R6/%{_lib} install libGLESv1_CM* %{buildroot}%{_prefix}/X11R6/%{_lib} install libGLESv2* %{buildroot}%{_prefix}/X11R6/%{_lib} install libOpenGL* %{buildroot}%{_prefix}/X11R6/%{_lib} install nvidia_drv.so %{buildroot}%{xmodulesdir}/drivers mkdir -p %{buildroot}%{xmodulesdir}/extensions/nvidia install libglx.so.%{version} \ %{buildroot}%{xmodulesdir}/extensions/nvidia/nvidia-libglx.so %ifarch x86_64 install 32/libnvidia* %{buildroot}%{_prefix}/lib %if 0%{?suse_version} < 1550 install 32/tls/libnvidia-tls.so.* %{buildroot}%{_prefix}/lib/tls %else rm %{buildroot}%{_prefix}/lib/libnvidia-tls.so.* install 32/tls/libnvidia-tls.so.* %{buildroot}%{_prefix}/lib %endif install 32/libcuda* %{buildroot}%{_prefix}/lib install 32/libOpenCL* %{buildroot}%{_prefix}/lib install 32/libnvcuvid* %{buildroot}%{_prefix}/lib install 32/libvdpau_nvidia.so* %{buildroot}%{_prefix}/lib/vdpau install 32/libGL* %{buildroot}%{_prefix}/X11R6/lib install 32/libEGL.so.%{version} %{buildroot}%{_prefix}/X11R6/lib install 32/libEGL_nvidia.so.* %{buildroot}%{_prefix}/X11R6/lib install 32/libGLESv1_CM* %{buildroot}%{_prefix}/X11R6/lib install 32/libGLESv2* %{buildroot}%{_prefix}/X11R6/lib install 32/libOpenGL* %{buildroot}%{_prefix}/X11R6/lib # Bug #596481 ln -s vdpau/libvdpau_nvidia.so.1 %{buildroot}%{_prefix}/lib/libvdpau_nvidia.so # still a lot of applications make a dlopen to the .so file ln -snf libGL.so.1 %{buildroot}%{_prefix}/X11R6/lib/libGL.so # same for libOpenCL/libcuda/libnvcuvid ln -snf libOpenCL.so.1 %{buildroot}%{_prefix}/lib/libOpenCL.so ln -snf libcuda.so.1 %{buildroot}%{_prefix}/lib/libcuda.so ln -snf libnvcuvid.so.1 %{buildroot}%{_prefix}/lib/libnvcuvid.so %endif install -d %{buildroot}%{_datadir}/doc/packages/%{name} cp -a html %{buildroot}%{_datadir}/doc/packages/%{name} install -m 644 LICENSE %{buildroot}%{_datadir}/doc/packages/%{name} install -m 644 nvidia-persistenced-init.tar.bz2 \ %{buildroot}%{_datadir}/doc/packages/%{name} install -d %{buildroot}/%{_mandir}/man1 install -m 644 *.1.gz %{buildroot}/%{_mandir}/man1 %suse_update_desktop_file -i nvidia-settings System SystemSetup install -d %{buildroot}%{_datadir}/pixmaps install -m 644 nvidia-settings.png \ %{buildroot}%{_datadir}/pixmaps install -m 644 nvidia-application-profiles-%{version}-{rc,key-documentation} \ %{buildroot}%{_datadir}/nvidia /sbin/ldconfig -n %{buildroot}%{_libdir} /sbin/ldconfig -n %{buildroot}%{_libdir}/vdpau /sbin/ldconfig -n %{buildroot}%{_prefix}/X11R6/%{_lib} %ifarch x86_64 /sbin/ldconfig -n %{buildroot}%{_prefix}/lib /sbin/ldconfig -n %{buildroot}%{_prefix}/lib/vdpau /sbin/ldconfig -n %{buildroot}%{_prefix}/X11R6/lib %endif %if 0%{?suse_version} < 1330 install -m 755 $RPM_SOURCE_DIR/Xwrapper %{buildroot}%{_bindir}/X.%{name} %endif install -m 644 nvidia.icd \ %{buildroot}%{_sysconfdir}/OpenCL/vendors/ # Create /etc/ld.so.conf.d/nvidia-gfxG04 mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/nvidia-gfxG04.conf <<EOF %{_prefix}/X11R6/%{_lib} %ifarch s390x sparc64 x86_64 ppc64 %{_prefix}/X11R6/lib %endif %ifarch ppc %{_prefix}/X11R6/lib64 %endif EOF # Get rid of gtk2 deps on Tumbleweeed %if 0%{?suse_version} >= 1550 rm %{buildroot}/%{_libdir}/libnvidia-gtk2.so.%{version} %endif # Vulkan driver config (boo#1051988) mkdir -p %{buildroot}/etc/vulkan/icd.d/ %if 0%{?suse_version} >= 1330 sed 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template > %{buildroot}/etc/vulkan/icd.d/nvidia_icd.json %else sed 's/__NV_VK_ICD__/libGL.so.1/' nvidia_icd.json.template > %{buildroot}/etc/vulkan/icd.d/nvidia_icd.json %endif # EGL driver config mkdir -p %{buildroot}/%{_datadir}/egl/egl_external_platform.d install -m 644 10_nvidia_wayland.json %{buildroot}/%{_datadir}/egl/egl_external_platform.d # use libglvnd on TW/sle15 %if 0%{?suse_version} >= 1330 rm %{buildroot}/etc/ld.so.conf.d/nvidia-gfxG04.conf \ %{buildroot}/usr/X11R6/lib*/libEGL.so.* \ %{buildroot}/usr/X11R6/lib*/libGL.so* \ %{buildroot}/usr/X11R6/lib*/libGLESv1_CM.so.* \ %{buildroot}/usr/X11R6/lib*/libGLESv2.so.* \ %{buildroot}/usr/X11R6/lib*/libGLdispatch.so.* \ %{buildroot}/usr/X11R6/lib*/libOpenGL.so.* mv %{buildroot}/usr/X11R6/%{_lib}/* %{buildroot}/%{_libdir}/ %ifarch x86_64 mv %{buildroot}/usr/X11R6/lib/* %{buildroot}/%{_prefix}/lib/ %endif rmdir %{buildroot}/usr/X11R6/lib* \ %{buildroot}/usr/X11R6 mkdir -p %{buildroot}/%{_datadir}/glvnd/egl_vendor.d install -m 644 10_nvidia.json %{buildroot}/%{_datadir}/glvnd/egl_vendor.d %endif %if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) install -d %{buildroot}/%{_sysconfdir}/alternatives \ %{buildroot}/%{_libdir}/nvidia mv %{buildroot}/%{_libdir}/libOpenCL.so.1* %{buildroot}/%{_libdir}/nvidia # dummy target for update-alternatives ln -s %{_sysconfdir}/alternatives/libOpenCL.so.1 %{buildroot}/%{_libdir}/libOpenCL.so.1 ln -s %{_libdir}/nvidia/libOpenCL.so.1 %{buildroot}/%{_sysconfdir}/alternatives/libOpenCL.so.1 %endif mkdir -p %{buildroot}/usr/lib/udev/rules.d cat > %{buildroot}/usr/lib/udev/rules.d/61-nvidiaG04.rules << EOF # disable Wayland for nvidia G04 driver DRIVER=="nvidia", RUN+="/usr/libexec/gdm/gdm-disable-wayland" EOF %post /sbin/ldconfig # Bug #345125 test -f %{xlibdir}/modules/drivers/nvidia_drv.so && \ touch %{xlibdir}/modules/drivers/nvidia_drv.so test -f %{xmodulesdir}/drivers/nvidia_drv.so && \ touch %{xmodulesdir}/drivers/nvidia_drv.so if ls var/lib/hardware/ids/* &> /dev/null; then > var/lib/hardware/hd.ids for i in var/lib/hardware/ids/*; do cat $i >> var/lib/hardware/hd.ids done fi %if 0%{?suse_version} < 1330 test -f etc/sysconfig/displaymanager && \ . etc/sysconfig/displaymanager if [ "${DISPLAYMANAGER_XSERVER}" == "X.%{name}" ]; then # broken entry in /etc/sysconfig/displaymanager:DISPLAYMANAGER_XSERVER # use a sane default instead DISPLAYMANAGER_XSERVER=Xorg fi sed -i s/REPLACE_ME/${DISPLAYMANAGER_XSERVER}/g usr/bin/X.%{name} test -f etc/sysconfig/displaymanager && \ sed -i 's/DISPLAYMANAGER_XSERVER=.*/DISPLAYMANAGER_XSERVER=X.%{name}/g' \ etc/sysconfig/displaymanager test -x /etc/X11/xdm/SuSEconfig.xdm && \ /etc/X11/xdm/SuSEconfig.xdm %endif exit 0 %postun /sbin/ldconfig if [ "$1" -eq 0 ]; then if ls var/lib/hardware/ids/* &> /dev/null; then > var/lib/hardware/hd.ids for i in var/lib/hardware/ids/*; do cat $i >> var/lib/hardware/hd.ids done else rm -f var/lib/hardware/hd.ids fi # xorg.conf no longer been used since sle12 if test -x /opt/gnome/bin/gnome-xgl-switch; then /opt/gnome/bin/gnome-xgl-switch --disable-xgl elif test -x /usr/bin/xgl-switch; then /usr/bin/xgl-switch --disable-xgl fi # Make sure that after driver uninstall /var/lib/X11/X link points # to a valid Xserver binary again (bnc#903732) %if 0%{?suse_version} < 1330 test -x /etc/X11/xdm/SuSEconfig.xdm && \ /etc/X11/xdm/SuSEconfig.xdm %endif fi exit 0 %if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) %post -n nvidia-computeG04 # apparently needed when updating from a pre update-alternatives package ... rm -f %{_libdir}/libOpenCL.so.1.* %{_sbindir}/update-alternatives --force --install \ %{_libdir}/libOpenCL.so.1 libOpenCL.so.1 %{_libdir}/nvidia/libOpenCL.so.1 100 /sbin/ldconfig %preun -n nvidia-computeG04 if [ "$1" = 0 ] ; then %{_sbindir}/update-alternatives --remove libOpenCL.so.1 %{_libdir}/nvidia/libOpenCL.so.1 fi %else %post -n nvidia-computeG04 -p /sbin/ldconfig %endif %postun -n nvidia-computeG04 -p /sbin/ldconfig %if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) %posttrans -n nvidia-computeG04 if [ "$1" = 0 ] ; then if ! [ -f %{_libdir}/libOpenCl.so.1 ] ; then "%{_sbindir}/update-alternatives" --auto libOpenCL.so.1 fi fi %endif %post -n nvidia-glG04 %_sbindir/update-alternatives \ --force --install %{_libdir}/xorg/modules/extensions/libglx.so libglx.so %{_libdir}/xorg/modules/extensions/nvidia/nvidia-libglx.so 100 # make sure nvidia becomes the default (in case the link group is/was still in manual mode) %_sbindir/update-alternatives \ --set libglx.so %{_libdir}/xorg/modules/extensions/nvidia/nvidia-libglx.so # Optimus systems if lspci -n | grep -e '^..:..\.. 0300: ' | cut -d " " -f3 | cut -d ":" -f1 | grep -q 8086; then # Support is available since sle15-sp1/Leap 15.1 if [ -x /usr/sbin/prime-select ]; then # Use current setting or enable it by default if not configured yet (boo#1121246) # Don't try to run it during driver update or in secureboot since it will fail anyway when # executing 'nvidia-xconfig --query-gpu-info'. This tool is driver version specific and # needs the appropriate driver kernel modules loaded, which is not possible during driver update # (old modules still loaded) and in secureboot mode (modules can't be loaded without the signing # key registered). (boo#1205642) result=$(/usr/sbin/prime-select get-current|grep "Driver configured:"|cut -d ":" -f2|sed 's/ //g') case "$result" in nvidia|offload) if [ "$1" = 2 ] ; then true else mokutil --sb-state | grep -q "SecureBoot enabled" || \ /usr/sbin/prime-select $result fi ;; intel|intel2) /usr/sbin/prime-select $result ;; *) mokutil --sb-state | grep -q "SecureBoot enabled" || \ /usr/sbin/prime-select nvidia ;; esac else # Disable it before sle15-sp1/Leap 15.1 (bnc#902667) %_sbindir/update-alternatives \ --set libglx.so %{_libdir}/xorg/modules/extensions/xorg/xorg-libglx.so %if 0%{?suse_version} < 1330 # use libglvnd since sle15/on TW sed -i 's/\(^\/.*\)/#\1/g' %{_sysconfdir}/ld.so.conf.d/nvidia-gfxG04.conf %endif fi elif [ -x /usr/sbin/prime-select ]; then # suse-prime package mistakenly (still) installed; make sure nvidia # kernel modules are not blacklisted /usr/sbin/prime-select nvidia fi /sbin/ldconfig %postun -n nvidia-glG04 /sbin/ldconfig if [ "$1" = 0 ] ; then # Avoid accidental removal of G<n+1> alternative (bnc#802624) if [ ! -f %{_libdir}/xorg/modules/extensions/nvidia/nvidia-libglx.so ]; then "%_sbindir/update-alternatives" --remove libglx.so %{_libdir}/xorg/modules/extensions/nvidia/nvidia-libglx.so fi # Support is available since sle15-sp1/Leap 15.1 if [ -x /usr/sbin/prime-select ]; then #cleanup /usr/sbin/prime-select unset fi fi %post -n libvdpau1 -p /sbin/ldconfig %postun -n libvdpau1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc %{_datadir}/doc/packages/%{name} %doc %{_mandir}/man1/* %exclude %{_mandir}/man1/nvidia-cuda-mps-control.1.gz %dir %{_datadir}/nvidia %{_datadir}/nvidia/nvidia-application-profiles-%{version}-rc %{_datadir}/nvidia/nvidia-application-profiles-%{version}-key-documentation %if 0%{?suse_version} < 1330 %{_bindir}/X.%{name} %endif %{_bindir}/nvidia* %exclude %{_bindir}/nvidia-modprobe %exclude %{_bindir}/nvidia-smi %exclude %{_bindir}/nvidia-cuda-mps-control %exclude %{_bindir}/nvidia-cuda-mps-server %if 0%{?suse_version} < 1330 %dir %{_prefix}/X11R6/ %dir %{_prefix}/X11R6/%{_lib} %endif %if 0%{?suse_version} < 1330 %{_prefix}/X11R6/%{_lib}/lib* %exclude %{_prefix}/X11R6/%{_lib}/libGL.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLX_nvidia.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLdispatch.so* %exclude %{_prefix}/X11R6/%{_lib}/libEGL.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLESv1_CM.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLESv2.so* %exclude %{_prefix}/X11R6/%{_lib}/libEGL_nvidia.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLESv1_CM_nvidia.so* %exclude %{_prefix}/X11R6/%{_lib}/libGLESv2_nvidia.so* %exclude %{_prefix}/X11R6/%{_lib}/libOpenGL.so* %else %exclude %{_prefix}/%{_lib}/libGLX_nvidia.so* %exclude %{_prefix}/%{_lib}/libEGL_nvidia.so* %exclude %{_prefix}/%{_lib}/libGLESv1_CM_nvidia.so* %exclude %{_prefix}/%{_lib}/libGLESv2_nvidia.so* %endif %exclude %{_libdir}/libnvidia-glcore.so* %exclude %{_libdir}/libnvidia-ifr.so* %exclude %{_libdir}/libnvidia-fbc.so* %exclude %{_libdir}/libnvidia-egl-wayland.so* %dir %{_libdir}/vdpau %{_libdir}/lib* %{_libdir}/vdpau/* %exclude %{_libdir}/libnvidia-tls.so* %exclude %{_libdir}/libcuda.so* %exclude %{_libdir}/libOpenCL.so* %exclude %{_libdir}/libnvidia-ml.so* %exclude %{_libdir}/libnvidia-opencl.so* %exclude %{_libdir}/libnvidia-fatbinaryloader.so* %exclude %{_libdir}/libnvidia-glsi.so* %exclude %{_libdir}/libnvidia-eglcore.so* %exclude %{_libdir}/libnvidia-ptxjitcompiler.so* %dir %{xlibdir} %dir %{xlibdir}/modules %dir %{xmodulesdir} %{xmodulesdir}/drivers %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png %exclude %{_bindir}/nvidia-xconfig %exclude %{_prefix}/%{_lib}/libnvidia-cfg.so.* %dir /usr/lib/udev %dir /usr/lib/udev/rules.d /usr/lib/udev/rules.d/61-nvidiaG04.rules %files -n nvidia-computeG04 %defattr(-,root,root) %dir %{_sysconfdir}/OpenCL %dir %{_sysconfdir}/OpenCL/vendors %config %{_sysconfdir}/OpenCL/vendors/nvidia.icd %{_mandir}/man1/nvidia-cuda-mps-control.1.gz %{_libdir}/libcuda.so* %if (0%{?sle_version} >= 150100 || 0%{?suse_version} >= 1550) %dir %{_libdir}/nvidia %{_libdir}/nvidia/libOpenCL.so* %ghost %{_libdir}/libOpenCL.so.1 %ghost %{_sysconfdir}/alternatives/libOpenCL.so.1 %else %{_libdir}/libOpenCL.so* %endif %{_libdir}/libnvidia-ml.so* %{_libdir}/libnvidia-opencl.so* %{_libdir}/libnvidia-fatbinaryloader.so* %{_libdir}/libnvidia-ptxjitcompiler.so* %{_bindir}/nvidia-smi %{_bindir}/nvidia-cuda-mps-control %{_bindir}/nvidia-cuda-mps-server %{_bindir}/nvidia-modprobe %files -n nvidia-glG04 %defattr(-,root,root) %dir /etc/vulkan %dir /etc/vulkan/icd.d %dir %{_datadir}/egl %dir %{_datadir}/egl/egl_external_platform.d %config /etc/vulkan/icd.d/nvidia_icd.json %config %{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json %if 0%{?suse_version} >= 1330 %dir %{_datadir}/glvnd %dir %{_datadir}/glvnd/egl_vendor.d %config %{_datadir}/glvnd/egl_vendor.d/10_nvidia.json %endif %if 0%{?suse_version} < 1330 %config %{_sysconfdir}/ld.so.conf.d/nvidia-gfxG04.conf %endif %if 0%{?suse_version} < 1330 %{_prefix}/X11R6/%{_lib}/libGL.so* %{_prefix}/X11R6/%{_lib}/libGLX_nvidia.so* %{_prefix}/X11R6/%{_lib}/libGLdispatch.so* %{_prefix}/X11R6/%{_lib}/libEGL.so* %{_prefix}/X11R6/%{_lib}/libGLESv1_CM.so* %{_prefix}/X11R6/%{_lib}/libGLESv2.so* %{_prefix}/X11R6/%{_lib}/libEGL_nvidia.so* %{_prefix}/X11R6/%{_lib}/libGLESv1_CM_nvidia.so* %{_prefix}/X11R6/%{_lib}/libGLESv2_nvidia.so* %{_prefix}/X11R6/%{_lib}/libOpenGL.so* %else %{_prefix}/%{_lib}/libGLX_nvidia.so* %{_prefix}/%{_lib}/libEGL_nvidia.so* %{_prefix}/%{_lib}/libGLESv1_CM_nvidia.so* %{_prefix}/%{_lib}/libGLESv2_nvidia.so* %endif %{_libdir}/libnvidia-glcore.so* %{_libdir}/libnvidia-ifr.so* %{_libdir}/libnvidia-fbc.so* %{_libdir}/libnvidia-egl-wayland.so* %{_libdir}/libnvidia-tls.so* %{_libdir}/libnvidia-glsi.so* %{_libdir}/libnvidia-eglcore.so* %if 0%{?suse_version} < 1550 %dir %{_libdir}/tls %{_libdir}/tls/libnvidia-tls.so* %endif %{xmodulesdir}/extensions %{_bindir}/nvidia-xconfig %{_prefix}/%{_lib}/libnvidia-cfg.so.* %ifarch x86_64 %files -n x11-video-nvidiaG04-32bit %defattr(-,root,root) %if 0%{?suse_version} < 1330 %dir %{_prefix}/X11R6/lib %endif %if 0%{?suse_version} < 1330 %{_prefix}/X11R6/lib/lib* %exclude %{_prefix}/X11R6/lib/libGL.so* %exclude %{_prefix}/X11R6/lib/libGLX_nvidia.so* %exclude %{_prefix}/X11R6/lib/libGLdispatch.so* %exclude %{_prefix}/X11R6/lib/libEGL.so* %exclude %{_prefix}/X11R6/lib/libGLESv1_CM.so* %exclude %{_prefix}/X11R6/lib/libGLESv2.so* %exclude %{_prefix}/X11R6/lib/libEGL_nvidia.so* %exclude %{_prefix}/X11R6/lib/libGLESv1_CM_nvidia.so* %exclude %{_prefix}/X11R6/lib/libGLESv2_nvidia.so* %exclude %{_prefix}/X11R6/lib/libOpenGL.so* %else %exclude %{_prefix}/lib/libGLX_nvidia.so* %exclude %{_prefix}/lib/libEGL_nvidia.so* %exclude %{_prefix}/lib/libGLESv1_CM_nvidia.so* %exclude %{_prefix}/lib/libGLESv2_nvidia.so* %endif %exclude %{_prefix}/lib/libnvidia-glcore.so* %exclude %{_prefix}/lib/libnvidia-ifr.so* %exclude %{_prefix}/lib/libnvidia-eglcore.so* %exclude %{_prefix}/lib/libnvidia-glsi.so* %dir %{_prefix}/lib/vdpau %{_prefix}/lib/lib* %{_prefix}/lib/vdpau/* %exclude %{_prefix}/lib/libnvidia-tls.so* %exclude %{_prefix}/lib/libcuda.so* %exclude %{_prefix}/lib/libOpenCL.so* %exclude %{_prefix}/lib/libnvidia-ml.so* %exclude %{_prefix}/lib/libnvidia-opencl.so* %exclude %{_prefix}/lib/libnvidia-fatbinaryloader.so* %exclude %{_prefix}/lib/libnvidia-ptxjitcompiler.so* %files -n nvidia-computeG04-32bit %defattr(-,root,root) %{_prefix}/lib/libcuda.so* %{_prefix}/lib/libOpenCL.so* %{_prefix}/lib/libnvidia-ml.so* %{_prefix}/lib/libnvidia-opencl.so* %{_prefix}/lib/libnvidia-fatbinaryloader.so* %{_prefix}/lib/libnvidia-ptxjitcompiler.so* %files -n nvidia-glG04-32bit %defattr(-,root,root) %if 0%{?suse_version} < 1330 %{_prefix}/X11R6/lib/libGL.so* %{_prefix}/X11R6/lib/libGLX_nvidia.so* %{_prefix}/X11R6/lib/libGLdispatch.so* %{_prefix}/X11R6/lib/libEGL.so* %{_prefix}/X11R6/lib/libGLESv1_CM.so* %{_prefix}/X11R6/lib/libGLESv2.so* %{_prefix}/X11R6/lib/libEGL_nvidia.so* %{_prefix}/X11R6/lib/libGLESv1_CM_nvidia.so* %{_prefix}/X11R6/lib/libGLESv2_nvidia.so* %{_prefix}/X11R6/lib/libOpenGL.so* %else %{_prefix}/lib/libGLX_nvidia.so* %{_prefix}/lib/libEGL_nvidia.so* %{_prefix}/lib/libGLESv1_CM_nvidia.so* %{_prefix}/lib/libGLESv2_nvidia.so* %endif %{_prefix}/lib/libnvidia-glcore.so* %{_prefix}/lib/libnvidia-ifr.so* %{_prefix}/lib/libnvidia-eglcore.so* %{_prefix}/lib/libnvidia-glsi.so* %{_prefix}/lib/libnvidia-tls.so* %if 0%{?suse_version} < 1550 %dir %{_prefix}/lib/tls %{_prefix}/lib/tls/libnvidia-tls.so* %endif %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor