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