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