]>
Commit | Line | Data |
---|---|---|
28142503 PS |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without dist_kernel # without distribution kernel | |
16020600 | 4 | %bcond_without up # without up packages |
28142503 | 5 | %bcond_without smp # without smp packages |
bf683e7a | 6 | %bcond_without kernel # without kernel packages |
22d6cc34 | 7 | %bcond_without incall # include all tarballs |
1820d34b | 8 | %bcond_without userspace # don't build userspace programs |
28142503 | 9 | %bcond_with verbose # verbose build (V=1) |
28142503 | 10 | # |
225cc701 | 11 | %define no_install_post_strip 1 |
12 | # | |
28142503 | 13 | %define _nv_ver 1.0 |
069d2a12 | 14 | %define _nv_rel 9746 |
85d12cdd | 15 | %define _min_x11 6.7.0 |
069d2a12 | 16 | %define _rel 1 |
28142503 | 17 | # |
22d6cc34 | 18 | %define need_x86 0 |
19 | %define need_x8664 0 | |
20 | %if %{with incall} | |
21 | %define need_x86 1 | |
22 | %define need_x8664 1 | |
23 | %else | |
24 | %ifarch %{ix86} | |
25 | %define need_x86 1 | |
26 | %endif | |
27 | %ifarch %{x8664} | |
28 | %define need_x8664 1 | |
29 | %endif | |
30 | %endif | |
31 | # | |
28142503 PS |
32 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips |
33 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
eb6ba6c9 | 34 | Name: xorg-driver-video-nvidia |
28142503 | 35 | Version: %{_nv_ver}.%{_nv_rel} |
28142503 PS |
36 | Release: %{_rel} |
37 | License: nVidia Binary | |
4a185d32 | 38 | Group: X11 |
22d6cc34 | 39 | %if %{need_x86} |
069d2a12 | 40 | Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run |
41 | # Source0-md5: cf0cdbd9099a6df028de429044e7f4da | |
22d6cc34 | 42 | %endif |
43 | %if %{need_x8664} | |
510dffed | 44 | Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run |
069d2a12 | 45 | # Source1-md5: c0afc66e1c21a9a54ba6719b8edd3166 |
22d6cc34 | 46 | %endif |
8550b6ec | 47 | Source2: %{name}-xinitrc.sh |
bcf69910 JB |
48 | Patch0: X11-driver-nvidia-GL.patch |
49 | Patch1: X11-driver-nvidia-desktop.patch | |
28142503 | 50 | URL: http://www.nvidia.com/object/linux.html |
82268c76 | 51 | %if %{with kernel} |
00aee69a | 52 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7} |
82268c76 | 53 | %endif |
28142503 | 54 | BuildRequires: %{kgcc_package} |
6d259251 | 55 | BuildRequires: rpmbuild(macros) >= 1.330 |
039c7221 | 56 | BuildRequires: sed >= 4.0 |
0ed6aeef | 57 | BuildConflicts: XFree86-nvidia |
8343d24d | 58 | Requires: xorg-xserver-server |
368e84d9 ER |
59 | Provides: OpenGL = 1.5 |
60 | Provides: OpenGL-GLX | |
624bfcce | 61 | Provides: xorg-xserver-modules-libglx |
28142503 | 62 | Obsoletes: Mesa |
fff74aa2 AM |
63 | Obsoletes: X11-OpenGL-core < 1:7.0.0 |
64 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
65 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
66 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
2d490dca | 67 | Obsoletes: XFree86-driver-nvidia |
28142503 PS |
68 | Obsoletes: XFree86-nvidia |
69 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
1b927e61 | 70 | ExclusiveArch: %{ix86} %{x8664} |
28142503 PS |
71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
72 | ||
03da6314 | 73 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 |
28142503 PS |
74 | |
75 | %description | |
0ed6aeef | 76 | This driver set adds improved 2D functionality to the Xorg/XFree86 X |
28142503 PS |
77 | server as well as high performance OpenGL acceleration, AGP support, |
78 | support for most flat panels, and 2D multiple monitor support. | |
79 | ||
80 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
81 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
0ed6aeef JB |
82 | the base Xorg/XFree86 install and are not supported by this driver |
83 | set. | |
28142503 PS |
84 | |
85 | %description -l pl | |
0ed6aeef JB |
86 | Usprawnione sterowniki dla kart graficznych nVidia do serwera |
87 |