]>
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 | 9 | %define _nv_ver 1.0 |
54dd12c5 | 10 | %define _nv_rel 7182 |
608f209f | 11 | %define _min_x11 6.7.0 |
54dd12c5 | 12 | %define _rel 0.1 |
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} |
974a3451 | 21 | Release: %{_rel} |
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 | |
54dd12c5 | 26 | # Source0-md5: a7c84815943dc4784a207608abf2e5d6 |
608f209f | 27 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run |
54dd12c5 | 28 | # Source1-md5: 5a670a73a8887bdc776064aecae8f769 |
608f209f MWP |
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 | |
b1b8398c | 38 | Patch9: %{name}-build-fix.patch |
608f209f MWP |
39 | # http://www.minion.de/files/1.0-6629/ |
40 | URL: http://www.nvidia.com/object/linux.html | |
53b6fd21 ER |
41 | BuildRequires: %{kgcc_package} |
42 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now | |
91e3e3da | 43 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7} |
608f209f MWP |
44 | BuildRequires: rpmbuild(macros) >= 1.213 |
45 | BuildRequires: sed >= 4.0 | |
ead3b2c0 | 46 | BuildConflicts: XFree86-nvidia |
608f209f MWP |
47 | Requires: X11-Xserver |
48 | Requires: X11-libs >= %{_min_x11} | |
49 | Requires: X11-modules >= %{_min_x11} | |
50 | Provides: X11-OpenGL-core | |
51 | Provides: X11-OpenGL-libGL | |
52 | Provides: XFree86-OpenGL-core | |
53b6fd21 ER |
53 | Provides: XFree86-OpenGL-libGL |
54 | Obsoletes: %{oldname} < 1.0.7174 | |
608f209f MWP |
55 | Obsoletes: Mesa |
56 | Obsoletes: X11-OpenGL-core | |
57 | Obsoletes: X11-OpenGL-libGL | |
58 | Obsoletes: XFree86-OpenGL-core | |
59 | Obsoletes: XFree86-OpenGL-libGL | |
60 | Obsoletes: XFree86-driver-nvidia | |
61 | Obsoletes: XFree86-nvidia | |
d8ae6f83 | 62 | #Conflicts: %{oldname} |
608f209f MWP |
63 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 |
64 | ExclusiveArch: %{ix86} %{x8664} | |
65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
66 | ||
67 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
68 | %define _prefix /usr/X11R6 | |
69 | %ifarch %{x8664} | |
70 | %define _libdir32 %{_prefix}/lib | |
71 | %endif | |
72 | ||
73 | %description | |
91e3e3da ER |
74 | This driver set adds improved 2D functionality to the Xorg X server as |
75 | well as high performance OpenGL acceleration, AGP support, support for | |
76 | most flat panels, and multiple monitor support. | |
608f209f | 77 | |
ead3b2c0 | 78 | Hardware: nVidia TNT, TNT2, GeForce, old GeForce2 or Quadro based |
91e3e3da ER |
79 | graphics accelerator. New GeForce2, GeForce3 and GeForce4 adapters are |
80 | supported by X11-driver-nvidia package. The nVidia NV1 and RIVA | |
ead3b2c0 JB |
81 | 128/128ZX chips are supported in the base Xorg or XFree86 install and |
82 | are not supported by this driver set. | |
608f209f | 83 | |
608f209f | 84 | %description -l pl |
8277a05c MWP |
85 | Content-type: text/html ]>