- `-Wpointer-arith' killed.
[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
PS
9%define _nv_rel 6106
10%define _nv_pkg pkg1
85d12cdd 11%define _min_x11 6.7.0
d4a34ce2 12%define _rel 1
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
d4a34ce2 23# Source0-md5: 5432f919f0211ce36b854d87108d7db0
2d490dca 24Patch0: %{name}-gcc34.patch
431c5035 25Patch1: %{name}-Makefile.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 38Provides: X11-OpenGL-core
d51a14b9 39Provides: X11-OpenGL-libGL
28142503 40Provides: XFree86-OpenGL-core
d51a14b9 41Provides: XFree86-OpenGL-libGL
42Provides: XFree86-driver-nvidia
28142503 43Obsoletes: Mesa
d51a14b9 44Obsoletes: X11-OpenGL-core
45Obsoletes: X11-OpenGL-libGL
28142503
PS
46Obsoletes: XFree86-OpenGL-core
47Obsoletes: XFree86-OpenGL-libGL
2d490dca 48Obsoletes: XFree86-driver-nvidia
28142503
PS
49Obsoletes: XFree86-nvidia
50Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
51ExclusiveArch: %{ix86}
52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
03da6314 54%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503
PS
55%define _prefix /usr/X11R6
56
57%description
58This driver set adds improved 2D functionality to the XFree86 4.0 X
59server as well as high performance OpenGL acceleration, AGP support,
60support for most flat panels, and 2D multiple monitor support.
61
62Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
63accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
64the base XFree86 4.0 install and are not supported by this driver set.
65
66Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
67
68%description -l pl
69Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
70