]> git.pld-linux.org Git - packages/xorg-driver-video-nv.git/blob - xorg-driver-video-nv.spec
- fix building with xserver 1.19
[packages/xorg-driver-video-nv.git] / xorg-driver-video-nv.spec
1 Summary:        X.org video driver for NVIDIA video adapters
2 Summary(pl.UTF-8):      Sterownik obrazu X.org dla kart graficznych NVIDIA
3 Name:           xorg-driver-video-nv
4 Version:        2.1.20
5 Release:        11
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nv-%{version}.tar.bz2
9 # Source0-md5:  e263dd0cd149b5224e92baa5a227bb00
10 Patch0:         build.patch
11 Patch1:         xserver-1.19.patch
12 URL:            http://xorg.freedesktop.org/
13 BuildRequires:  autoconf >= 2.60
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  pkgconfig >= 1:0.19
17 BuildRequires:  rpmbuild(macros) >= 1.389
18 BuildRequires:  xorg-lib-libpciaccess-devel >= 0.10.7
19 BuildRequires:  xorg-proto-fontsproto-devel
20 BuildRequires:  xorg-proto-randrproto-devel
21 BuildRequires:  xorg-proto-renderproto-devel
22 BuildRequires:  xorg-proto-videoproto-devel
23 BuildRequires:  xorg-proto-xextproto-devel >= 7.0.99.1
24 BuildRequires:  xorg-proto-xproto-devel
25 BuildRequires:  xorg-util-util-macros >= 1.8
26 BuildRequires:  xorg-xserver-server-devel >= 1.3
27 %{?requires_xorg_xserver_videodrv}
28 Requires:       xorg-lib-libpciaccess >= 0.10.7
29 Requires:       xorg-xserver-server >= 1.3
30 Provides:       xorg-driver-video
31 Obsoletes:      X11-driver-nv < 1:7.0.0
32 Obsoletes:      XFree86-NVidia
33 Obsoletes:      XFree86-driver-nv < 1:7.0.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 X.org video driver for NVIDIA video adapters. It supports PCI and AGP
38 video cards based on the following chips:
39 - RIVA 128 (NV3),
40 - RIVA TNT (NV4),
41 - RIVA TNT2 (NV5),
42 - GeForce 256, Quadro (NV10),
43 - GeForce2, Quadro2 (NV11, NV15),
44 - GeForce3, Quadro DCC (NV20),
45 - nForce, nForce2 (NV1A, NV1F),
46 - GeForce4, Quadro4 (NV17, NV18, NV25, NV28),
47 - GeForce FX, Quadro FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38),
48 - GeForce 6xxx (NV40, NV41, NV43, NV44, NV45, C51),
49 - GeForce 7xxx (G70, G71, G72, G73, MCP6x),
50 - GeForce 8xxx/9xxx/G, nForce 7, ION (G8x, G9x, GT21x, MCP7x),
51 - GeForce GTX (GT200).
52
53 Note: this driver supports 2D accelleration only. For 3D acceleration
54 check out xorg-driver-video-nouveau or proprietary NVIDIA drivers (for
55 more recent hardware only).
56
57 %description -l pl.UTF-8
58 Sterownik obrazu X.org dla kart graficznych NVIDIA. Obsługuje karty
59 PCI i AGP oparte na następujących układach:
60 - RIVA 128 (NV3),
61 - RIVA TNT (NV4),
62 - RIVA TNT2 (NV5),
63 - GeForce 256, Quadro (NV10),
64 - GeForce2, Quadro2 (NV11, NV15),
65 - GeForce3, Quadro DCC (NV20),
66 - nForce, nForce2 (NV1A, NV1F),
67 - GeForce4, Quadro4 (NV17, NV18, NV25, NV28),
68 - GeForce FX, Quadro FX (NV30, NV31, NV34, NV35, NV36, NV37, NV38),
69 - GeForce 6xxx (NV40, NV41, NV43, NV44, NV45, C51),
70 - GeForce 7xxx (G70, G71, G72, G73, MCP6x),
71 - GeForce 8xxx/9xxx/G, nForce 7, ION (G8x, G9x, GT21x, MCP7x),
72 - GeForce GTX (GT200).
73
74 Uwaga: ten sterownik obsługuje tylko akcelerację 2D. Akceleracja 3D
75 jest obsługiwana przez sterownik xorg-driver-video-nouveau albo
76 zamknięte sterowniki firmy NVIDIA (tylko dla nowszych kart).
77
78 %prep
79 %setup -q -n xf86-video-nv-%{version}
80 %patch0 -p1
81 %patch1 -p1
82
83 %build
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__autoheader}
88 %{__automake}
89 %configure
90
91 %{__make} -j1
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} -j1 install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files
105 %defattr(644,root,root,755)
106 %doc COPYING ChangeLog README README.G80
107 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nv_drv.so
108 %{_mandir}/man4/nv.4*
This page took 0.050502 seconds and 3 git commands to generate.