]>
Commit | Line | Data |
---|---|---|
608f209f MWP |
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 | # | |
d9d97b05 | 8 | ### DON'T CHANGE THIS ############### |
608f209f MWP |
9 | %define _nv_ver 1.0 |
10 | %define _nv_rel 7174 | |
11 | %define _min_x11 6.7.0 | |
79175b7b | 12 | %define _rel 6 |
7c12d932 | 13 | ##################################### |
608f209f | 14 | # |
97527c99 MWP |
15 | %define oldname X11-driver-nvidia |
16 | ||
8277a05c MWP |
17 | Summary: Linux Drivers for nVidia TNT/TNT2/GF/old GF2/Quadro Chips |
18 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/old GF2/Quadro | |
0c8e15a8 | 19 | Name: X11-driver-nvidia-legacy |
608f209f | 20 | Version: %{_nv_ver}.%{_nv_rel} |
146a1190 | 21 | Release: %{_rel}.2 |
608f209f | 22 | License: nVidia Binary |
d1b4821b | 23 | Group: X11 |
608f209f MWP |
24 | # why not pkg0!? |
25 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
26 | # Source0-md5: e9840ae34ae9f5a3dc7d0fafe040c8af | |
27 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run | |
28 | # Source1-md5: 125ec3ecc64202c6c27ef762a438d0f0 | |
29 | Patch0: %{name}-gcc34.patch | |
30 | Patch1: %{name}-GL.patch | |
31 | Patch2: %{name}-conftest.patch | |
d9d97b05 | 32 | Patch3: %{name}-verbose.patch |
146a1190 | 33 | Patch4: NVIDIA_kernel-1.0-7174-1258475.diff |
34 | Patch5: NVIDIA_kernel-1.0-7174-1296092.diff | |
35 | Patch6: NVIDIA_kernel-1.0-7174-1321905.diff | |
36 | Patch7: NVIDIA_kernel-1.0-7174-1361053.diff | |
37 | Patch8: NVIDIA_kernel-1.0-7174-1386866.diff | |
608f209f MWP |
38 | # http://www.minion.de/files/1.0-6629/ |
39 | URL: http://www.nvidia.com/object/linux.html | |
53b6fd21 ER |
40 | BuildRequires: %{kgcc_package} |
41 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now | |
608f209f MWP |
42 | BuildRequires: grep |
43 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
608f209f MWP |
44 | BuildRequires: rpmbuild(macros) >= 1.213 |
45 | BuildRequires: sed >= 4.0 | |
46 | BuildRequires: textutils | |
ead3b2c0 | 47 | BuildConflicts: XFree86-nvidia |
608f209f MWP |
48 | Requires: X11-Xserver |
49 | Requires: X11-libs >= %{_min_x11} | |
50 | Requires: X11-modules >= %{_min_x11} | |
51 | Provides: X11-OpenGL-core | |
52 | Provides: X11-OpenGL-libGL | |
53 | Provides: XFree86-OpenGL-core | |
53b6fd21 ER |
54 | Provides: XFree86-OpenGL-libGL |
55 | Obsoletes: %{oldname} < 1.0.7174 | |
608f209f MWP |
56 | Obsoletes: Mesa |
57 | Obsoletes: X11-OpenGL-core | |
58 | Obsoletes: X11-OpenGL-libGL | |
59 | Obsoletes: XFree86-OpenGL-core | |
60 | Obsoletes: XFree86-OpenGL-libGL | |
61 | Obsoletes: XFree86-driver-nvidia | |
62 | Obsoletes: XFree86-nvidia | |
d8ae6f83 | 63 | #Conflicts: %{oldname} |
608f209f MWP |
64 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 |
65 | ExclusiveArch: %{ix86} %{x8664} | |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
67 | ||
68 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
69 | %define _prefix /usr/X11R6 | |
70 | %ifarch %{x8664} | |
71 | %define _libdir32 %{_prefix}/lib | |
72 | %endif | |
73 | ||
74 | %description | |
8277a05c | 75 | This driver set adds improved 2D functionality to the Xorg X |
608f209f | 76 | server as well as high performance OpenGL acceleration, AGP support, |
8277a05c | 77 | support for most flat panels, and multiple monitor support. |
608f209f | 78 | |
ead3b2c0 JB |
79 | Hardware: nVidia TNT, TNT2, GeForce, old GeForce2 or Quadro based |
80 | graphics accelerator. New GeForce2, GeForce3 and GeForce4 adapters | |
81 | are supported by X11-driver-nvidia package. The nVidia NV1 and RIVA | |
82 | 128/128ZX chips are supported in the base Xorg or XFree86 install and | |
83 | are not supported by this driver set. | |
608f209f | 84 | |
608f209f | 85 | %description -l pl |
8277a05c MWP |
86 | Content-type: text/html ]>