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