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