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