Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv10268/devel
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Missing directory creation
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.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- xorg-x11-drv-nvidia.spec 28 Oct 2012 20:31:38 -0000 1.89
+++ xorg-x11-drv-nvidia.spec 9 Nov 2012 09:43:16 -0000 1.90
@@ -1,4 +1,5 @@
%global nvidialibdir %{_libdir}/nvidia
+%global nvidiaxorgdir %{_libdir}/nvidia/xorg
%global ignoreabi 0
%global debug_package %{nil}
@@ -6,8 +7,8 @@
Name: xorg-x11-drv-nvidia
Epoch: 1
-Version: 310.14
-Release: 2%{?dist}
+Version: 304.64
+Release: 1%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support
@@ -50,6 +51,11 @@
Requires(post): ldconfig
#Requires(preun): chkconfig
+%if 0%{?fedora} == 16
+Conflicts: selinux-policy-targeted < 3.10.0-53
+%endif
+
+
Provides: nvidia-kmod-common = %{?epoch}:%{version}
Conflicts: xorg-x11-drv-nvidia-beta
@@ -73,12 +79,13 @@
%filter_from_provides /^libGLCore\.so/d;
%filter_from_provides /^libGL\.so/d;
%filter_from_provides /^libvdpau_nvidia\.so\.1/d;
+%filter_from_provides /^libXvMCNVIDIA_dynamic\.so\.1/d;
%filter_from_provides /^libglx\.so/d;
%filter_from_requires /^libnvidia/d;
%filter_from_requires /^libGLCore\.so/d;
%filter_from_requires /^libGL\.so/d;
-%filter_from_requires /^libnvcuvid/d;
%filter_from_requires /^libvdpau_nvidia\.so\.1/d;
+%filter_from_requires /^libXvMCNVIDIA_dynamic\.so\.1/d;
%filter_from_requires /^libglx\.so/d;
%filter_setup
}
@@ -184,16 +191,21 @@
install -p -m 0755 libOpenCL.so.1.0.0 $RPM_BUILD_ROOT%{nvidialibdir}/
install -p -m 0755 tls/lib*.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/tls/
+#
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/
+mkdir -p %{nvidiaxorgdir}
+
# .. but some in a different place
-install -m 0755 -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/
-install -m 0755 -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/
+install -m 0755 -d $RPM_BUILD_ROOT%{nvidiaxorgdir}
+install -m 0755 -d $RPM_BUILD_ROOT%{nvidiaxorgdir}
rm -f $RPM_BUILD_ROOT%{nvidialibdir}/lib{nvidia-wfb,glx,vdpau*}.so.%{version}
# Finish up the special case libs
-install -p -m 0755 libnvidia-wfb.so.%{version}
$RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/
-install -p -m 0755 libglx.so.%{version}
$RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/
+install -p -m 0755 libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{nvidiaxorgdir}
+install -p -m 0755 libglx.so.%{version} $RPM_BUILD_ROOT%{nvidiaxorgdir}
install -p -m 0755 nvidia_drv.so
$RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/
install -p -m 0755 libvdpau*.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/
+install -p -m 0644 libXvMCNVIDIA.a $RPM_BUILD_ROOT%{nvidialibdir}/
# Install binaries
install -p -m 0755 nvidia-{bug-report.sh,smi,cuda-proxy-control,cuda-proxy-server}
$RPM_BUILD_ROOT%{_bindir}
@@ -321,9 +333,9 @@
%{_bindir}/nvidia-cuda-proxy-server
#{_sbindir}/nvidia-config-display
# Xorg libs that do not need to be multilib
-%dir %{_libdir}/xorg/modules/extensions/nvidia
+%dir %{nvidiaxorgdir}
+%{nvidiaxorgdir}/*.so*
%{_libdir}/xorg/modules/drivers/nvidia_drv.so
-%{_libdir}/xorg/modules/extensions/nvidia/*.so*
#/no_multilib
%{_datadir}/pixmaps/*.png
%{_mandir}/man1/nvidia-smi.*
@@ -336,7 +348,6 @@
%config %{_sysconfdir}/ld.so.conf.d/nvidia-%{_lib}.conf
%{nvidialibdir}/*.so.*
%{nvidialibdir}/libcuda.so
-%{nvidialibdir}/libnvcuvid.so
%{nvidialibdir}/libnvidia-glcore.so
%{nvidialibdir}/tls/*.so*
%exclude %{_libdir}/vdpau/libvdpau.*
@@ -345,22 +356,25 @@
%files devel
%defattr(-,root,root,-)
+%exclude %{nvidialibdir}/libXvMCNVIDIA.a
%exclude %{nvidialibdir}/libcuda.so
%{_includedir}/nvidia/
%{nvidialibdir}/libOpenCL.so
%{nvidialibdir}/libnvidia-compiler.so
%{nvidialibdir}/libGL.so
+%{nvidialibdir}/libXvMCNVIDIA.so
+%{nvidialibdir}/libnvcuvid.so
%{nvidialibdir}/libnvidia-ml.so
%{nvidialibdir}/libnvidia-opencl.so
-%{nvidialibdir}/libnvidia-encode.so
%changelog
-* Tue Oct 16 2012 Leigh Scott <leigh123linux(a)googlemail.com> - 1:310.14-2
-- move libnvcuvid.so to main package
+* Thu Nov 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1:304.64-1
+- Update to 304.64
+- Move nvidia xorg libraries to _libdir/nvidia/xorg - rfbz#2264
-* Tue Oct 16 2012 Leigh Scott <leigh123linux(a)googlemail.com> - 1:310.14-1
-- Update to 310.14
+* Thu Oct 18 2012 Leigh Scott <leigh123linux(a)googlemail.com> - 1:304.60-1
+- Update to 304.60
* Mon Sep 24 2012 Leigh Scott <leigh123linux(a)googlemail.com> - 1:304.51-1
- Update to 304.51
Show replies by date