]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia.git/blame - xorg-driver-video-nvidia.spec
- bcond_with nptl added (implies with_tls).
[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
bf683e7a 5%bcond_without kernel # without kernel packages
28142503
PS
6%bcond_with verbose # verbose build (V=1)
7%bcond_with tls # install libraries with tls support
ac453a94
PS
8%bcond_with nptl # implies TLS support
9#
10%if %{with nptl}
11%define with_tls 1
12%endif
28142503
PS
13#
14%define _nv_ver 1.0
8f4af7b3 15%define _nv_rel 6629
85d12cdd 16%define _min_x11 6.7.0
b57c1d96 17%define _rel 1
28142503
PS
18#
19Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
20Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
2d490dca 21Name: X11-driver-nvidia
28142503 22Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
23Release: %{_rel}
24License: nVidia Binary
25Vendor: nVidia Corp.
26Group: X11/XFree86
2317af94 27# why not pkg0!?
039c7221 28Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
8f4af7b3 29# Source0-md5: f7737c1e95371f37a4fd30da2f11e72c
039c7221 30Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg2.run
8f4af7b3 31# Source1-md5: 652e69f549c81a7a3f2806daa74b9c36
2d490dca 32Patch0: %{name}-gcc34.patch
0029e8cc 33Patch1: %{name}-GL.patch
26cf1083 34Patch2: %{name}-conftest.patch
28142503
PS
35URL: http://www.nvidia.com/object/linux.html
36BuildConflicts: XFree86-nvidia
37BuildRequires: grep
38%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
39BuildRequires: %{kgcc_package}
40BuildRequires: rpmbuild(macros) >= 1.153
039c7221 41BuildRequires: sed >= 4.0
28142503 42BuildRequires: textutils
bf683e7a 43#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
2d490dca 44Requires: X11-Xserver
85d12cdd 45Requires: X11-libs >= %{_min_x11}
46Requires: X11-modules >= %{_min_x11}
28142503 47%{?with_tls:Requires: glibc(tls)}
2d490dca 48Provides: X11-OpenGL-core
d51a14b9 49Provides: X11-OpenGL-libGL
28142503 50Provides: XFree86-OpenGL-core
d51a14b9 51Provides: XFree86-OpenGL-libGL
28142503 52Obsoletes: Mesa
d51a14b9 53Obsoletes: X11-OpenGL-core
54Obsoletes: X11-OpenGL-libGL
28142503
PS
55Obsoletes: XFree86-OpenGL-core
56Obsoletes: XFree86-OpenGL-libGL
2d490dca 57Obsoletes: XFree86-driver-nvidia
28142503
PS
58Obsoletes: XFree86-nvidia
59Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
039c7221 60ExclusiveArch: %{ix86} amd64
28142503
PS
61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
03da6314 63%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503 64%define _prefix /usr/X11R6
1fbeb625
JB
65%ifarch amd64
66%define _libdir32 %{_prefix}/lib
67%endif
28142503
PS
68
69%description
70This driver set adds improved 2D functionality to the XFree86 4.0 X
71server as well as high performance OpenGL acceleration, AGP support,
72support for most flat panels, and 2D multiple monitor support.
73
74Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
75accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
76the base XFree86 4.0 install and are not supported by this driver set.
77
78Software: Linux kernel >= 2.2.12, XFree86 >= 4.0.
79
80%description -l pl
81Usprawnione sterowniki dla kart graficznych nVidia do serwera XFree86
82