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