xorg-driver-nvidia-legacy2.spec

Paweł Żuk redstorm15 w gmail.com
Czw, 18 Paź 2007, 21:36:50 CEST


2007/10/18, Paweł Żuk <redstorm15 w gmail.com>:
[ciach]

Ups, z tego co widzę wcięło mi załącznik, więc wklejam go bezpośrednio:

--- xorg-driver-video-nvidia-legacy2.spec.orig	2007-10-18
20:55:12.000000000 +0200
+++ xorg-driver-video-nvidia-legacy2.spec	2007-10-18 21:21:42.000000000 +0200
@@ -9,8 +9,8 @@
 #
 %define		no_install_post_strip 1
 #
-%define		_nv_ver		1.0
-%define		_nv_rel		9639
+%define		_nv_ver		96
+%define		_nv_rel		43.01
 %define		_min_x11	6.7.0
 %define		_rel		4
 #
@@ -36,12 +36,12 @@
 License:	nVidia Binary
 Group:		X11
 %if %{need_x86}
-Source0:	http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
-# Source0-md5:	b277a5a05f6e8e4e0cd388ea9203e4f5
+Source0:	http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}.%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}.%{_nv_rel}-pkg1.run
+# Source0-md5:	66f8b5e243aad22162e40d0f05f0bf1e
 %endif
 %if %{need_x8664}
-Source1:	http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
-# Source1-md5:	c84db1dd38a965e9074e14f59ecd2331
+Source1:	http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}.%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}.%{_nv_rel}-pkg2.run
+# Source1-md5:	a908a02dc58ddec526184dda18bf4ea5
 %endif
 Patch0:		X11-driver-nvidia-GL.patch
 Patch1:		X11-driver-nvidia-desktop.patch
@@ -53,7 +53,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.379
 BuildConflicts:	XFree86-nvidia
 Requires:	xorg-xserver-server
-Requires:	xorg-xserver-server(videodrv-abi) = 1.2
+Requires:	xorg-xserver-server(videodrv-abi) = 2.0
 Provides:	OpenGL = 2.1
 Provides:	OpenGL-GLX = 1.4
 Provides:	xorg-xserver-libglx
@@ -183,13 +183,13 @@

 %prep
 cd %{_builddir}
-rm -rf NVIDIA-Linux-x86*-%{_nv_ver}-%{_nv_rel}-pkg*
+rm -rf NVIDIA-Linux-x86*-%{_nv_ver}.%{_nv_rel}-pkg*
 %ifarch %{ix86}
 /bin/sh %{SOURCE0} --extract-only
-%setup -qDT -n NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1
+%setup -qDT -n NVIDIA-Linux-x86-%{_nv_ver}.%{_nv_rel}-pkg1
 %else
 /bin/sh %{SOURCE1} --extract-only
-%setup -qDT -n NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2
+%setup -qDT -n NVIDIA-Linux-x86_64-%{_nv_ver}.%{_nv_rel}-pkg2
 %endif
 %patch0 -p1
 %patch1 -p1


Więcej informacji o liście dyskusyjnej pld-devel-pl