- renamed, NFY...
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
CommitLineData
28142503
PS
1#
2# Conditional build:
3%bcond_without dist_kernel # without distribution kernel
4%bcond_without smp # without smp packages
5%bcond_with verbose # verbose build (V=1)
6%bcond_with tls # install libraries with tls support
7#
8%define _nv_ver 1.0
9%define _nv_rel 5336
10%define _nv_pkg pkg0
11#
12Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
13Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
14Name: XFree86-driver-nvidia
15Version: %{_nv_ver}.%{_nv_rel}
16%define _rel 3
17Release: %{_rel}
18License: nVidia Binary
19Vendor: nVidia Corp.
20Group: X11/XFree86
21Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-%{_nv_pkg}.run
22# Source0-md5: 2ceffa20391d5471b8a483101563eccb
23Patch0: %{name}-cleanups.patch
24Patch1: %{name}-api_call.patch
25URL: http://www.nvidia.com/object/linux.html
26BuildConflicts: XFree86-nvidia
27BuildRequires: grep
28%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
29BuildRequires: %{kgcc_package}
30BuildRequires: rpmbuild(macros) >= 1.153
31BuildRequires: textutils
32Requires: XFree86-Xserver
33Requires: XFree86-libs >= 4.0.1
34Requires: XFree86-modules >= 4.0.1
35Requires: XFree86-nvidia-kernel
36%{?with_tls:Requires: glibc(tls)}
37Provides: XFree86-OpenGL-core
38Obsoletes: Mesa
39Obsoletes: XFree86-OpenGL-core
40Obsoletes: XFree86-OpenGL-libGL
41Obsoletes: XFree86-nvidia
42Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
43ExclusiveArch: %{ix86}
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%define _noautoreqdep libGL.so.%{_nv_ver}.%{_nv_rel} libGLcore.so.%{_nv_ver}.%{_nv_rel}
47%define _prefix /usr/X11R6
48
49%description
50This driver set adds improved 2D functionality to the XFree86 4.0 X
51server as well as high performance OpenGL acceleration, AGP support,
52support for most flat panels, and 2D multiple monitor support.
53
54Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
55accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
56the base XFree86 4.0 install and are not supported by this driver set.
57
58Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
59
60%description -l pl
61Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
62