- it provides OpenGL, drop X11 requirements, need some work with xorg dependency
[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
22d6cc34 6%bcond_without incall # include all tarballs
1820d34b 7%bcond_without userspace # don't build userspace programs
28142503 8%bcond_with verbose # verbose build (V=1)
28142503 9#
d63f5dd4 10%define no_install_post_strip 1
11#
28142503 12%define _nv_ver 1.0
21ff1e1d 13%define _nv_rel 8178
85d12cdd 14%define _min_x11 6.7.0
d63f5dd4 15%define _rel 0.2
28142503 16#
22d6cc34 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#
28142503
PS
31Summary: Linux Drivers for nVidia TNT/TNT2/GeForce/Quadro Chips
32Summary(pl): Sterowniki do kart graficznych nVidia TNT/TNT2/GeForce/Quadro
eb6ba6c9 33Name: xorg-driver-video-nvidia
28142503 34Version: %{_nv_ver}.%{_nv_rel}
28142503
PS
35Release: %{_rel}
36License: nVidia Binary
37Vendor: nVidia Corp.
4a185d32 38Group: X11
2317af94 39# why not pkg0!?
22d6cc34 40%if %{need_x86}
21ff1e1d 41Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
42# Source0-md5: bc9d459bfeee93735e3959de041635df
22d6cc34 43%endif
44%if %{need_x8664}
21ff1e1d 45Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run
46# Source1-md5: 0da016f8d5138c1ee51b7fa375821574
22d6cc34 47%endif
eb6ba6c9
PS
48Patch0: X11-driver-nvidia-gcc34.patch
49Patch1: X11-driver-nvidia-GL.patch
fd51f334 50# http://www.minion.de/files/1.0-6629/
28142503 51URL: http://www.nvidia.com/object/linux.html
28142503 52BuildRequires: grep
82268c76 53%if %{with kernel}
28142503 54%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.7}
82268c76 55%endif
28142503 56BuildRequires: %{kgcc_package}
1b927e61 57BuildRequires: rpmbuild(macros) >= 1.213
039c7221 58BuildRequires: sed >= 4.0
28142503 59BuildRequires: textutils
bf683e7a 60#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
0ed6aeef 61BuildConflicts: XFree86-nvidia
d63f5dd4 62#Requires: X11-Xserver
63#Requires: X11-libs >= %{_min_x11}
64#Requires: X11-modules >= %{_min_x11}
2d490dca 65Provides: X11-OpenGL-core
d51a14b9 66Provides: X11-OpenGL-libGL
28142503 67Provides: XFree86-OpenGL-core
d51a14b9 68Provides: XFree86-OpenGL-libGL
d63f5dd4 69Provides: OpenGL
28142503 70Obsoletes: Mesa
d51a14b9 71Obsoletes: X11-OpenGL-core
72Obsoletes: X11-OpenGL-libGL
28142503
PS
73Obsoletes: XFree86-OpenGL-core
74Obsoletes: XFree86-OpenGL-libGL
2d490dca 75Obsoletes: XFree86-driver-nvidia
28142503
PS
76Obsoletes: XFree86-nvidia
77Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 78ExclusiveArch: %{ix86} %{x8664}
28142503
PS
79BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80
03da6314 81%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503
PS
82
83%description
0ed6aeef 84This driver set adds improved 2D functionality to the Xorg/XFree86 X
28142503
PS
85server as well as high performance OpenGL acceleration, AGP support,
86support for most flat panels, and 2D multiple monitor support.
87
88Hardware: nVidia TNT, TNT2, GeForce, or Quadro based graphics
89accelerator. The nVidia NV1 and RIVA 128/128ZX chips are supported in
0ed6aeef
JB
90the base Xorg/XFree86 install and are not supported by this driver
91set.
28142503
PS
92
93%description -l pl
0ed6aeef
JB
94Usprawnione sterowniki dla kart graficznych nVidia do serwera
95