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