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