- dropped.
[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
8f4af7b3 9%define _nv_rel 6629
85d12cdd 10%define _min_x11 6.7.0
1fdf7dcc 11%define _rel 3
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
8f4af7b3 23# Source0-md5: f7737c1e95371f37a4fd30da2f11e72c
039c7221 24Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
8f4af7b3 25# Source1-md5: 652e69f549c81a7a3f2806daa74b9c36
2d490dca 26Patch0: %{name}-gcc34.patch
0029e8cc 27Patch1: %{name}-GL.patch
26cf1083 28Patch2: %{name}-conftest.patch
8b2ba892
PS
29Patch3: %{name}-1165235.patch
30Patch4: %{name}-1171869.patch
28142503
PS
31URL: http://www.nvidia.com/object/linux.html
32BuildConflicts: XFree86-nvidia
33BuildRequires: grep
34%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
35BuildRequires: %{kgcc_package}
36BuildRequires: rpmbuild(macros) >= 1.153
039c7221 37BuildRequires: sed >= 4.0
28142503 38BuildRequires: textutils
bf683e7a 39#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
2d490dca 40Requires: X11-Xserver
85d12cdd 41Requires: X11-libs >= %{_min_x11}
42Requires: X11-modules >= %{_min_x11}
2d490dca 43Provides: X11-OpenGL-core
d51a14b9 44Provides: X11-OpenGL-libGL
28142503 45Provides: XFree86-OpenGL-core
d51a14b9 46Provides: XFree86-OpenGL-libGL
28142503 47Obsoletes: Mesa
d51a14b9 48Obsoletes: X11-OpenGL-core
49Obsoletes: X11-OpenGL-libGL
28142503
PS
50Obsoletes: XFree86-OpenGL-core
51Obsoletes: XFree86-OpenGL-libGL
2d490dca 52Obsoletes: XFree86-driver-nvidia
28142503
PS
53Obsoletes: XFree86-nvidia
54Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
039c7221 55ExclusiveArch: %{ix86} amd64
28142503
PS
56BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
03da6314 58%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503 59%define _prefix /usr/X11R6
1fbeb625
JB
60%ifarch amd64
61%define _libdir32 %{_prefix}/lib
62%endif
28142503
PS
63
64%description
65This driver set adds improved 2D functionality to the XFree86 4.0 X
66server as well as high performance OpenGL acceleration, AGP support,
67support for most flat panels, and 2D multiple monitor support.
68
69Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
70accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
71the base XFree86 4.0 install and are not supported by this driver set.
72
73Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
74
75%description -l pl
76Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
77