Sync with devel

el9
Nicolas Chauvet 11 years ago
parent 0858fa8d15
commit b0444e4d06

@ -8,7 +8,7 @@
Name: xorg-x11-drv-nvidia Name: xorg-x11-drv-nvidia
Epoch: 1 Epoch: 1
Version: 325.15 Version: 325.15
Release: 1%{?dist} Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support Group: User Interface/X Hardware Support
@ -223,8 +223,10 @@ install -pm 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/
# Desktop entry for nvidia-settings # Desktop entry for nvidia-settings
desktop-file-install --vendor "" \ desktop-file-install --vendor "" \
--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \ --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
%if 0%{?rhel} > 6 || 0%{?fedora} >= 15
--set-icon=nvidia-settings \ --set-icon=nvidia-settings \
--set-key=Exec --set-value=nvidia-settings \ --set-key=Exec --set-value=nvidia-settings \
%endif
nvidia-settings.desktop nvidia-settings.desktop
#Workaround for self made xorg.conf using a Files section. #Workaround for self made xorg.conf using a Files section.
@ -406,13 +408,13 @@ fi
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%exclude %{_nvidia_libdir}/libcuda.so
%{_includedir}/nvidia/ %{_includedir}/nvidia/
%ifarch x86_64 i686 %ifarch x86_64 i686
%{_nvidia_libdir}/libOpenCL.so %{_nvidia_libdir}/libOpenCL.so
%{_nvidia_libdir}/libnvidia-compiler.so %{_nvidia_libdir}/libnvidia-compiler.so
%{_nvidia_libdir}/libnvidia-encode.so %{_nvidia_libdir}/libnvidia-encode.so
%endif %endif
%{_nvidia_libdir}/libcuda.so
%{_nvidia_libdir}/libGL.so %{_nvidia_libdir}/libGL.so
%{_nvidia_libdir}/libnvidia-glcore.so %{_nvidia_libdir}/libnvidia-glcore.so
%{_nvidia_libdir}/libnvidia-ifr.so %{_nvidia_libdir}/libnvidia-ifr.so
@ -422,6 +424,10 @@ fi
%{_nvidia_libdir}/libnvidia-vgxcfg.so %{_nvidia_libdir}/libnvidia-vgxcfg.so
%changelog %changelog
* Wed Oct 02 2013 Nicolas Chauvet <kwizart@gmail.com> - 1:325.15-2
- Avoid to exclude libcuda.so in devel
- Drop desktop-file-install options not supported on EL6
* Tue Aug 06 2013 Leigh Scott <leigh123linux@googlemail.com> - 1:325.15-1 * Tue Aug 06 2013 Leigh Scott <leigh123linux@googlemail.com> - 1:325.15-1
- Update to 325.15 release - Update to 325.15 release

Loading…
Cancel
Save