]>
Commit | Line | Data |
---|---|---|
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_without incall # include all tarballs | |
7 | %bcond_without userspace # don't build userspace programs | |
8 | %bcond_with verbose # verbose build (V=1) | |
9 | # | |
10 | %define _nv_ver 1.0 | |
11 | %define _nv_rel 8756 | |
12 | %define _min_x11 6.7.0 | |
13 | %define _rel 0.1 | |
14 | # | |
15 | %define need_x86 0 | |
16 | %define need_x8664 0 | |
17 | %if %{with incall} | |
18 | %define need_x86 1 | |
19 | %define need_x8664 1 | |
20 | %else | |
21 | %ifarch %{ix86} | |
22 | %define need_x86 1 | |
23 | %endif | |
24 | %ifarch %{x8664} | |
25 | %define need_x8664 1 | |
26 | %endif | |
27 | %endif | |
28 | # | |
29 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips | |
30 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
31 | Name: xorg-driver-video-nvidia | |
32 | Version: %{_nv_ver}.%{_nv_rel} | |
33 | Release: %{_rel} | |
34 | License: nVidia Binary | |
35 | Group: X11 | |
36 | # why not pkg0!? | |
37 | %if %{need_x86} | |
38 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
39 | # Source0-md5: 67293549b90f549ca9210743eaa5b09c | |
40 | %endif | |
41 | %if %{need_x8664} | |
42 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
43 | # Source1-md5: cbefbe43bca916f536872a994da8dcec | |
44 | %endif | |
45 | #Patch0: X11-driver-nvidia-gcc34.patch | |
46 | Patch1: X11-driver-nvidia-GL.patch | |
47 | # http://www.minion.de/files/1.0-6629/ | |
48 | URL: http://www.nvidia.com/object/linux.html | |
49 | %if %{with kernel} | |
50 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7} | |
51 | %endif | |
52 | BuildRequires: %{kgcc_package} | |
53 | BuildRequires: rpmbuild(macros) >= 1.213 | |
54 | BuildRequires: sed >= 4.0 | |
55 | BuildConflicts: XFree86-nvidia | |
56 | Requires: xorg-xserver-server | |
57 | Provides: OpenGL = 1.5 | |
58 | Provides: OpenGL-GLX | |
59 | Provides: X11-OpenGL-core | |
60 | Provides: X11-OpenGL-libGL | |
61 | Provides: XFree86-OpenGL-core | |
62 | Provides: XFree86-OpenGL-libGL | |
63 | Provides: xorg-xserver-modules-libglx | |
64 | Obsoletes: Mesa | |
65 | Obsoletes: X11-OpenGL-core | |
66 | Obsoletes: X11-OpenGL-libGL | |
67 | Obsoletes: XFree86-OpenGL-core | |
68 | Obsoletes: XFree86-OpenGL-libGL | |
69 | Obsoletes: XFree86-driver-nvidia | |
70 | Obsoletes: XFree86-nvidia | |
71 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
72 | ExclusiveArch: %{ix86} %{x8664} | |
73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
74 | ||
75 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
76 | ||
77 | %description | |
78 | This driver set adds improved 2D functionality to the Xorg/XFree86 X | |
79 | server as well as high performance OpenGL acceleration, AGP support, | |
80 | support for most flat panels, and 2D multiple monitor support. | |
81 | ||
82 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
83 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
84 | the base Xorg/XFree86 install and are not supported by this driver | |
85 | set. | |
86 | ||
87 | %description -l pl | |
88 | Usprawnione sterowniki dla kart graficznych nVidia do serwera | |
89 |