]> git.pld-linux.org Git - packages/X11-driver-nvidia.git/blame - X11-driver-nvidia.spec
- ln %{_kernelsrcdir}/scripts for without dist_kernel
[packages/X11-driver-nvidia.git] / X11-driver-nvidia.spec
CommitLineData
021a0a61
PS
1#
2# Conditional build:
3%bcond_without dist_kernel # without distribution kernel
4%bcond_without smp # without smp packages
32cbdde2 5%bcond_without kernel # without kernel packages
bf4852b1 6%bcond_without incall # include all tarballs
fde6ca1b 7%bcond_without userspace # don't build userspace programs
021a0a61 8%bcond_with verbose # verbose build (V=1)
021a0a61
PS
9#
10%define _nv_ver 1.0
0a94556e 11%define _nv_rel 8178
f041900c 12%define _min_x11 6.7.0
f48ecaef 13%define _rel 2
021a0a61 14#
bf4852b1 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
021a0a61
PS
30Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
31Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
ff10ae37 32Name: X11-driver-nvidia
021a0a61 33Version: %{_nv_ver}.%{_nv_rel}
021a0a61
PS
34Release: %{_rel}
35License: nVidia Binary
36Vendor: nVidia Corp.
a1719992 37Group: X11
9e5a0c12 38# why not pkg0!?
bf4852b1 39%if %{need_x86}
0a94556e 40Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
41# Source0-md5: bc9d459bfeee93735e3959de041635df
bf4852b1 42%endif
43%if %{need_x8664}
0a94556e 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: 0da016f8d5138c1ee51b7fa375821574
bf4852b1 46%endif
ff10ae37 47Patch0: %{name}-gcc34.patch
6941c53b 48Patch1: %{name}-GL.patch
1a7f4430 49Patch2: %{name}-conftest.patch
4e804304 50# http://www.minion.de/files/1.0-6629/
021a0a61 51URL: http://www.nvidia.com/object/linux.html
021a0a61 52BuildRequires: grep
737f46f2 53%if %{with kernel}
021a0a61 54%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
737f46f2 55%endif
021a0a61 56BuildRequires: %{kgcc_package}
2629feca 57BuildRequires: rpmbuild(macros) >= 1.213
bdfe50d4 58BuildRequires: sed >= 4.0
021a0a61 59BuildRequires: textutils
32cbdde2 60#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
fbb29b2a 61BuildConflicts: XFree86-nvidia
ff10ae37 62Requires: X11-Xserver
f041900c 63Requires: X11-libs >= %{_min_x11}
64Requires: X11-modules >= %{_min_x11}
ff10ae37 65Provides: X11-OpenGL-core
470b9df4 66Provides: X11-OpenGL-libGL
021a0a61 67Provides: XFree86-OpenGL-core
470b9df4 68Provides: XFree86-OpenGL-libGL
021a0a61 69Obsoletes: Mesa
470b9df4 70Obsoletes: X11-OpenGL-core
71Obsoletes: X11-OpenGL-libGL
021a0a61
PS
72Obsoletes: XFree86-OpenGL-core
73Obsoletes: XFree86-OpenGL-libGL
ff10ae37 74Obsoletes: XFree86-driver-nvidia
021a0a61
PS
75Obsoletes: XFree86-nvidia
76Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
2629feca 77ExclusiveArch: %{ix86} %{x8664}
021a0a61
PS
78BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
24744dce 80%define _noautoreqdep libGL.so.1 libGLcore.so.1
021a0a61 81%define _prefix /usr/X11R6
2629feca 82%ifarch %{x8664}
2da09658
JB
83%define _libdir32 %{_prefix}/lib
84%endif
021a0a61
PS
85
86%description
fbb29b2a 87This driver set adds improved 2D functionality to the Xorg/XFree86 X
021a0a61
PS
88server as well as high performance OpenGL acceleration, AGP support,
89support for most flat panels, and 2D multiple monitor support.
90
91Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
92accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
fbb29b2a
JB
93the base Xorg/XFree86 install and are not supported by this driver
94set.
021a0a61
PS
95
96%description -l pl
fbb29b2a
JB
97Usprawnione sterowniki dla kart graficznych nVidia do serwera
98