- R: xorg-xserver-server
[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
22d6cc34 6%bcond_without incall # include all tarballs
1820d34b 7%bcond_without userspace # don't build userspace programs
28142503 8%bcond_with verbose # verbose build (V=1)
28142503
PS
9#
10%define _nv_ver 1.0
624bfcce 11%define _nv_rel 8756
85d12cdd 12%define _min_x11 6.7.0
624bfcce 13%define _rel 0.1
28142503 14#
22d6cc34 15%define need_x86 0
16%define need_x8664 0
17%if %{with incall}
18%define need_x86 1
19%define need_x8664 1
20%else
21%ifarch %{ix86}
22%define need_x86 1
23%endif
24%ifarch %{x8664}
25%define need_x8664 1
26%endif
27%endif
28#
28142503
PS
29Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
30Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
eb6ba6c9 31Name: xorg-driver-video-nvidia
28142503 32Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
33Release: %{_rel}
34License: nVidia Binary
35Vendor: nVidia Corp.
4a185d32 36Group: X11
2317af94 37# why not pkg0!?
22d6cc34 38%if %{need_x86}
21ff1e1d 39Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
624bfcce 40# Source0-md5: 67293549b90f549ca9210743eaa5b09c
22d6cc34 41%endif
42%if %{need_x8664}
21ff1e1d 43Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run
624bfcce 44# Source1-md5: cbefbe43bca916f536872a994da8dcec
22d6cc34 45%endif
624bfcce 46#Patch0: X11-driver-nvidia-gcc34.patch
eb6ba6c9 47Patch1: X11-driver-nvidia-GL.patch
fd51f334 48# http://www.minion.de/files/1.0-6629/
28142503 49URL: http://www.nvidia.com/object/linux.html
28142503 50BuildRequires: grep
82268c76 51%if %{with kernel}
28142503 52%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
82268c76 53%endif
28142503 54BuildRequires: %{kgcc_package}
1b927e61 55BuildRequires: rpmbuild(macros) >= 1.213
039c7221 56BuildRequires: sed >= 4.0
28142503 57BuildRequires: textutils
0ed6aeef 58BuildConflicts: XFree86-nvidia
8343d24d 59Requires: xorg-xserver-server
2d490dca 60Provides: X11-OpenGL-core
d51a14b9 61Provides: X11-OpenGL-libGL
28142503 62Provides: XFree86-OpenGL-core
d51a14b9 63Provides: XFree86-OpenGL-libGL
624bfcce 64Provides: OpenGL = 1.5
65Provides: OpenGL-GLX
66Provides: xorg-xserver-modules-libglx
28142503 67Obsoletes: Mesa
d51a14b9 68Obsoletes: X11-OpenGL-core
69Obsoletes: X11-OpenGL-libGL
28142503
PS
70Obsoletes: XFree86-OpenGL-core
71Obsoletes: XFree86-OpenGL-libGL
2d490dca 72Obsoletes: XFree86-driver-nvidia
28142503
PS
73Obsoletes: XFree86-nvidia
74Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 75ExclusiveArch: %{ix86} %{x8664}
28142503
PS
76BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
77
03da6314 78%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503
PS
79
80%description
0ed6aeef 81This driver set adds improved 2D functionality to the Xorg/XFree86 X
28142503
PS
82server as well as high performance OpenGL acceleration, AGP support,
83support for most flat panels, and 2D multiple monitor support.
84
85Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
86accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
0ed6aeef
JB
87the base Xorg/XFree86 install and are not supported by this driver
88set.
28142503
PS
89
90%description -l pl
0ed6aeef
JB
91Usprawnione sterowniki dla kart graficznych nVidia do serwera
92