]>
Commit | Line | Data |
---|---|---|
ad290807 | 1 | # |
cc4a057f | 2 | # Conditional build: |
3 | %bcond_without dist_kernel # without distribution kernel | |
f17a75b3 | 4 | %bcond_without up # without up packages |
cc4a057f | 5 | %bcond_without smp # without smp packages |
6 | %bcond_without kernel # without kernel packages | |
cc4a057f | 7 | %bcond_without userspace # don't build userspace programs |
8 | %bcond_with verbose # verbose build (V=1) | |
9 | %bcond_with grsec_kernel # build for kernel-grsecurity | |
10 | # | |
809e44a9 ER |
11 | %if %{without kernel} |
12 | %undefine with_dist_kernel | |
13 | %endif | |
14 | # | |
cc4a057f | 15 | %if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel} |
16 | %define alt_kernel grsecurity | |
17 | %endif | |
18 | # | |
08693ec0 | 19 | %define _nv_ver 96.43.01 |
cc4a057f | 20 | %define _min_x11 6.7.0 |
79a8f4b1 | 21 | %define _rel 56 |
cc4a057f | 22 | # |
cc4a057f | 23 | |
24 | Summary: Linux Drivers for NVIDIA GeForce/Quadro Chips | |
25 | Summary(pl): Sterowniki do kart graficznych NVIDIA GeForce/Quadro | |
26 | Name: X11-driver-nvidia-legacy2 | |
08693ec0 | 27 | Version: %{_nv_ver} |
cc4a057f | 28 | Release: %{_rel} |
29 | License: nVidia Binary | |
30 | Group: X11 | |
08693ec0 | 31 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}/NVIDIA-Linux-x86-%{_nv_ver}-pkg1.run |
32 | # Source0-md5: 66f8b5e243aad22162e40d0f05f0bf1e | |
08693ec0 | 33 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}/NVIDIA-Linux-x86_64-%{_nv_ver}-pkg1.run |
34 | # Source1-md5: 1cb134675bbdce8e172a0edc78618ed3 | |
cc4a057f | 35 | Source2: %{name}-settings.desktop |
36 | Source3: %{name}-xinitrc.sh | |
37 | Patch0: %{name}-GL.patch | |
f17a75b3 | 38 | URL: http://www.nvidia.com/object/unix.html |
cc4a057f | 39 | %if %{with kernel} |
40 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7} | |
cc4a057f | 41 | BuildRequires: %{kgcc_package} |
ad290807 | 42 | BuildRequires: rpmbuild(macros) >= 1.330 |
809e44a9 | 43 | %endif |
cc4a057f | 44 | BuildRequires: sed >= 4.0 |
45 | BuildConflicts: XFree86-nvidia | |
46 | Requires: X11-Xserver | |
47 | Requires: X11-libs >= %{_min_x11} | |
48 | Requires: X11-modules >= %{_min_x11} | |
49 | Provides: X11-OpenGL-core | |
50 | Provides: X11-OpenGL-libGL | |
51 | Provides: XFree86-OpenGL-core | |
52 | Provides: XFree86-OpenGL-libGL | |
53 | Obsoletes: Mesa | |
441606ec | 54 | Obsoletes: Mesa-libGL |
cc4a057f | 55 | Obsoletes: X11-OpenGL-core |
56 | Obsoletes: X11-OpenGL-libGL | |
57 | Obsoletes: XFree86-OpenGL-core | |
58 | Obsoletes: XFree86-OpenGL-libGL | |
59 | Obsoletes: XFree86-driver-nvidia | |
60 | Obsoletes: XFree86-nvidia | |
61 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
62 | ExclusiveArch: %{ix86} %{x8664} | |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
64 | ||
65 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
66 | %define _prefix /usr/X11R6 | |
67 | %ifarch %{x8664} | |
68 | %define _libdir32 %{_prefix}/lib | |
69 | %endif | |
70 | ||
71 | %description | |
72 | This driver set adds improved 2D functionality to the Xorg X server as | |
73 | well as high performance OpenGL acceleration, AGP support, support for | |
74 | most flat panels, and 2D multiple monitor support. Supported hardware: | |
75 | modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up) | |
76 | based graphics accelerators. | |
77 | ||
78 | The older graphics chips are unsupported: | |
79 | - NV1 and RIVA 128/128ZX chips are supported in the base Xorg install | |
80 | (nv driver) | |
81 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy | |
82 | drivers. | |
83 | ||
84 | %description -l pl | |
85 | Usprawnione sterowniki dla kart graficznych NVIDIA do serwera Xorg, | |
86 |