]>
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 8174 | |
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 | ||
30 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips | |
31 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
32 | Name: X11-driver-nvidia | |
33 | Version: %{_nv_ver}.%{_nv_rel} | |
34 | Release: %{_rel} | |
35 | License: nVidia Binary | |
36 | Vendor: nVidia Corp. | |
37 | Group: X11 | |
38 | # why not pkg0!? | |
39 | %if %{need_x86} | |
40 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg0.run | |
41 | # Source0-md5: 38e9fb91c272fd9ae8b8672a4baa7fdf | |
42 | %endif | |
43 | %if %{need_x8664} | |
44 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg0.run | |
45 | # Source1-md5: c8e8a0665af084fd6457a48f620e1dca | |
46 | %endif | |
47 | Patch0: %{name}-gcc34.patch | |
48 | Patch1: %{name}-GL.patch | |
49 | Patch2: %{name}-conftest.patch | |
50 | # http://www.minion.de/files/1.0-6629/ | |
51 | URL: http://www.nvidia.com/object/linux.html | |
52 | BuildRequires: grep | |
53 | %if %{with kernel} | |
54 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
55 | %endif | |
56 | BuildRequires: %{kgcc_package} | |
57 | BuildRequires: rpmbuild(macros) >= 1.213 | |
58 | BuildRequires: sed >= 4.0 | |
59 | BuildRequires: textutils | |
60 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now | |
61 | BuildConflicts: XFree86-nvidia | |
62 | Requires: X11-Xserver | |
63 | Requires: X11-libs >= %{_min_x11} | |
64 | Requires: X11-modules >= %{_min_x11} | |
65 | Provides: X11-OpenGL-core | |
66 | Provides: X11-OpenGL-libGL | |
67 | Provides: XFree86-OpenGL-core | |
68 | Provides: XFree86-OpenGL-libGL | |
69 | Obsoletes: Mesa | |
70 | Obsoletes: X11-OpenGL-core | |
71 | Obsoletes: X11-OpenGL-libGL | |
72 | Obsoletes: XFree86-OpenGL-core | |
73 | Obsoletes: XFree86-OpenGL-libGL | |
74 | Obsoletes: XFree86-driver-nvidia | |
75 | Obsoletes: XFree86-nvidia | |
76 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
77 | ExclusiveArch: %{ix86} %{x8664} | |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
79 | ||
80 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
81 | %define _prefix /usr/X11R6 | |
82 | %ifarch %{x8664} | |
83 | %define _libdir32 %{_prefix}/lib | |
84 | %endif | |
85 | ||
86 | %description | |
87 | This driver set adds improved 2D functionality to the Xorg/XFree86 X | |
88 | server as well as high performance OpenGL acceleration, AGP support, | |
89 | support for most flat panels, and 2D multiple monitor support. | |
90 | ||
91 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
92 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
93 | the base Xorg/XFree86 install and are not supported by this driver | |
94 | set. | |
95 | ||
96 | %description -l pl | |
97 | Usprawnione sterowniki dla kart graficznych nVidia do serwera | |
98 |