]>
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 |
021a0a61 PS |
6 | %bcond_with verbose # verbose build (V=1) |
7 | %bcond_with tls # install libraries with tls support | |
8 | # | |
9 | %define _nv_ver 1.0 | |
67d1775b | 10 | %define _nv_rel 6629 |
f041900c | 11 | %define _min_x11 6.7.0 |
ccbb2007 | 12 | %define _rel 0.1 |
021a0a61 PS |
13 | # |
14 | Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips | |
15 | Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro | |
ff10ae37 | 16 | Name: X11-driver-nvidia |
021a0a61 | 17 | Version: %{_nv_ver}.%{_nv_rel} |
021a0a61 PS |
18 | Release: %{_rel} |
19 | License: nVidia Binary | |
20 | Vendor: nVidia Corp. | |
21 | Group: X11/XFree86 | |
9e5a0c12 | 22 | # why not pkg0!? |
bdfe50d4 | 23 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run |
67d1775b | 24 | # Source0-md5: f7737c1e95371f37a4fd30da2f11e72c |
42708995 | 25 | # Source0-size: 8167999 |
bdfe50d4 | 26 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run |
67d1775b | 27 | # Source1-md5: 652e69f549c81a7a3f2806daa74b9c36 |
42708995 | 28 | # Source1-size: 7333486 |
ff10ae37 | 29 | Patch0: %{name}-gcc34.patch |
6941c53b | 30 | Patch1: %{name}-GL.patch |
021a0a61 PS |
31 | URL: http://www.nvidia.com/object/linux.html |
32 | BuildConflicts: XFree86-nvidia | |
33 | BuildRequires: grep | |
34 | %{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7} | |
35 | BuildRequires: %{kgcc_package} | |
36 | BuildRequires: rpmbuild(macros) >= 1.153 | |
bdfe50d4 | 37 | BuildRequires: sed >= 4.0 |
021a0a61 | 38 | BuildRequires: textutils |
32cbdde2 | 39 | #BuildRequires: X11-devel >= %{_min_x11} # disabled for now |
ff10ae37 | 40 | Requires: X11-Xserver |
f041900c | 41 | Requires: X11-libs >= %{_min_x11} |
42 | Requires: X11-modules >= %{_min_x11} | |
021a0a61 | 43 | %{?with_tls:Requires: glibc(tls)} |
ff10ae37 | 44 | Provides: X11-OpenGL-core |
470b9df4 | 45 | Provides: X11-OpenGL-libGL |
021a0a61 | 46 | Provides: XFree86-OpenGL-core |
470b9df4 | 47 | Provides: XFree86-OpenGL-libGL |
021a0a61 | 48 | Obsoletes: Mesa |
470b9df4 | 49 | Obsoletes: X11-OpenGL-core |
50 | Obsoletes: X11-OpenGL-libGL | |
021a0a61 PS |
51 | Obsoletes: XFree86-OpenGL-core |
52 | Obsoletes: XFree86-OpenGL-libGL | |
ff10ae37 | 53 | Obsoletes: XFree86-driver-nvidia |
021a0a61 PS |
54 | Obsoletes: XFree86-nvidia |
55 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
bdfe50d4 | 56 | ExclusiveArch: %{ix86} amd64 |
021a0a61 PS |
57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
58 | ||
24744dce | 59 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 |
021a0a61 | 60 | %define _prefix /usr/X11R6 |
2da09658 JB |
61 | %ifarch amd64 |
62 | %define _libdir32 %{_prefix}/lib | |
63 | %endif | |
021a0a61 PS |
64 | |
65 | %description | |
66 | This driver set adds improved 2D functionality to the XFree86 4.0 X | |
67 | server as well as high performance OpenGL acceleration, AGP support, | |
68 | support for most flat panels, and 2D multiple monitor support. | |
69 | ||
70 | Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics | |
71 | accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in | |
72 | the base XFree86 4.0 install and are not supported by this driver set. | |
73 | ||
74 | Software: Linux kernel >= 2.2.12, XFree86 >= 4.0. | |
75 | ||
76 | %description -l pl | |
77 | Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86 | |
78 |