]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame_incremental - xorg-driver-video-nvidia.spec
- version 8762
[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 8762
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# why not pkg0!?
39%if %{need_x86}
40Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
41# Source0-md5: 86bcf4a3a9d441dff9e25b82ec8a6060
42%endif
43%if %{need_x8664}
44Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run
45# Source1-md5: 73a12a4933c57941a7a8b7c1186f8b93
46%endif
47#Patch0: X11-driver-nvidia-gcc34.patch
48Patch1: X11-driver-nvidia-GL.patch
49Patch2: X11-driver-nvidia-desktop.patch
50# http://www.minion.de/files/1.0-6629/
51URL: http://www.nvidia.com/object/linux.html
52%if %{with kernel}
53%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.7}
54%endif
55BuildRequires: %{kgcc_package}
56BuildRequires: rpmbuild(macros) >= 1.213
57BuildRequires: sed >= 4.0
58BuildConflicts: XFree86-nvidia
59Requires: xorg-xserver-server
60Provides: OpenGL = 1.5
61Provides: OpenGL-GLX
62Provides: X11-OpenGL-core
63Provides: X11-OpenGL-libGL
64Provides: XFree86-OpenGL-core
65Provides: XFree86-OpenGL-libGL
66Provides: xorg-xserver-modules-libglx
67Obsoletes: Mesa
68Obsoletes: X11-OpenGL-core
69Obsoletes: X11-OpenGL-libGL
70Obsoletes: XFree86-OpenGL-core
71Obsoletes: XFree86-OpenGL-libGL
72Obsoletes: XFree86-driver-nvidia
73Obsoletes: XFree86-nvidia
74Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
75ExclusiveArch: %{ix86} %{x8664}
76BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
77
78%define _noautoreqdep libGL.so.1 libGLcore.so.1
79
80%description
81This driver set adds improved 2D functionality to the Xorg/XFree86 X
82server as well as high performance OpenGL acceleration, AGP support,
83support for most flat panels, and 2D multiple monitor support.
84
85Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
86accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
87the base Xorg/XFree86 install and are not supported by this driver
88set.
89
90%description -l pl
91Usprawnione sterowniki dla kart graficznych nVidia do serwera
92