]>
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 |
41ace86e | 10 | %define _nv_rel 7184 |
608f209f | 11 | %define _min_x11 6.7.0 |
41ace86e | 12 | %define _rel 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 | |
41ace86e | 26 | # Source0-md5: 68cf7f155786daf6946b9daeb64c7a35 |
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 |
41ace86e | 28 | # Source1-md5: 332850387c4e7a4619753b856e3199e5 |
99949e13 | 29 | Source2: %{oldname}-settings.desktop |
30 | Source3: %{oldname}-xinitrc.sh | |
608f209f MWP |
31 | Patch0: %{name}-gcc34.patch |
32 | Patch1: %{name}-GL.patch | |
de461a26 | 33 | Patch2: %{name}-verbose.patch |
608f209f | 34 | URL: http://www.nvidia.com/object/linux.html |
53b6fd21 ER |
35 | BuildRequires: %{kgcc_package} |
36 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now | |
1d7f678c | 37 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7} |
8384372d | 38 | BuildRequires: rpmbuild(macros) >= 1.330 |
608f209f | 39 | BuildRequires: sed >= 4.0 |
ead3b2c0 | 40 | BuildConflicts: XFree86-nvidia |
608f209f MWP |
41 | Requires: X11-Xserver |
42 | Requires: X11-libs >= %{_min_x11} | |
43 | Requires: X11-modules >= %{_min_x11} | |
44 | Provides: X11-OpenGL-core | |
45 | Provides: X11-OpenGL-libGL | |
46 | Provides: XFree86-OpenGL-core | |
53b6fd21 ER |
47 | Provides: XFree86-OpenGL-libGL |
48 | Obsoletes: %{oldname} < 1.0.7174 | |
608f209f MWP |
49 | Obsoletes: Mesa |
50 | Obsoletes: X11-OpenGL-core | |
51 | Obsoletes: X11-OpenGL-libGL | |
52 | Obsoletes: XFree86-OpenGL-core | |
53 | Obsoletes: XFree86-OpenGL-libGL | |
54 | Obsoletes: XFree86-driver-nvidia | |
55 | Obsoletes: XFree86-nvidia | |
d8ae6f83 | 56 | #Conflicts: %{oldname} |
608f209f MWP |
57 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 |
58 | ExclusiveArch: %{ix86} %{x8664} | |
59 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
60 | ||
61 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
62 | %define _prefix /usr/X11R6 | |
63 | %ifarch %{x8664} | |
64 | %define _libdir32 %{_prefix}/lib | |
65 | %endif | |
66 | ||
67 | %description | |
91e3e3da ER |
68 | This driver set adds improved 2D functionality to the Xorg X server as |
69 | well as high performance OpenGL acceleration, AGP support, support for | |
70 | most flat panels, and multiple monitor support. | |
608f209f | 71 | |
ead3b2c0 | 72 | Hardware: nVidia TNT, TNT2, GeForce, old GeForce2 or Quadro based |
91e3e3da ER |
73 | graphics accelerator. New GeForce2, GeForce3 and GeForce4 adapters are |
74 | supported by X11-driver-nvidia package. The nVidia NV1 and RIVA | |
ead3b2c0 JB |
75 | 128/128ZX chips are supported in the base Xorg or XFree86 install and |
76 | are not supported by this driver set. | |
608f209f | 77 | |
608f209f | 78 | %description -l pl |
8277a05c MWP |
79 | Content-type: text/html ]>