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