]>
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 | # | |
12 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips | |
13 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
14 | Name: XFree86-driver-nvidia | |
15 | Version: %{_nv_ver}.%{_nv_rel} | |
16 | %define _rel 3 | |
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 | |
23 | Patch0: %{name}-cleanups.patch | |
24 | Patch1: %{name}-api_call.patch | |
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 | |
32 | Requires: XFree86-Xserver | |
33 | Requires: XFree86-libs >= 4.0.1 | |
34 | Requires: XFree86-modules >= 4.0.1 | |
35 | Requires: XFree86-nvidia-kernel | |
36 | %{?with_tls:Requires: glibc(tls)} | |
37 | Provides: XFree86-OpenGL-core | |
38 | Obsoletes: Mesa | |
39 | Obsoletes: XFree86-OpenGL-core | |
40 | Obsoletes: XFree86-OpenGL-libGL | |
41 | Obsoletes: XFree86-nvidia | |
42 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
43 | ExclusiveArch: %{ix86} | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %define _noautoreqdep libGL.so.%{_nv_ver}.%{_nv_rel} libGLcore.so.%{_nv_ver}.%{_nv_rel} | |
47 | %define _prefix /usr/X11R6 | |
48 | ||
49 | %description | |
50 | This driver set adds improved 2D functionality to the XFree86 4.0 X | |
51 | server as well as high performance OpenGL acceleration, AGP support, | |
52 | support for most flat panels, and 2D multiple monitor support. | |
53 | ||
54 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
55 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
56 | the base XFree86 4.0 install and are not supported by this driver set. | |
57 | ||
58 | Software: Linux kernel >= 2.2.12, XFree86 >= 4.0. | |
59 | ||
60 | %description -l pl | |
61 | Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86 | |
62 |