]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame_incremental - xorg-driver-video-nvidia.spec
- updated to 7676
[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 _nv_ver 1.0
11%define _nv_rel 7676
12%define _min_x11 6.7.0
13%define _rel 1
14#
15%define need_x86 0
16%define need_x8664 0
17%if %{with incall}
18%define need_x86 1
19%define need_x8664 1
20%else
21%ifarch %{ix86}
22%define need_x86 1
23%endif
24%ifarch %{x8664}
25%define need_x8664 1
26%endif
27%endif
28#
29
30Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
31Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
32Name: X11-driver-nvidia
33Version: %{_nv_ver}.%{_nv_rel}
34Release: %{_rel}
35License: nVidia Binary
36Vendor: nVidia Corp.
37Group: X11/XFree86
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}-pkg0.run
41# Source0-md5: 2474c5513006668b0fba401e042dc009
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}-pkg0.run
45# Source1-md5: 06a0a2d06c7f849510b4682d9d13946a
46%endif
47Patch0: %{name}-gcc34.patch
48Patch1: %{name}-GL.patch
49Patch2: %{name}-conftest.patch
50# http://www.minion.de/files/1.0-6629/
51URL: http://www.nvidia.com/object/linux.html
52BuildConflicts: XFree86-nvidia
53BuildRequires: grep
54%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
55BuildRequires: %{kgcc_package}
56BuildRequires: rpmbuild(macros) >= 1.213
57BuildRequires: sed >= 4.0
58BuildRequires: textutils
59#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
60Requires: X11-Xserver
61Requires: X11-libs >= %{_min_x11}
62Requires: X11-modules >= %{_min_x11}
63Provides: X11-OpenGL-core
64Provides: X11-OpenGL-libGL
65Provides: XFree86-OpenGL-core
66Provides: XFree86-OpenGL-libGL
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%define _prefix /usr/X11R6
80%ifarch %{x8664}
81%define _libdir32 %{_prefix}/lib
82%endif
83
84%description
85This driver set adds improved 2D functionality to the XFree86 4.0 X
86server as well as high performance OpenGL acceleration, AGP support,
87support for most flat panels, and 2D multiple monitor support.
88
89Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
90accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
91the base XFree86 4.0 install and are not supported by this driver set.
92
93Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
94
95%description -l pl
96Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
97