]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame - xorg-driver-video-nvidia.spec
- updated to 7667, this removes support for many old cars,
[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
28142503 7%bcond_with verbose # verbose build (V=1)
28142503
PS
8#
9%define _nv_ver 1.0
22d6cc34 10%define _nv_rel 7667
85d12cdd 11%define _min_x11 6.7.0
ee51d296 12%define _rel 3
28142503 13#
22d6cc34 14%define need_x86 0
15%define need_x8664 0
16%if %{with incall}
17%define need_x86 1
18%define need_x8664 1
19%else
20%ifarch %{ix86}
21%define need_x86 1
22%endif
23%ifarch %{x8664}
24%define need_x8664 1
25%endif
26%endif
27#
28
28142503
PS
29Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
30Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
2d490dca 31Name: X11-driver-nvidia
28142503 32Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
33Release: %{_rel}
34License: nVidia Binary
35Vendor: nVidia Corp.
36Group: X11/XFree86
2317af94 37# why not pkg0!?
22d6cc34 38%if %{need_x86}
39Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg0.run
40# Source0-md5: 1d062204da2902ae86154a03e1a40204
41%endif
42%if %{need_x8664}
43Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg0.run
44# Source1-md5: fa4e143a3193c0bd9cd697eb8637b354
45%endif
2d490dca 46Patch0: %{name}-gcc34.patch
0029e8cc 47Patch1: %{name}-GL.patch
26cf1083 48Patch2: %{name}-conftest.patch
fd51f334 49# http://www.minion.de/files/1.0-6629/
28142503
PS
50URL: http://www.nvidia.com/object/linux.html
51BuildConflicts: XFree86-nvidia
52BuildRequires: grep
53%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
54BuildRequires: %{kgcc_package}
1b927e61 55BuildRequires: rpmbuild(macros) >= 1.213
039c7221 56BuildRequires: sed >= 4.0
28142503 57BuildRequires: textutils
bf683e7a 58#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
2d490dca 59Requires: X11-Xserver
85d12cdd 60Requires: X11-libs >= %{_min_x11}
61Requires: X11-modules >= %{_min_x11}
2d490dca 62Provides: X11-OpenGL-core
d51a14b9 63Provides: X11-OpenGL-libGL
28142503 64Provides: XFree86-OpenGL-core
d51a14b9 65Provides: XFree86-OpenGL-libGL
28142503 66Obsoletes: Mesa
d51a14b9 67Obsoletes: X11-OpenGL-core
68Obsoletes: X11-OpenGL-libGL
28142503
PS
69Obsoletes: XFree86-OpenGL-core
70Obsoletes: XFree86-OpenGL-libGL
2d490dca 71Obsoletes: XFree86-driver-nvidia
28142503
PS
72Obsoletes: XFree86-nvidia
73Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 74ExclusiveArch: %{ix86} %{x8664}
28142503
PS
75BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
76
03da6314 77%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503 78%define _prefix /usr/X11R6
1b927e61 79%ifarch %{x8664}
1fbeb625
JB
80%define _libdir32 %{_prefix}/lib
81%endif
28142503
PS
82
83%description
84This driver set adds improved 2D functionality to the XFree86 4.0 X
85server as well as high performance OpenGL acceleration, AGP support,
86support for most flat panels, and 2D multiple monitor support.
87
88Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
89accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
90the base XFree86 4.0 install and are not supported by this driver set.
91
92Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
93
94%description -l pl
95Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
96