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