]>
Commit | Line | Data |
---|---|---|
18b67685 ER |
1 | # TODO |
2 | # - missing CC quotes somewhere: ccache: invalid option -- S | |
021a0a61 PS |
3 | # |
4 | # Conditional build: | |
5 | %bcond_without dist_kernel # without distribution kernel | |
6 | %bcond_without smp # without smp packages | |
32cbdde2 | 7 | %bcond_without kernel # without kernel packages |
bf4852b1 | 8 | %bcond_without incall # include all tarballs |
fde6ca1b | 9 | %bcond_without userspace # don't build userspace programs |
021a0a61 | 10 | %bcond_with verbose # verbose build (V=1) |
021a0a61 PS |
11 | # |
12 | %define _nv_ver 1.0 | |
e14e9c7c | 13 | %define _nv_rel 9629 |
f041900c | 14 | %define _min_x11 6.7.0 |
e14e9c7c | 15 | %define _rel 1 |
021a0a61 | 16 | # |
bf4852b1 | 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 | |
bf4852b1 | 30 | |
4351acb9 | 31 | %if !%{with kernel} |
673b5c59 KK |
32 | %undefine with_dist_kernel |
33 | %endif | |
34 | # | |
d3b0c65f | 35 | Summary: Linux Drivers for NVIDIA GeForce/Quadro Chips |
36 | Summary(pl): Sterowniki do kart graficznych NVIDIA GeForce/Quadro | |
ff10ae37 | 37 | Name: X11-driver-nvidia |
021a0a61 | 38 | Version: %{_nv_ver}.%{_nv_rel} |
021a0a61 PS |
39 | Release: %{_rel} |
40 | License: nVidia Binary | |
a1719992 | 41 | Group: X11 |
9e5a0c12 | 42 | # why not pkg0!? |
bf4852b1 | 43 | %if %{need_x86} |
0a94556e | 44 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run |
e14e9c7c | 45 | # Source0-md5: a9e6097e84a0d6310e5a71c58249ccae |
bf4852b1 | 46 | %endif |
47 | %if %{need_x8664} | |
0a94556e | 48 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run |
e14e9c7c | 49 | # Source1-md5: 7ff9c0cb34f0e43817703a765d21f813 |
bf4852b1 | 50 | %endif |
ff36fde8 | 51 | Source2: %{name}-settings.desktop |
52 | Source3: %{name}-xinitrc.sh | |
b547cc78 | 53 | Patch0: %{name}-GL.patch |
54 | Patch1: %{name}-conftest.patch | |
4e804304 | 55 | # http://www.minion.de/files/1.0-6629/ |
021a0a61 | 56 | URL: http://www.nvidia.com/object/linux.html |
737f46f2 | 57 | %if %{with kernel} |
419bfb31 | 58 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7} |
737f46f2 | 59 | %endif |
021a0a61 | 60 | BuildRequires: %{kgcc_package} |
0dcbad30 | 61 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now |
c847d3ed | 62 | BuildRequires: rpmbuild(macros) >= 1.330 |
bdfe50d4 | 63 | BuildRequires: sed >= 4.0 |
fbb29b2a | 64 | BuildConflicts: XFree86-nvidia |
ff10ae37 | 65 | Requires: X11-Xserver |
f041900c | 66 | Requires: X11-libs >= %{_min_x11} |
67 | Requires: X11-modules >= %{_min_x11} | |
ff10ae37 | 68 | Provides: X11-OpenGL-core |
470b9df4 | 69 | Provides: X11-OpenGL-libGL |
021a0a61 | 70 | Provides: XFree86-OpenGL-core |
470b9df4 | 71 | Provides: XFree86-OpenGL-libGL |
021a0a61 | 72 | Obsoletes: Mesa |
470b9df4 | 73 | Obsoletes: X11-OpenGL-core |
74 | Obsoletes: X11-OpenGL-libGL | |
021a0a61 PS |
75 | Obsoletes: XFree86-OpenGL-core |
76 | Obsoletes: XFree86-OpenGL-libGL | |
ff10ae37 | 77 | Obsoletes: XFree86-driver-nvidia |
021a0a61 PS |
78 | Obsoletes: XFree86-nvidia |
79 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
2629feca | 80 | ExclusiveArch: %{ix86} %{x8664} |
021a0a61 PS |
81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82 | ||
24744dce | 83 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 |
021a0a61 | 84 | %define _prefix /usr/X11R6 |
15fb6e48 | 85 | %define _mandir %{_prefix}/man |
2629feca | 86 | %ifarch %{x8664} |
2da09658 JB |
87 | %define _libdir32 %{_prefix}/lib |
88 | %endif | |
021a0a61 PS |
89 | |
90 | %description | |
fbb29b2a | 91 | This driver set adds improved 2D functionality to the Xorg/XFree86 X |
021a0a61 PS |
92 | server as well as high performance OpenGL acceleration, AGP support, |
93 | support for most flat panels, and 2D multiple monitor support. | |
96134d83 JB |
94 | |
95 | Supported hardware: new NVIDIA GeForce (from GeForce2 MX) and Quadro | |
96 | (Quadro4 and up) based graphics accelerators. | |
021a0a61 | 97 | |
d3b0c65f | 98 | The older graphics chips are unsupported: |
96134d83 | 99 | - NV1 and RIVA 128/128ZX chips are supported in the base Xorg |
d3b0c65f | 100 | install (nv driver) |
96134d83 JB |
101 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by |
102 | X11-driver-nvidia-legacy drivers. | |
021a0a61 PS |
103 | |
104 | %description -l pl | |
fbb29b2a | 105 | Usprawnione sterowniki dla kart graficznych nVidia do serwera |
d3b0c65f | 106 |