]>
Commit | Line | Data |
---|---|---|
021a0a61 PS |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without dist_kernel # without distribution kernel | |
4 | %bcond_without smp # without smp packages | |
32cbdde2 | 5 | %bcond_without kernel # without kernel packages |
021a0a61 | 6 | %bcond_with verbose # verbose build (V=1) |
021a0a61 PS |
7 | # |
8 | %define _nv_ver 1.0 | |
67d1775b | 9 | %define _nv_rel 6629 |
f041900c | 10 | %define _min_x11 6.7.0 |
4e804304 | 11 | %define _rel 4 |
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 | |
9e5a0c12 | 21 | # why not pkg0!? |
bdfe50d4 | 22 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run |
67d1775b | 23 | # Source0-md5: f7737c1e95371f37a4fd30da2f11e72c |
bdfe50d4 | 24 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run |
67d1775b | 25 | # Source1-md5: 652e69f549c81a7a3f2806daa74b9c36 |
ff10ae37 | 26 | Patch0: %{name}-gcc34.patch |
6941c53b | 27 | Patch1: %{name}-GL.patch |
1a7f4430 | 28 | Patch2: %{name}-conftest.patch |
4e804304 PS |
29 | # http://www.minion.de/files/1.0-6629/ |
30 | Patch3: NVIDIA_kernel-1.0-6629-1155389.diff | |
31 | Patch4: NVIDIA_kernel-1.0-6629-1161283.diff | |
32 | Patch5: NVIDIA_kernel-1.0-6629-1165235.diff | |
33 | Patch6: NVIDIA_kernel-1.0-6629-1171869.diff | |
34 | Patch7: NVIDIA_kernel-1.0-6629-1175225.diff | |
35 | Patch8: NVIDIA_kernel-1.0-6629-1182399.diff | |
36 | Patch9: NVIDIA_kernel-1.0-6629-1189413.diff | |
37 | Patch10: NVIDIA_kernel-1.0-6629-1201042.diff | |
021a0a61 PS |
38 | URL: http://www.nvidia.com/object/linux.html |
39 | BuildConflicts: XFree86-nvidia | |
40 | BuildRequires: grep | |
41 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
42 | BuildRequires: %{kgcc_package} | |
43 | BuildRequires: rpmbuild(macros) >= 1.153 | |
bdfe50d4 | 44 | BuildRequires: sed >= 4.0 |
021a0a61 | 45 | BuildRequires: textutils |
32cbdde2 | 46 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now |
ff10ae37 | 47 | Requires: X11-Xserver |
f041900c | 48 | Requires: X11-libs >= %{_min_x11} |
49 | Requires: X11-modules >= %{_min_x11} | |
ff10ae37 | 50 | Provides: X11-OpenGL-core |
470b9df4 | 51 | Provides: X11-OpenGL-libGL |
021a0a61 | 52 | Provides: XFree86-OpenGL-core |
470b9df4 | 53 | Provides: XFree86-OpenGL-libGL |
021a0a61 | 54 | Obsoletes: Mesa |
470b9df4 | 55 | Obsoletes: X11-OpenGL-core |
56 | Obsoletes: X11-OpenGL-libGL | |
021a0a61 PS |
57 | Obsoletes: XFree86-OpenGL-core |
58 | Obsoletes: XFree86-OpenGL-libGL | |
ff10ae37 | 59 | Obsoletes: XFree86-driver-nvidia |
021a0a61 PS |
60 | Obsoletes: XFree86-nvidia |
61 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
bdfe50d4 | 62 | ExclusiveArch: %{ix86} amd64 |
021a0a61 PS |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64 | ||
24744dce | 65 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 |
021a0a61 | 66 | %define _prefix /usr/X11R6 |
2da09658 JB |
67 | %ifarch amd64 |
68 | %define _libdir32 %{_prefix}/lib | |
69 | %endif | |
021a0a61 PS |
70 | |
71 | %description | |
72 | This driver set adds improved 2D functionality to the XFree86 4.0 X | |
73 | server as well as high performance OpenGL acceleration, AGP support, | |
74 | support for most flat panels, and 2D multiple monitor support. | |
75 | ||
76 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
77 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
78 | the base XFree86 4.0 install and are not supported by this driver set. | |
79 | ||
80 | Software: Linux kernel >= 2.2.12, XFree86 >= 4.0. | |
81 | ||
82 | %description -l pl | |
83 | Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86 | |
84 |