]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - should -libs Require main package? | |
3 | # - solve this (shouldn't there be some obsoletes?): | |
4 | # error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686 | |
5 | # error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686 | |
6 | # | |
7 | # Conditional build: | |
8 | %bcond_without dist_kernel # without distribution kernel | |
9 | %bcond_without kernel # without kernel packages | |
10 | %bcond_without userspace # don't build userspace programs | |
11 | %bcond_with force_userspace # force userspace build (useful if alt_kernel is set) | |
12 | %bcond_with multigl # package libGL and libglx.so in a way allowing concurrent install with nvidia/fglrx drivers | |
13 | %bcond_with verbose # verbose build (V=1) | |
14 | ||
15 | %if "%{_alt_kernel}" != "%{nil}" | |
16 | %undefine with_userspace | |
17 | %endif | |
18 | %if %{with force_userspace} | |
19 | %define with_userspace 1 | |
20 | %endif | |
21 | %if %{without userspace} | |
22 | # nothing to be placed to debuginfo package | |
23 | %define _enable_debug_packages 0 | |
24 | %endif | |
25 | ||
26 | %define pname xorg-driver-video-nvidia | |
27 | %define rel 9 | |
28 | ||
29 | Summary: Linux Drivers for nVidia GeForce/Quadro Chips | |
30 | Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez | |
31 | Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro | |
32 | Name: %{pname} | |
33 | Version: 190.42 | |
34 | Release: %{rel}%{?with_multigl:.mgl} | |
35 | Epoch: 1 | |
36 | License: nVidia Binary | |
37 | Group: X11 | |
38 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg0.run | |
39 | # Source0-md5: f94806feee87de756d14fe3e9bcaf05a | |
40 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run | |
41 | # Source1-md5: ae431ff849ec01446e6724f9fcfe3bb4 | |
42 | Source2: %{pname}-xinitrc.sh | |
43 | Source3: gl.pc.in | |
44 | Patch0: X11-driver-nvidia-GL.patch | |
45 | Patch1: X11-driver-nvidia-desktop.patch | |
46 | URL: http://www.nvidia.com/object/unix.html | |
47 | %if %{with kernel} | |
48 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} | |
49 | %endif | |
50 | BuildRequires: %{kgcc_package} | |
51 | BuildRequires: rpmbuild(macros) >= 1.379 | |
52 | BuildRequires: sed >= 4.0 | |
53 | BuildConflicts: XFree86-nvidia | |
54 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} | |
55 | Requires: xorg-xserver-server | |
56 | Requires: xorg-xserver-server(videodrv-abi) <= 6.0 | |
57 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 | |
58 | Provides: xorg-xserver-module(glx) | |
59 | Obsoletes: XFree86-driver-nvidia | |
60 | Obsoletes: XFree86-nvidia | |
61 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
62 | ExclusiveArch: %{ix86} %{x8664} | |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
64 | ||
65 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
66 | ||
67 | %description | |
68 | This driver set adds improved 2D functionality to the Xorg X server as | |
69 | well as high performance OpenGL acceleration, AGP support, support for | |
70 | most flat panels, and 2D multiple monitor support. Supported hardware: | |
71 | modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up) | |
72 | based graphics accelerators. | |
73 | ||
74 | The older graphics chips are unsupported: | |
75 | - NV1 and RIVA 128/128ZX chips are supported in the base Xorg install | |
76 | (nv driver) | |
77 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy | |
78 | drivers. | |
79 | ||
80 | %description -l hu.UTF-8 | |
81 | Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL | |
82 | gyorsítással, AGP támogatással és támogatja a több monitort. | |
83 | Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és | |
84 | Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók. | |
85 | ||
86 | A régekbbi grafikus chipek nem támogatottak: | |
87 | - NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó) | |
88 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel | |
89 | támogatottak. | |
90 | ||
91 | %description -l pl.UTF-8 | |
92 | Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg, | |
93 | dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów | |
94 | 2D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2 | |
95 | MX) oraz Quadro (od wersji Quadro4). | |
96 | ||
97 | Starsze układy graficzne nie są obsługiwane przez ten pakiet: | |
98 | - NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg | |
99 | - TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez | |
100 | sterowniki -legacy | |
101 | ||
102 | %package libs | |
103 | Summary: OpenGL (GL and GLX) Nvidia libraries | |
104 | Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) Nvidia | |
105 | Group: X11/Development/Libraries | |
106 | #Requires: %{pname} = %{epoch}:%{version}-%{rel} | |
107 | Provides: OpenGL = 2.1 | |
108 | Provides: OpenGL-GLX = 1.4 | |
109 | %if %{without multigl} | |
110 | Obsoletes: Mesa | |
111 | %endif | |
112 | Obsoletes: X11-OpenGL-core < 1:7.0.0 | |
113 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
114 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
115 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
116 | %if %{without multigl} | |
117 | Conflicts: Mesa-libGL | |
118 | %endif | |
119 | ||
120 | %description libs | |
121 | NVIDIA OpenGL (GL and GLX only) implementation libraries. | |
122 | ||
123 | %description libs -l pl.UTF-8 | |
124 | Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA. | |
125 | ||
126 | %package devel | |
127 | Summary: OpenGL (GL and GLX) header files | |
128 | Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok | |
129 | Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX) | |
130 | Group: X11/Development/Libraries | |
131 | Requires: %{pname}-libs = %{epoch}:%{version}-%{rel} | |
132 | Provides: OpenGL-GLX-devel = 1.4 | |
133 | Provides: OpenGL-devel = 2.1 | |
134 | Obsoletes: X11-OpenGL-devel-base | |
135 | Obsoletes: XFree86-OpenGL-devel-base | |
136 | Obsoletes: XFree86-driver-nvidia-devel | |
137 | Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3 | |
138 | ||
139 | %description devel | |
140 | OpenGL header files (GL and GLX only) for NVIDIA OpenGL | |
141 | implementation. | |
142 | ||
143 | %description devel -l hu.UTF-8 | |
144 | OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz. | |
145 | ||
146 | %description devel -l pl.UTF-8 | |
147 | Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL | |
148 | firmy NVIDIA. | |
149 | ||
150 | %package static | |
151 | Summary: Static XvMCNVIDIA library | |
152 | Summary(hu.UTF-8): Statikus XwMCNVIDIA könyvtár | |
153 | Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA | |
154 | Group: X11/Development/Libraries | |
155 | Requires: %{pname}-devel = %{epoch}:%{version}-%{rel} | |
156 | ||
157 | %description static | |
158 | Static XvMCNVIDIA library. | |
159 | ||
160 | %description static -l hu.UTF-8 | |
161 | Statikus XwMCNVIDIA könyvtár. | |
162 | ||
163 | %description static -l pl.UTF-8 | |
164 | Statyczna biblioteka XvMCNVIDIA. | |
165 | ||
166 | %package progs | |
167 | Summary: Tools for advanced control of nVidia graphic cards | |
168 | Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához | |
169 | Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia | |
170 | Group: Applications/System | |
171 | Requires: %{pname} = %{epoch}:%{version}-%{rel} | |
172 | Suggests: pkgconfig | |
173 | Obsoletes: XFree86-driver-nvidia-progs | |
174 | ||
175 | %description progs | |
176 | Tools for advanced control of nVidia graphic cards. | |
177 | ||
178 | %description progs -l hu.UTF-8 | |
179 | Eszközök az nVidia grafikus kártyák beállításához. | |
180 | ||
181 | %description progs -l pl.UTF-8 | |
182 | Narzędzia do zarządzania kartami graficznymi nVidia. | |
183 | ||
184 | %package -n kernel%{_alt_kernel}-video-nvidia | |
185 | Summary: nVidia kernel module for nVidia Architecture support | |
186 | Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung | |
187 | Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez. | |
188 | Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia | |
189 | Release: %{rel}@%{_kernel_ver_str} | |
190 | Group: Base/Kernel | |
191 | Requires(post,postun): /sbin/depmod | |
192 | Requires: dev >= 2.7.7-10 | |
193 | %{?with_dist_kernel:%requires_releq_kernel} | |
194 | Requires: %{pname} = %{epoch}:%{version}-%{rel} | |
195 | Provides: X11-driver-nvidia(kernel) | |
196 | Obsoletes: XFree86-nvidia-kernel | |
197 | ||
198 | %description -n kernel%{_alt_kernel}-video-nvidia | |
199 | nVidia Architecture support for Linux kernel. | |
200 | ||
201 | %description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8 | |
202 | Die nVidia-Architektur-Unterstützung für den Linux-Kern. | |
203 | ||
204 | %description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8 | |
205 | nVidia Architektúra támogatás Linux kernelhez. | |
206 | ||
207 | %description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8 | |
208 | Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez | |
209 | sterownik nVidii dla Xorg/XFree86. | |
210 | ||
211 | %prep | |
212 | cd %{_builddir} | |
213 | rm -rf NVIDIA-Linux-x86*-%{version}-pkg* | |
214 | %ifarch %{ix86} | |
215 | /bin/sh %{SOURCE0} --extract-only | |
216 | %setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0 | |
217 | %else | |
218 | /bin/sh %{SOURCE1} --extract-only | |
219 | %setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0 | |
220 | %endif | |
221 | %patch0 -p1 | |
222 | %patch1 -p1 | |
223 | echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild | |
224 | ||
225 | %build | |
226 | %if %{with kernel} | |
227 | cd usr/src/nv | |
228 | ln -sf Makefile.kbuild Makefile | |
229 | cat >> Makefile <<'EOF' | |
230 | ||
231 | $(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin | |
232 | cp $< $@ | |
233 | EOF | |
234 | mv nv-kernel.o{,.bin} | |
235 | %build_kernel_modules -m nvidia | |
236 | %endif | |
237 | ||
238 | %install | |
239 | rm -rf $RPM_BUILD_ROOT | |
240 | ||
241 | %if %{with userspace} | |
242 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \ | |
243 | $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir},%{_bindir},%{_mandir}/man1} \ | |
244 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} | |
245 | %if %{with multigl} | |
246 | install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d} | |
247 | %endif | |
248 | ||
249 | install usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir} | |
250 | install usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1 | |
251 | install usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
252 | install usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
253 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh | |
254 | ||
255 | for f in \ | |
256 | usr/lib/tls/libnvidia-tls.so.%{version} \ | |
257 | usr/lib/libnvidia-cfg.so.%{version} \ | |
258 | usr/lib/libGL{,core}.so.%{version} \ | |
259 | usr/lib/libcuda.so.%{version} \ | |
260 | usr/lib/libvdpau_nvidia.so.%{version} \ | |
261 | usr/X11R6/lib/libXvMCNVIDIA.so.%{version} \ | |
262 | %if %{without multigl} | |
263 | usr/X11R6/lib/libXvMCNVIDIA.a \ | |
264 | ; do | |
265 | install $f $RPM_BUILD_ROOT%{_libdir} | |
266 | done | |
267 | %else | |
268 | ; do | |
269 | install $f $RPM_BUILD_ROOT%{_libdir}/nvidia | |
270 | done | |
271 | install usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir} | |
272 | %endif | |
273 | ||
274 | install usr/X11R6/lib/modules/extensions/libglx.so.%{version} \ | |
275 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions | |
276 | install usr/X11R6/lib/modules/drivers/nvidia_drv.so \ | |
277 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version} | |
278 | install usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \ | |
279 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules | |
280 | ||
281 | install usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL | |
282 | install usr/include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda | |
283 | ||
284 | ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so | |
285 | ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so | |
286 | ||
287 | %if %{with multigl} | |
288 | echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
289 | ||
290 | # OpenGL ABI for Linux compatibility | |
291 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1 | |
292 | ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
293 | ||
294 | ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
295 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
296 | ||
297 | ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so | |
298 | %else | |
299 | # OpenGL ABI for Linux compatibility | |
300 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1 | |
301 | ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
302 | ||
303 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
304 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1 | |
305 | ||
306 | ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so | |
307 | %endif | |
308 | %endif | |
309 | ||
310 | %if %{with kernel} | |
311 | %install_kernel_modules -m usr/src/nv/nvidia -d misc | |
312 | %endif | |
313 | ||
314 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} | |
315 | sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \ | |
316 | > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc | |
317 | ||
318 | %clean | |
319 | rm -rf $RPM_BUILD_ROOT | |
320 | ||
321 | %post | |
322 | cat << 'EOF' | |
323 | NOTE: You must also install kernel module for this driver to work | |
324 | kernel-video-nvidia-%{version} | |
325 | kernel-desktop-video-nvidia-%{version} | |
326 | kernel-laptop-video-nvidia-%{version} | |
327 | kernel-vanilla-video-nvidia-%{version} | |
328 | ||
329 | Depending on which kernel brand you use. | |
330 | ||
331 | EOF | |
332 | %if %{with multigl} | |
333 | if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then | |
334 | ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so | |
335 | fi | |
336 | %else | |
337 | /sbin/ldconfig -N %{_libdir}/xorg/modules/extensions | |
338 | /sbin/ldconfig -N %{_libdir}/xorg/modules/drivers | |
339 | %endif | |
340 | ||
341 | %post libs -p /sbin/ldconfig | |
342 | %postun libs -p /sbin/ldconfig | |
343 | ||
344 | %post -n kernel%{_alt_kernel}-video-nvidia | |
345 | %depmod %{_kernel_ver} | |
346 | ||
347 | %postun -n kernel%{_alt_kernel}-video-nvidia | |
348 | %depmod %{_kernel_ver} | |
349 | ||
350 | %if %{with userspace} | |
351 | %files | |
352 | %defattr(644,root,root,755) | |
353 | %doc LICENSE | |
354 | %doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample,html} | |
355 | %attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.* | |
356 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.* | |
357 | %attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so | |
358 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.* | |
359 | %attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so | |
360 | ||
361 | %files libs | |
362 | %if %{with multigl} | |
363 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
364 | %dir %{_libdir}/nvidia | |
365 | %attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.* | |
366 | %attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1 | |
367 | %attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.* | |
368 | %attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.* | |
369 | %attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
370 | %attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.* | |
371 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.* | |
372 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.* | |
373 | %attr(755,root,root) %{_libdir}/nvidia/libvdpau_nvidia.so.*.* | |
374 | %else | |
375 | %attr(755,root,root) %{_libdir}/libGL.so.*.* | |
376 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
377 | # symlink for binary apps which fail to conform Linux OpenGL ABI | |
378 | # (and dlopen libGL.so instead of libGL.so.1) | |
379 | %attr(755,root,root) %{_libdir}/libGL.so | |
380 | %attr(755,root,root) %{_libdir}/libGLcore.so.*.* | |
381 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.* | |
382 | %attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1 | |
383 | %attr(755,root,root) %{_libdir}/libcuda.so.*.* | |
384 | %attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.* | |
385 | %attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.* | |
386 | %attr(755,root,root) %{_libdir}/libvdpau_nvidia.so.*.* | |
387 | %endif | |
388 | ||
389 | %files devel | |
390 | %defattr(644,root,root,755) | |
391 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so | |
392 | %attr(755,root,root) %{_libdir}/libcuda.so | |
393 | %dir %{_includedir}/GL | |
394 | %{_includedir}/GL/gl.h | |
395 | %{_includedir}/GL/glext.h | |
396 | %{_includedir}/GL/glx.h | |
397 | %{_includedir}/GL/glxext.h | |
398 | %{_includedir}/cuda | |
399 | %if %{with multigl} | |
400 | %attr(755,root,root) %{_libdir}/libGL.so | |
401 | %endif | |
402 | %{_pkgconfigdir}/gl.pc | |
403 | ||
404 | %files static | |
405 | %defattr(644,root,root,755) | |
406 | %{_libdir}/libXvMCNVIDIA.a | |
407 | ||
408 | %files progs | |
409 | %defattr(644,root,root,755) | |
410 | %attr(755,root,root) %{_bindir}/nvidia-settings | |
411 | %attr(755,root,root) %{_bindir}/nvidia-xconfig | |
412 | %attr(755,root,root) %{_bindir}/nvidia-bug-report.sh | |
413 | %attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh | |
414 | %{_desktopdir}/nvidia-settings.desktop | |
415 | %{_mandir}/man1/nvidia-* | |
416 | %{_pixmapsdir}/nvidia-settings.png | |
417 | %endif | |
418 | ||
419 | %if %{with kernel} | |
420 | %files -n kernel%{_alt_kernel}-video-nvidia | |
421 | %defattr(644,root,root,755) | |
422 | /lib/modules/%{_kernel_ver}/misc/*.ko* | |
423 | %endif |