- updated to 1.0-7167
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
CommitLineData
28142503
PS
1#
2# Conditional build:
3%bcond_without dist_kernel # without distribution kernel
4%bcond_without smp # without smp packages
bf683e7a 5%bcond_without kernel # without kernel packages
28142503 6%bcond_with verbose # verbose build (V=1)
28142503
PS
7#
8%define _nv_ver 1.0
ba94a1cf 9%define _nv_rel 7167
85d12cdd 10%define _min_x11 6.7.0
ba94a1cf 11%define _rel 1
28142503
PS
12#
13Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
14Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
2d490dca 15Name: X11-driver-nvidia
28142503 16Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
17Release: %{_rel}
18License: nVidia Binary
19Vendor: nVidia Corp.
20Group: X11/XFree86
2317af94 21# why not pkg0!?
039c7221 22Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
ba94a1cf 23# Source0-md5: d88d606873be255e8c4926961a1f09bf
039c7221 24Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
ba94a1cf 25# Source1-md5: a0433d841c41862af266300b589c12a7
2d490dca 26Patch0: %{name}-gcc34.patch
0029e8cc 27Patch1: %{name}-GL.patch
26cf1083 28Patch2: %{name}-conftest.patch
fd51f334 29# http://www.minion.de/files/1.0-6629/
ba94a1cf 30Patch3: NVIDIA_kernel-1.0-7167-1233959.diff
31Patch4: NVIDIA_kernel-1.0-7167-1237815.diff
28142503
PS
32URL: http://www.nvidia.com/object/linux.html
33BuildConflicts: XFree86-nvidia
34BuildRequires: grep
35%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
36BuildRequires: %{kgcc_package}
37BuildRequires: rpmbuild(macros) >= 1.153
039c7221 38BuildRequires: sed >= 4.0
28142503 39BuildRequires: textutils
bf683e7a 40#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
2d490dca 41Requires: X11-Xserver
85d12cdd 42Requires: X11-libs >= %{_min_x11}
43Requires: X11-modules >= %{_min_x11}
2d490dca 44Provides: X11-OpenGL-core
d51a14b9 45Provides: X11-OpenGL-libGL
28142503 46Provides: XFree86-OpenGL-core
d51a14b9 47Provides: XFree86-OpenGL-libGL
28142503 48Obsoletes: Mesa
d51a14b9 49Obsoletes: X11-OpenGL-core
50Obsoletes: X11-OpenGL-libGL
28142503
PS
51Obsoletes: XFree86-OpenGL-core
52Obsoletes: XFree86-OpenGL-libGL
2d490dca 53Obsoletes: XFree86-driver-nvidia
28142503
PS
54Obsoletes: XFree86-nvidia
55Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
039c7221 56ExclusiveArch: %{ix86} amd64
28142503
PS
57BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
03da6314 59%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503 60%define _prefix /usr/X11R6
1fbeb625
JB
61%ifarch amd64
62%define _libdir32 %{_prefix}/lib
63%endif
28142503
PS
64
65%description
66This driver set adds improved 2D functionality to the XFree86 4.0 X
67server as well as high performance OpenGL acceleration, AGP support,
68support for most flat panels, and 2D multiple monitor support.
69
70Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
71accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
72the base XFree86 4.0 install and are not supported by this driver set.
73
74Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
75
76%description -l pl
77Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
78