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