Summary: X.org video driver for NVIDIA video adapters
-Summary(pl): Sterownik obrazu X.org dla kart graficznych NVIDIA
+Summary(pl.UTF-8): Sterownik obrazu X.org dla kart graficznych NVIDIA
Name: xorg-driver-video-nv
-Version: 1.2.2.1
-Release: 1
+Version: 2.1.20
+Release: 9
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nv-%{version}.tar.bz2
-# Source0-md5: e4dc415b1e45db0bbdacc203ed33024a
+# Source0-md5: e263dd0cd149b5224e92baa5a227bb00
+Patch0: build.patch
URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: rpmbuild(macros) >= 1.389
+BuildRequires: xorg-lib-libpciaccess-devel >= 0.10.7
BuildRequires: xorg-proto-fontsproto-devel
BuildRequires: xorg-proto-randrproto-devel
BuildRequires: xorg-proto-renderproto-devel
BuildRequires: xorg-proto-videoproto-devel
-BuildRequires: xorg-proto-xextproto-devel
+BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1
BuildRequires: xorg-proto-xproto-devel
-BuildRequires: xorg-util-util-macros >= 1.1.3
-BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
-Requires: xorg-xserver-server >= 1.0.99.901
+BuildRequires: xorg-util-util-macros >= 1.8
+BuildRequires: xorg-xserver-server-devel >= 1.3
+%{?requires_xorg_xserver_videodrv}
+Requires: xorg-lib-libpciaccess >= 0.10.7
+Requires: xorg-xserver-server >= 1.3
+Provides: xorg-driver-video
+Obsoletes: X11-driver-nv < 1:7.0.0
+Obsoletes: XFree86-NVidia
+Obsoletes: XFree86-driver-nv < 1:7.0.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
X.org video driver for NVIDIA video adapters. It supports PCI and AGP
-video cards based on the following chips: RIVA 128 (NV3), RIVA TNT
-(NV4), RIVA TNT2 (NV5), GeForce 256, QUADRO (NV10), GeForce2, QUADRO2
-(NV11, NV15), GeForce3, QUADRO DCC (NV20), nForce, nForce2 (NV1A,
-NV1F), GeForce4, QUADRO4 (NV17, NV18, NV25, NV28), GeForce FX, QUADRO
-FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38), GeForce 6xxx (NV40,
-NV41, NV43, NV44, NV45, C51), GeForce 7xxx (G70, G71, G72, G73).
+video cards based on the following chips:
+- RIVA 128 (NV3),
+- RIVA TNT (NV4),
+- RIVA TNT2 (NV5),
+- GeForce 256, Quadro (NV10),
+- GeForce2, Quadro2 (NV11, NV15),
+- GeForce3, Quadro DCC (NV20),
+- nForce, nForce2 (NV1A, NV1F),
+- GeForce4, Quadro4 (NV17, NV18, NV25, NV28),
+- GeForce FX, Quadro FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38),
+- GeForce 6xxx (NV40, NV41, NV43, NV44, NV45, C51),
+- GeForce 7xxx (G70, G71, G72, G73, MCP6x),
+- GeForce 8xxx/9xxx/G, nForce 7, ION (G8x, G9x, GT21x, MCP7x),
+- GeForce GTX (GT200).
-%description -l pl
-Sterownik obrazu X.org dla kart graficznych NVIDIA. Obs³uguje karty
-PCI i AGP oparte na nastêpuj±cych uk³adach: RIVA 128 (NV3), RIVA TNT
-(NV4), RIVA TNT2 (NV5), GeForce 256, QUADRO (NV10), GeForce2, QUADRO2
-(NV11, NV15), GeForce3, QUADRO DCC (NV20), nForce, nForce2 (NV1A,
-NV1F), GeForce4, QUADRO4 (NV17, NV18, NV25, NV28), GeForce FX, QUADRO
-FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38), GeForce 6xxx (NV40,
-NV41, NV43, NV44, NV45, C51), GeForce 7xxx (G70, G71, G72, G73).
+Note: this driver supports 2D accelleration only. For 3D acceleration
+check out xorg-driver-video-nouveau or proprietary NVIDIA drivers (for
+more recent hardware only).
+
+%description -l pl.UTF-8
+Sterownik obrazu X.org dla kart graficznych NVIDIA. Obsługuje karty
+PCI i AGP oparte na następujących układach:
+- RIVA 128 (NV3),
+- RIVA TNT (NV4),
+- RIVA TNT2 (NV5),
+- GeForce 256, Quadro (NV10),
+- GeForce2, Quadro2 (NV11, NV15),
+- GeForce3, Quadro DCC (NV20),
+- nForce, nForce2 (NV1A, NV1F),
+- GeForce4, Quadro4 (NV17, NV18, NV25, NV28),
+- GeForce FX, Quadro FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38),
+- GeForce 6xxx (NV40, NV41, NV43, NV44, NV45, C51),
+- GeForce 7xxx (G70, G71, G72, G73, MCP6x),
+- GeForce 8xxx/9xxx/G, nForce 7, ION (G8x, G9x, GT21x, MCP7x),
+- GeForce GTX (GT200).
+
+Uwaga: ten sterownik obsługuje tylko akcelerację 2D. Akceleracja 3D
+jest obsługiwana przez sterownik xorg-driver-video-nouveau albo
+zamknięte sterowniki firmy NVIDIA (tylko dla nowszych kart).
%prep
%setup -q -n xf86-video-nv-%{version}
+%patch0 -p1
%build
%{__libtoolize}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
- --disable-static
+%configure
-%{__make}
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc COPYING ChangeLog README.NV1
+%doc COPYING ChangeLog README README.G80
%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nv_drv.so
-%attr(755,root,root) %{_libdir}/xorg/modules/drivers/riva128.so
%{_mandir}/man4/nv.4*