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