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