- define _min_x11
[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
9%define _nv_rel 5336
10%define _nv_pkg pkg0
85d12cdd 11%define _min_x11 6.7.0
12%define _rel 4
28142503
PS
13#
14Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
15Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
2d490dca 16Name: X11-driver-nvidia
28142503 17Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
18Release: %{_rel}
19License: nVidia Binary
20Vendor: nVidia Corp.
21Group: X11/XFree86
22Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-%{_nv_pkg}.run
23# Source0-md5: 2ceffa20391d5471b8a483101563eccb
2d490dca
PS
24Patch0: %{name}-gcc34.patch
25Patch1: %{name}-api_calls.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
32BuildRequires: textutils
2d490dca
PS
33Requires: X11-driver-nvidia(kernel)
34Requires: X11-Xserver
85d12cdd 35Requires: X11-libs >= %{_min_x11}
36Requires: X11-modules >= %{_min_x11}
28142503 37%{?with_tls:Requires: glibc(tls)}
2d490dca
PS
38Provides: X11-OpenGL-core
39Provides: XFree86-driver-nvidia
28142503
PS
40Provides: XFree86-OpenGL-core
41Obsoletes: Mesa
42Obsoletes: XFree86-OpenGL-core
43Obsoletes: XFree86-OpenGL-libGL
2d490dca 44Obsoletes: XFree86-driver-nvidia
28142503
PS
45Obsoletes: XFree86-nvidia
46Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
47ExclusiveArch: %{ix86}
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%define _noautoreqdep libGL.so.%{_nv_ver}.%{_nv_rel} libGLcore.so.%{_nv_ver}.%{_nv_rel}
51%define _prefix /usr/X11R6
52
53%description
54This driver set adds improved 2D functionality to the XFree86 4.0 X
55server as well as high performance OpenGL acceleration, AGP support,
56support for most flat panels, and 2D multiple monitor support.
57
58Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
59accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
60the base XFree86 4.0 install and are not supported by this driver set.
61
62Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
63
64%description -l pl
65Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
66