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