]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame_incremental - xorg-driver-video-nvidia.spec
- add wfb.so symlink
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without dist_kernel # without distribution kernel
4%bcond_without up # without up packages
5%bcond_without smp # without smp packages
6%bcond_without kernel # without kernel packages
7%bcond_without incall # include all tarballs
8%bcond_without userspace # don't build userspace programs
9%bcond_with verbose # verbose build (V=1)
10#
11%define no_install_post_strip 1
12#
13%define _nv_ver 1.0
14%define _nv_rel 9746
15%define _min_x11 6.7.0
16%define _rel 1
17#
18%define need_x86 0
19%define need_x8664 0
20%if %{with incall}
21%define need_x86 1
22%define need_x8664 1
23%else
24%ifarch %{ix86}
25%define need_x86 1
26%endif
27%ifarch %{x8664}
28%define need_x8664 1
29%endif
30%endif
31#
32Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
33Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
34Name: xorg-driver-video-nvidia
35Version: %{_nv_ver}.%{_nv_rel}
36Release: %{_rel}
37License: nVidia Binary
38Group: X11
39%if %{need_x86}
40Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
41# Source0-md5: cf0cdbd9099a6df028de429044e7f4da
42%endif
43%if %{need_x8664}
44Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
45# Source1-md5: c0afc66e1c21a9a54ba6719b8edd3166
46%endif
47Source2: %{name}-xinitrc.sh
48Patch0: X11-driver-nvidia-GL.patch
49Patch1: X11-driver-nvidia-desktop.patch
50URL: http://www.nvidia.com/object/linux.html
51%if %{with kernel}
52%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7}
53%endif
54BuildRequires: %{kgcc_package}
55BuildRequires: rpmbuild(macros) >= 1.330
56BuildRequires: sed >= 4.0
57BuildConflicts: XFree86-nvidia
58Requires: xorg-xserver-server
59Provides: OpenGL = 1.5
60Provides: OpenGL-GLX
61Provides: xorg-xserver-modules-libglx
62Obsoletes: Mesa
63Obsoletes: X11-OpenGL-core < 1:7.0.0
64Obsoletes: X11-OpenGL-libGL < 1:7.0.0
65Obsoletes: XFree86-OpenGL-core < 1:7.0.0
66Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
67Obsoletes: XFree86-driver-nvidia
68Obsoletes: XFree86-nvidia
69Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
70ExclusiveArch: %{ix86} %{x8664}
71BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73%define _noautoreqdep libGL.so.1 libGLcore.so.1
74
75%description
76This driver set adds improved 2D functionality to the Xorg/XFree86 X
77server as well as high performance OpenGL acceleration, AGP support,
78support for most flat panels, and 2D multiple monitor support.
79
80Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
81accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
82the base Xorg/XFree86 install and are not supported by this driver
83set.
84
85%description -l pl
86Usprawnione sterowniki dla kart graficznych nVidia do serwera
87