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