rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.149,1.150
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv27996
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Simplify filter_setup
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 15:12:09 -0000 1.149
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 15:21:20 -0000 1.150
@@ -55,23 +55,19 @@
Conflicts: xorg-x11-drv-fglrx
Conflicts: xorg-x11-drv-catalyst
+%if 0%{?fedora} || 0%{?rhel} >= 7
+%global __provides_exclude ^(lib.*GL.*\\.so.*|libOpenCL\\.so.*)$
+%global __requires_exclude ^(lib.*GL.*\\.so.*|libOpenCL\\.so.*)$
+%else
+
%{?filter_setup:
-%filter_from_provides /^libnvidia/d;
-%filter_from_provides /^libEGL\.so/d;
-%filter_from_provides /^libGLcore\.so/d;
-%filter_from_provides /^libGL\.so/d;
-%filter_from_provides /^libGLES.*\.so/d;
-%filter_from_provides /^libvdpau_nvidia\.so\.1/d;
-%filter_from_provides /^libglx\.so/d;
-%filter_from_requires /^libnvidia/d;
-%filter_from_requires /^libEGL\.so/d;
-%filter_from_requires /^libGLcore\.so/d;
-%filter_from_requires /^libGL\.so/d;
-%filter_from_requires /^libGLES.*\.so/d;
-%filter_from_requires /^libvdpau_nvidia\.so\.1/d;
-%filter_from_requires /^libglx\.so/d;
+%filter_from_provides /^lib.*GL.*\.so/d;
+%filter_from_provides /^libOpenCL\.so/d;
+%filter_from_requires /^lib.*GL.*\.so/d;
+%filter_from_requires /^libOpenCL\.so/d;
%filter_setup
}
+%endif
%description
This package provides the most recent NVIDIA display driver which allows for
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.148,1.149
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv27107
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Re-ordering
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -r1.148 -r1.149
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:44:23 -0000 1.148
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 15:12:09 -0000 1.149
@@ -25,6 +25,8 @@
Source8: 00-ignoreabi.conf
Source9: nvidia-settings.desktop
+ExclusiveArch: i686 x86_64 armv7hl
+
BuildRequires: desktop-file-utils
%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
Buildrequires: systemd
@@ -33,17 +35,14 @@
Requires(postun): systemd
%endif
-ExclusiveArch: i686 x86_64 armv7hl
+Requires(post): ldconfig
+Requires(postun): ldconfig
+Requires(post): grubby
+Requires: which
Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
-
-Requires: which
Requires: %{name}-libs%{_isa} = %{?epoch}:%{version}-%{release}
-Requires(post): ldconfig
-Requires(postun): ldconfig
-
-
Obsoletes: %{_nvidia_serie}-kmod < %{?epoch}:%{version}
Provides: %{_nvidia_serie}-kmod-common = %{?epoch}:%{version}
Conflicts: xorg-x11-drv-nvidia-beta
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.147,1.148
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv24269
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Move nvcuvid nvidia-encode into cuda
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:41:46 -0000 1.147
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:44:23 -0000 1.148
@@ -418,6 +418,8 @@
%{_nvidia_libdir}/alternate-install-present
%{_nvidia_libdir}/*.so.*
%exclude %{_nvidia_libdir}/libcuda.so*
+%exclude %{_nvidia_libdir}/libnvcuvid.so*
+%exclude %{_nvidia_libdir}/libnvidia-encode.so*
%ifarch x86_64 i686
%if 0%{?fedora} > 18
%exclude %{_nvidia_libdir}/libOpenCL.so.*
@@ -442,6 +444,8 @@
%attr(4755, root, root) %{_bindir}/nvidia-modprobe
%{_libdir}/libcuda.so*
%{_nvidia_libdir}/libcuda.so*
+%{_nvidia_libdir}/libnvcuvid.so*
+%{_nvidia_libdir}/libnvidia-encode.so*
%{_mandir}/man1/nvidia-smi.*
%{_mandir}/man1/nvidia-cuda-mps-control.1.*
%{_mandir}/man1/nvidia-persistenced.1.*
@@ -461,7 +465,6 @@
%{_nvidia_libdir}/tls/libnvidia-tls.so
%endif
%{_libdir}/vdpau/libvdpau_nvidia.so
-%{_nvidia_libdir}/libnvidia-encode.so
%{_nvidia_libdir}/libnvidia-ifr.so
%{_nvidia_libdir}/libEGL.so
%{_nvidia_libdir}/libGLESv1_CM.so
@@ -471,7 +474,6 @@
%{_nvidia_libdir}/libGL.so
%{_nvidia_libdir}/libnvidia-glcore.so
%{_nvidia_libdir}/libnvidia-fbc.so
-%{_nvidia_libdir}/libnvcuvid.so
%{_nvidia_libdir}/libnvidia-ml.so
%changelog
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.146,1.147
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv23952
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Exclude vendor provided OpenCL.so, we can use fedora one
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:18:45 -0000 1.146
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:41:46 -0000 1.147
@@ -419,6 +419,9 @@
%{_nvidia_libdir}/*.so.*
%exclude %{_nvidia_libdir}/libcuda.so*
%ifarch x86_64 i686
+%if 0%{?fedora} > 18
+%exclude %{_nvidia_libdir}/libOpenCL.so.*
+%endif
%dir %{_nvidia_libdir}/tls
%{_nvidia_libdir}/tls/*.so.*
%endif
@@ -448,7 +451,11 @@
%defattr(-,root,root,-)
%{_includedir}/nvidia/
%ifarch x86_64 i686
+%if 0%{?fedora} > 18
+%exclude %{_nvidia_libdir}/libOpenCL.so
+%else
%{_nvidia_libdir}/libOpenCL.so
+%endif
%{_nvidia_libdir}/libnvidia-compiler.so
%{_nvidia_libdir}/libnvidia-opencl.so
%{_nvidia_libdir}/tls/libnvidia-tls.so
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.145,1.146
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv21756
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Update description
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:11:42 -0000 1.145
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:18:45 -0000 1.146
@@ -76,11 +76,11 @@
%description
This package provides the most recent NVIDIA display driver which allows for
-hardware accelerated rendering with NVIDIA chipsets GeForce8 series and newer.
-GeForce7 and below are NOT supported by this release.
+hardware accelerated rendering with current NVIDIA chipsets series.
+GF8x, GF9x, and GT2xx GPUs NOT supported by this release.
For the full product support list, please consult the release notes
-for driver version %{version}.
+http://download.nvidia.com/XFree86/Linux-x86/%{version}/README/index.html
Please use the following documentation:
http://rpmfusion.org/Howto/nVidia
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.144,1.145
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv21092
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Conflicts 340xx for -cuda
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:10:37 -0000 1.144
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:11:42 -0000 1.145
@@ -103,6 +103,8 @@
Provides: nvidia-modprobe = %{version}-%{release}
Provides: nvidia-persistenced = %{version}-%{release}
+Conflicts: xorg-x11-drv-nvidia-340xx-cuda
+
#Don't put an epoch here
Provides: cuda-drivers = %{version}
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.143,1.144
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20944
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Add conflicts for 340xx
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 14:09:57 -0000 1.143
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:10:37 -0000 1.144
@@ -52,6 +52,7 @@
Conflicts: xorg-x11-drv-nvidia-96xx
Conflicts: xorg-x11-drv-nvidia-173xx
Conflicts: xorg-x11-drv-nvidia-304xx
+Conflicts: xorg-x11-drv-nvidia-340xx
Conflicts: xorg-x11-drv-fglrx
Conflicts: xorg-x11-drv-catalyst
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.142,1.143
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv20854
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Add systemd units macros since fedora 18
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -r1.142 -r1.143
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 13:50:44 -0000 1.142
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 14:09:57 -0000 1.143
@@ -319,7 +319,11 @@
%post libs -p /sbin/ldconfig
-%post cuda -p /sbin/ldconfig
+%post cuda
+/sbin/ldconfig
+%if 0%{?rhel} > 6 || 0%{?fedora} >= 18
+%systemd_post nvidia-persistenced.service
+%endif
%posttrans
[ -f %{_sysconfdir}/X11/xorg.conf ] || \
@@ -351,9 +355,18 @@
mv %{_sysconfdir}/X11/xorg.conf %{_sysconfdir}/X11/xorg.conf.%{name}_uninstalled &>/dev/null
fi ||:
+%if 0%{?rhel} > 6 || 0%{?fedora} >= 18
+%preun cuda
+%systemd_preun nvidia-persistenced.service
+%endif
+
%postun libs -p /sbin/ldconfig
-%postun cuda -p /sbin/ldconfig
+%postun cuda
+/sbin/ldconfig
+%if 0%{?rhel} > 6 || 0%{?fedora} >= 18
+%systemd_postun_with_restart nvidia-persistenced.service
+%endif
%files
%defattr(-,root,root,-)
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.141,1.142
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv18698
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Move cuda tools into a cuda subpackage
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -r1.141 -r1.142
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 13:34:23 -0000 1.141
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 13:50:44 -0000 1.142
@@ -35,15 +35,6 @@
ExclusiveArch: i686 x86_64 armv7hl
-#Obsoletes: nvidia-xconfig < 1.0-30
-#Provides: nvidia-xconfig = %{version}-%{release}
-#Obsoletes: nvidia-settings < 1.0-34
-#Provides: nvidia-settings = %{version}-%{release}
-#Obsoletes: nvidia-settings-desktop < 1.0-34
-#Provides: nvidia-settings-desktop = %{version}-%{release}
-Provides: nvidia-modprobe = %{version}-%{release}
-Provides: nvidia-persistenced = %{version}-%{release}
-
Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
Requires: which
@@ -108,6 +99,8 @@
Summary: CUDA libraries for %{name}
Group: Development/Libraries
Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
+Provides: nvidia-modprobe = %{version}-%{release}
+Provides: nvidia-persistenced = %{version}-%{release}
#Don't put an epoch here
Provides: cuda-drivers = %{version}
@@ -321,34 +314,8 @@
&>/dev/null
done
fi
-%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-%endif
fi || :
-%triggerpostun -- xorg-x11-drv-nvidia < 1:319.23-5
-if [ "$1" -eq "1" ]; then
- ISGRUB1=""
- if [[ -f /boot/grub/grub.conf && ! -f /boot/grub2/grub.cfg ]] ; then
- ISGRUB1="--grub"
- GFXPAYLOAD="vga=normal"
- else
- echo "GRUB_GFXPAYLOAD_LINUX=text" >> %{_sysconfdir}/default/grub
- grub2-mkconfig -o /boot/grub2/grub.cfg
- fi
- if [ -x /sbin/grubby ] ; then
- KERNELS=`/sbin/grubby --default-kernel`
- DIST=`rpm -E %%{?dist}`
- ARCH=`uname -m`
- [ -z $KERNELS ] && KERNELS=`ls /boot/vmlinuz-*${DIST}.${ARCH}*`
- for kernel in ${KERNELS} ; do
- /sbin/grubby $ISGRUB1 \
- --update-kernel=${kernel} \
- --args="nouveau.modeset=0 rd.driver.blacklist=nouveau video=vesa:off $GFXPAYLOAD" \
- &>/dev/null
- done
- fi
-fi || :
%post libs -p /sbin/ldconfig
@@ -379,25 +346,11 @@
done
fi
-%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
- /bin/systemctl --no-reload disable nvidia-persistenced.service > /dev/null 2>&1 || :
- /bin/systemctl stop nvidia-persistenced.service > /dev/null 2>&1 || :
-%endif
-
#Backup and disable previously used xorg.conf
[ -f %{_sysconfdir}/X11/xorg.conf ] && \
mv %{_sysconfdir}/X11/xorg.conf %{_sysconfdir}/X11/xorg.conf.%{name}_uninstalled &>/dev/null
fi ||:
-%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
-%postun
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-if [ $1 -ge 1 ] ; then
- # Package upgrade, not uninstall
- /bin/systemctl try-restart nvidia-persistenced.service >/dev/null 2>&1 || :
-fi
-%endif
-
%postun libs -p /sbin/ldconfig
%postun cuda -p /sbin/ldconfig
@@ -421,17 +374,8 @@
%config(noreplace) %{_prefix}/lib/modprobe.d/blacklist-nouveau.conf
%config(noreplace) %{_sysconfdir}/X11/nvidia-xorg.conf
%config %{_sysconfdir}/xdg/autostart/nvidia-settings.desktop
-%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
-%{_unitdir}/nvidia-persistenced.service
-%endif
%{_bindir}/nvidia-bug-report.sh
%{_bindir}/nvidia-debugdump
-%{_bindir}/nvidia-smi
-%{_bindir}/nvidia-cuda-mps-control
-%{_bindir}/nvidia-cuda-mps-server
-%{_bindir}/nvidia-persistenced
-#nvidia-modprobe is setuid root to allow users to load the module in
-%attr(4755, root, root) %{_bindir}/nvidia-modprobe
%{_bindir}/nvidia-settings
%{_bindir}/nvidia-xconfig
# Xorg libs that do not need to be multilib
@@ -446,10 +390,6 @@
%{_datadir}/pixmaps/*.png
%{_mandir}/man1/nvidia-settings.*
%{_mandir}/man1/nvidia-xconfig.*
-%{_mandir}/man1/nvidia-smi.*
-%{_mandir}/man1/nvidia-cuda-mps-control.1.*
-%{_mandir}/man1/nvidia-persistenced.1.*
-%{_mandir}/man1/nvidia-modprobe.1.*
%files kmodsrc
%dir %{_datadir}/nvidia-kmod-%{version}
@@ -472,8 +412,21 @@
%files cuda
%defattr(-,root,root,-)
+%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
+%{_unitdir}/nvidia-persistenced.service
+%endif
+%{_bindir}/nvidia-smi
+%{_bindir}/nvidia-cuda-mps-control
+%{_bindir}/nvidia-cuda-mps-server
+%{_bindir}/nvidia-persistenced
+#nvidia-modprobe is setuid root to allow users to load the module in
+%attr(4755, root, root) %{_bindir}/nvidia-modprobe
%{_libdir}/libcuda.so*
%{_nvidia_libdir}/libcuda.so*
+%{_mandir}/man1/nvidia-smi.*
+%{_mandir}/man1/nvidia-cuda-mps-control.1.*
+%{_mandir}/man1/nvidia-persistenced.1.*
+%{_mandir}/man1/nvidia-modprobe.1.*
%files devel
%defattr(-,root,root,-)
10 years, 4 months
rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.140,1.141
by Nicolas Chauvet
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv11587
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Preliminary split for cuda sub-package
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- xorg-x11-drv-nvidia.spec 7 Aug 2014 08:38:16 -0000 1.140
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 13:34:23 -0000 1.141
@@ -64,11 +64,6 @@
Conflicts: xorg-x11-drv-fglrx
Conflicts: xorg-x11-drv-catalyst
-
-#Support for cuda
-#Don't put an epoch here
-Provides: cuda-drivers = %{version}
-
%{?filter_setup:
%filter_from_provides /^libnvidia/d;
%filter_from_provides /^libEGL\.so/d;
@@ -103,11 +98,23 @@
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}-libs%{_isa} = %{?epoch}:%{version}-%{release}
+Requires: %{name}-cuda%{_isa} = %{?epoch}:%{version}-%{release}
%description devel
This package provides the development files of the %{name} package,
such as OpenGL headers.
+%package cuda
+Summary: CUDA libraries for %{name}
+Group: Development/Libraries
+Requires: %{_nvidia_serie}-kmod >= %{?epoch}:%{version}
+
+#Don't put an epoch here
+Provides: cuda-drivers = %{version}
+
+%description cuda
+This package provides the CUDA driver libraries.
+
%package kmodsrc
Summary: %{name} kernel module source code
Group: System Environment/Kernel
@@ -345,6 +352,8 @@
%post libs -p /sbin/ldconfig
+%post cuda -p /sbin/ldconfig
+
%posttrans
[ -f %{_sysconfdir}/X11/xorg.conf ] || \
cp -p %{_sysconfdir}/X11/nvidia-xorg.conf %{_sysconfdir}/X11/xorg.conf || :
@@ -391,6 +400,8 @@
%postun libs -p /sbin/ldconfig
+%postun cuda -p /sbin/ldconfig
+
%files
%defattr(-,root,root,-)
%doc nvidiapkg/LICENSE
@@ -450,6 +461,7 @@
%config %{_sysconfdir}/ld.so.conf.d/nvidia-%{_lib}.conf
%{_nvidia_libdir}/alternate-install-present
%{_nvidia_libdir}/*.so.*
+%exclude %{_nvidia_libdir}/libcuda.so*
%ifarch x86_64 i686
%dir %{_nvidia_libdir}/tls
%{_nvidia_libdir}/tls/*.so.*
@@ -457,8 +469,11 @@
%exclude %{_libdir}/vdpau/libvdpau.*
%{_libdir}/vdpau/libvdpau_nvidia.so.*
%exclude %{_libdir}/vdpau/libvdpau_trace.so*
-%{_libdir}/libcuda.so.1
-%{_libdir}/libcuda.so
+
+%files cuda
+%defattr(-,root,root,-)
+%{_libdir}/libcuda.so*
+%{_nvidia_libdir}/libcuda.so*
%files devel
%defattr(-,root,root,-)
@@ -477,7 +492,6 @@
%{_nvidia_libdir}/libGLESv2.so
%{_nvidia_libdir}/libnvidia-eglcore.so
%{_nvidia_libdir}/libnvidia-glsi.so
-%{_nvidia_libdir}/libcuda.so
%{_nvidia_libdir}/libGL.so
%{_nvidia_libdir}/libnvidia-glcore.so
%{_nvidia_libdir}/libnvidia-fbc.so
10 years, 4 months