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