]>
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 | %bcond_with tls # install libraries with tls support | |
8 | # | |
9 | %define _nv_ver 1.0 | |
10 | %define _nv_rel 6629 | |
11 | %define _min_x11 6.7.0 | |
12 | %define _rel 1 | |
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 | # why not pkg0!? | |
23 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
24 | # Source0-md5: f7737c1e95371f37a4fd30da2f11e72c | |
25 | # Source0-size: 8167999 | |
26 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run | |
27 | # Source1-md5: 652e69f549c81a7a3f2806daa74b9c36 | |
28 | # Source1-size: 7333486 | |
29 | Patch0: %{name}-gcc34.patch | |
30 | Patch1: %{name}-GL.patch | |
31 | Patch2: %{name}-enable-pci.patch | |
32 | Patch3: %{name}-power-suspend.patch | |
33 | URL: http://www.nvidia.com/object/linux.html | |
34 | BuildConflicts: XFree86-nvidia | |
35 | BuildRequires: grep | |
36 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
37 | BuildRequires: %{kgcc_package} | |
38 | BuildRequires: rpmbuild(macros) >= 1.153 | |
39 | BuildRequires: sed >= 4.0 | |
40 | BuildRequires: textutils | |
41 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now | |
42 | Requires: X11-Xserver | |
43 | Requires: X11-libs >= %{_min_x11} | |
44 | Requires: X11-modules >= %{_min_x11} | |
45 | %{?with_tls:Requires: glibc(tls)} | |
46 | Provides: X11-OpenGL-core | |
47 | Provides: X11-OpenGL-libGL | |
48 | Provides: XFree86-OpenGL-core | |
49 | Provides: XFree86-OpenGL-libGL | |
50 | Obsoletes: Mesa | |
51 | Obsoletes: X11-OpenGL-core | |
52 | Obsoletes: X11-OpenGL-libGL | |
53 | Obsoletes: XFree86-OpenGL-core | |
54 | Obsoletes: XFree86-OpenGL-libGL | |
55 | Obsoletes: XFree86-driver-nvidia | |
56 | Obsoletes: XFree86-nvidia | |
57 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
58 | ExclusiveArch: %{ix86} amd64 | |
59 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
60 | ||
61 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
62 | %define _prefix /usr/X11R6 | |
63 | %ifarch amd64 | |
64 | %define _libdir32 %{_prefix}/lib | |
65 | %endif | |
66 | ||
67 | %description | |
68 | This driver set adds improved 2D functionality to the XFree86 4.0 X | |
69 | server as well as high performance OpenGL acceleration, AGP support, | |
70 | support for most flat panels, and 2D multiple monitor support. | |
71 | ||
72 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
73 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
74 | the base XFree86 4.0 install and are not supported by this driver set. | |
75 | ||
76 | Software: Linux kernel >= 2.2.12, XFree86 >= 4.0. | |
77 | ||
78 | %description -l pl | |
79 | Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86 | |
80 |