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