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