]>
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 |
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 |
29 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips |
30 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
2d490dca | 31 | Name: X11-driver-nvidia |
28142503 | 32 | Version: %{_nv_ver}.%{_nv_rel} |
28142503 PS |
33 | Release: %{_rel} |
34 | License: nVidia Binary | |
35 | Vendor: nVidia Corp. | |
36 | Group: X11/XFree86 | |
2317af94 | 37 | # why not pkg0!? |
22d6cc34 | 38 | %if %{need_x86} |
39 | Source0: 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} | |
43 | Source1: 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 | 46 | Patch0: %{name}-gcc34.patch |
0029e8cc | 47 | Patch1: %{name}-GL.patch |
26cf1083 | 48 | Patch2: %{name}-conftest.patch |
fd51f334 | 49 | # http://www.minion.de/files/1.0-6629/ |
28142503 PS |
50 | URL: http://www.nvidia.com/object/linux.html |
51 | BuildConflicts: XFree86-nvidia | |
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 |
2d490dca | 59 | Requires: X11-Xserver |
85d12cdd | 60 | Requires: X11-libs >= %{_min_x11} |
61 | Requires: X11-modules >= %{_min_x11} | |
2d490dca | 62 | Provides: X11-OpenGL-core |
d51a14b9 | 63 | Provides: X11-OpenGL-libGL |
28142503 | 64 | Provides: XFree86-OpenGL-core |
d51a14b9 | 65 | Provides: XFree86-OpenGL-libGL |
28142503 | 66 | Obsoletes: Mesa |
d51a14b9 | 67 | Obsoletes: X11-OpenGL-core |
68 | Obsoletes: X11-OpenGL-libGL | |
28142503 PS |
69 | Obsoletes: XFree86-OpenGL-core |
70 | Obsoletes: XFree86-OpenGL-libGL | |
2d490dca | 71 | Obsoletes: XFree86-driver-nvidia |
28142503 PS |
72 | Obsoletes: XFree86-nvidia |
73 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
1b927e61 | 74 | ExclusiveArch: %{ix86} %{x8664} |
28142503 PS |
75 | BuildRoot: %{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 | |
84 | This driver set adds improved 2D functionality to the XFree86 4.0 X | |
85 | server as well as high performance OpenGL acceleration, AGP support, | |
86 | support for most flat panels, and 2D multiple monitor support. | |
87 | ||
88 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
89 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
90 | the base XFree86 4.0 install and are not supported by this driver set. | |
91 | ||
92 | Software: Linux kernel >= 2.2.12, XFree86 >= 4.0. | |
93 | ||
94 | %description -l pl | |
95 | Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86 | |
96 |