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