]> git.pld-linux.org Git - packages/X11-driver-nvidia-legacy2.git/blame - X11-driver-nvidia-legacy2.spec
- updated to 1.0.9639
[packages/X11-driver-nvidia-legacy2.git] / X11-driver-nvidia-legacy2.spec
CommitLineData
cc4a057f 1# Conditional build:
2%bcond_without dist_kernel # without distribution kernel
3%bcond_without smp # without smp packages
4%bcond_without kernel # without kernel packages
5%bcond_without incall # include all tarballs
6%bcond_without userspace # don't build userspace programs
7%bcond_with verbose # verbose build (V=1)
8%bcond_with grsec_kernel # build for kernel-grsecurity
9#
10%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
11%define alt_kernel grsecurity
12%endif
13#
14%define _nv_ver 1.0
bf5ab4cd 15%define _nv_rel 9639
cc4a057f 16%define _min_x11 6.7.0
c2e3f79c 17%define _rel 52
cc4a057f 18#
19%define need_x86 0
20%define need_x8664 0
21%if %{with incall}
22%define need_x86 1
23%define need_x8664 1
24%else
25%ifarch %{ix86}
26%define need_x86 1
27%endif
28%ifarch %{x8664}
29%define need_x8664 1
30%endif
31%endif
32#
33
34Summary: Linux Drivers for NVIDIA GeForce/Quadro Chips
35Summary(pl): Sterowniki do kart graficznych NVIDIA GeForce/Quadro
36Name: X11-driver-nvidia-legacy2
37Version: %{_nv_ver}.%{_nv_rel}
38Release: %{_rel}
39License: nVidia Binary
40Group: X11
41# why not pkg0!?
42%if %{need_x86}
43Source0: http://download.nvidia.com/XFree86/Linux-x86/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86-%{_nv_ver}-%{_nv_rel}-pkg1.run
bf5ab4cd 44# Source0-md5: b277a5a05f6e8e4e0cd388ea9203e4f5
cc4a057f 45%endif
46%if %{need_x8664}
47Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{_nv_ver}-%{_nv_rel}/NVIDIA-Linux-x86_64-%{_nv_ver}-%{_nv_rel}-pkg1.run
bf5ab4cd 48# Source1-md5: 60293af0dde33f186257f723bb2da845
cc4a057f 49%endif
50Source2: %{name}-settings.desktop
51Source3: %{name}-xinitrc.sh
52Patch0: %{name}-GL.patch
53Patch1: %{name}-conftest.patch
54# http://www.minion.de/files/1.0-6629/
55URL: http://www.nvidia.com/object/linux.html
56%if %{with kernel}
57%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7}
58%endif
59BuildRequires: %{kgcc_package}
60#BuildRequires: X11-devel >= %{_min_x11} # disabled for now
61BuildRequires: rpmbuild(macros) >= 1.308
62BuildRequires: sed >= 4.0
63BuildConflicts: XFree86-nvidia
64Requires: X11-Xserver
65Requires: X11-libs >= %{_min_x11}
66Requires: X11-modules >= %{_min_x11}
67Provides: X11-OpenGL-core
68Provides: X11-OpenGL-libGL
69Provides: XFree86-OpenGL-core
70Provides: XFree86-OpenGL-libGL
71Obsoletes: Mesa
441606ec 72Obsoletes: Mesa-libGL
cc4a057f 73Obsoletes: X11-OpenGL-core
74Obsoletes: X11-OpenGL-libGL
75Obsoletes: XFree86-OpenGL-core
76Obsoletes: XFree86-OpenGL-libGL
77Obsoletes: XFree86-driver-nvidia
78Obsoletes: XFree86-nvidia
79Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
80ExclusiveArch: %{ix86} %{x8664}
81BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82
83%define _noautoreqdep libGL.so.1 libGLcore.so.1
84%define _prefix /usr/X11R6
85%ifarch %{x8664}
86%define _libdir32 %{_prefix}/lib
87%endif
88
89%description
90This driver set adds improved 2D functionality to the Xorg X server as
91well as high performance OpenGL acceleration, AGP support, support for
92most flat panels, and 2D multiple monitor support. Supported hardware:
93modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up)
94based graphics accelerators.
95
96The older graphics chips are unsupported:
97- NV1 and RIVA 128/128ZX chips are supported in the base Xorg install
98 (nv driver)
99- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy
100 drivers.
101
102%description -l pl
103Usprawnione sterowniki dla kart graficznych NVIDIA do serwera Xorg,
104