]>
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 no_install_post_strip 1 | |
11 | # | |
12 | %define _nv_ver 1.0 | |
13 | %define _nv_rel 8178 | |
14 | %define _min_x11 6.7.0 | |
15 | %define _rel 0.2 | |
16 | # | |
17 | %define need_x86 0 | |
18 | %define need_x8664 0 | |
19 | %if %{with incall} | |
20 | %define need_x86 1 | |
21 | %define need_x8664 1 | |
22 | %else | |
23 | %ifarch %{ix86} | |
24 | %define need_x86 1 | |
25 | %endif | |
26 | %ifarch %{x8664} | |
27 | %define need_x8664 1 | |
28 | %endif | |
29 | %endif | |
30 | # | |
31 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips | |
32 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
33 | Name: xorg-driver-video-nvidia | |
34 | Version: %{_nv_ver}.%{_nv_rel} | |
35 | Release: %{_rel} | |
36 | License: nVidia Binary | |
37 | Vendor: nVidia Corp. | |
38 | Group: X11 | |
39 | # why not pkg0!? | |
40 | %if %{need_x86} | |
41 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
42 | # Source0-md5: bc9d459bfeee93735e3959de041635df | |
43 | %endif | |
44 | %if %{need_x8664} | |
45 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run | |
46 | # Source1-md5: 0da016f8d5138c1ee51b7fa375821574 | |
47 | %endif | |
48 | Patch0: X11-driver-nvidia-gcc34.patch | |
49 | Patch1: X11-driver-nvidia-GL.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 | Provides: OpenGL | |
70 | Obsoletes: Mesa | |
71 | Obsoletes: X11-OpenGL-core | |
72 | Obsoletes: X11-OpenGL-libGL | |
73 | Obsoletes: XFree86-OpenGL-core | |
74 | Obsoletes: XFree86-OpenGL-libGL | |
75 | Obsoletes: XFree86-driver-nvidia | |
76 | Obsoletes: XFree86-nvidia | |
77 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
78 | ExclusiveArch: %{ix86} %{x8664} | |
79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
80 | ||
81 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
82 | ||
83 | %description | |
84 | This driver set adds improved 2D functionality to the Xorg/XFree86 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 Xorg/XFree86 install and are not supported by this driver | |
91 | set. | |
92 | ||
93 | %description -l pl | |
94 | Usprawnione sterowniki dla kart graficznych nVidia do serwera | |
95 |