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