- amd64 parts...
[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
5%bcond_with verbose # verbose build (V=1)
6%bcond_with tls # install libraries with tls support
7#
8%define _nv_ver 1.0
d4a34ce2 9%define _nv_rel 6106
85d12cdd 10%define _min_x11 6.7.0
d4a34ce2 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
039c7221 21Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
d4a34ce2 22# Source0-md5: 5432f919f0211ce36b854d87108d7db0
039c7221
PS
23Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
24# Source1-md5: 024f21a3fa134bee8339adac64bdc77a
2d490dca 25Patch0: %{name}-gcc34.patch
28142503
PS
26URL: http://www.nvidia.com/object/linux.html
27BuildConflicts: XFree86-nvidia
28BuildRequires: grep
29%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
30BuildRequires: %{kgcc_package}
31BuildRequires: rpmbuild(macros) >= 1.153
039c7221 32BuildRequires: sed >= 4.0
28142503 33BuildRequires: textutils
2d490dca
PS
34Requires: X11-driver-nvidia(kernel)
35Requires: X11-Xserver
85d12cdd 36Requires: X11-libs >= %{_min_x11}
37Requires: X11-modules >= %{_min_x11}
28142503 38%{?with_tls:Requires: glibc(tls)}
2d490dca 39Provides: X11-OpenGL-core
d51a14b9 40Provides: X11-OpenGL-libGL
28142503 41Provides: XFree86-OpenGL-core
d51a14b9 42Provides: XFree86-OpenGL-libGL
43Provides: XFree86-driver-nvidia
28142503 44Obsoletes: Mesa
d51a14b9 45Obsoletes: X11-OpenGL-core
46Obsoletes: X11-OpenGL-libGL
28142503
PS
47Obsoletes: XFree86-OpenGL-core
48Obsoletes: XFree86-OpenGL-libGL
2d490dca 49Obsoletes: XFree86-driver-nvidia
28142503
PS
50Obsoletes: XFree86-nvidia
51Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
039c7221 52ExclusiveArch: %{ix86} amd64
28142503
PS
53BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
03da6314 55%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503 56%define _prefix /usr/X11R6
039c7221 57%define _libdir32 %{_prefix}/lib32
28142503
PS
58
59%description
60This driver set adds improved 2D functionality to the XFree86 4.0 X
61server as well as high performance OpenGL acceleration, AGP support,
62support for most flat panels, and 2D multiple monitor support.
63
64Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
65accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
66the base XFree86 4.0 install and are not supported by this driver set.
67
68Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
69
70%description -l pl
71Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
72