updated vulkan api version
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
CommitLineData
2b14e59b 1# TODO
17fdb673 2# - should -libs Require main package?
8a7af30b 3# - drop binary-only nvidia-settings from here, and use nvidia-settings.spec for it?
0dbede64 4# - kernel-drm is required on never kernels. driver for kernel-longterm not requires drm
28142503
PS
5#
6# Conditional build:
bf683e7a 7%bcond_without kernel # without kernel packages
1820d34b 8%bcond_without userspace # don't build userspace programs
5da85237 9%bcond_with settings # package nvidia-settings here (GPL version of same packaged from nvidia-settings.spec)
a14b5013 10%bcond_with verbose # verbose build (V=1)
11
e4947020
JR
12# The goal here is to have main, userspace, package built once with
13# simple release number, and only rebuild kernel packages with kernel
14# version as part of release number, without the need to bump release
15# with every kernel change.
16%if 0%{?_pld_builder:1} && %{with kernel} && %{with userspace}
17%{error:kernel and userspace cannot be built at the same time on PLD builders}
18exit 1
19%endif
20
c543fa7c
ER
21%if %{without userspace}
22# nothing to be placed to debuginfo package
23%define _enable_debug_packages 0
24%endif
e4947020 25
7cbecde6 26%define no_install_post_check_so 1
c5bb5957 27
a31ddb6a 28%define rel 1
f3bf0f30 29%define pname xorg-driver-video-nvidia
974295b8 30Summary: Linux Drivers for nVidia GeForce/Quadro Chips
754fc4fe 31Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
974295b8 32Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
e4947020 33Name: %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
8a7af30b 34# when updating version here, keep nvidia-settings.spec in sync as well
a31ddb6a 35Version: 381.22
e4947020 36Release: %{rel}%{?_pld_builder:%{?with_kernel:@%{_kernel_ver_str}}}
d7c1ffa0 37Epoch: 1
28142503 38License: nVidia Binary
4a185d32 39Group: X11
e2ce85dd 40Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
a31ddb6a 41# Source0-md5: 8825cec1640739521689bd80121d1425
e2ce85dd 42Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
a31ddb6a 43# Source1-md5: 0e9590d48703c8baa034b6f0f8bbf1e5
a14b5013 44Source2: %{pname}-xinitrc.sh
236b5374 45Source3: gl.pc.in
cd436d42
JR
46Source4: 10-nvidia.conf
47Source5: 10-nvidia-modules.conf
bcf69910
JB
48Patch0: X11-driver-nvidia-GL.patch
49Patch1: X11-driver-nvidia-desktop.patch
4ab31d9e 50Patch2: linux-4.1-and-older.patch
f517f625 51URL: http://www.nvidia.com/object/unix.html
fb27eb94
JR
52BuildRequires: rpmbuild(macros) >= 1.701
53%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
039c7221 54BuildRequires: sed >= 4.0
0ed6aeef 55BuildConflicts: XFree86-nvidia
0703c7e8 56Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 57Requires: xorg-xserver-server
d3f173f6 58Requires: xorg-xserver-server(videodrv-abi) <= 23.0
754fc4fe 59Requires: xorg-xserver-server(videodrv-abi) >= 2.0
857c0a69
JP
60Provides: ocl-icd(nvidia)
61Provides: ocl-icd-driver
bb6d5ffd 62Provides: vulkan(icd) = 1.0.42
f3bf0f30 63Provides: xorg-driver-video
4e3e8de1 64Provides: xorg-xserver-module(glx)
2d490dca 65Obsoletes: XFree86-driver-nvidia
28142503
PS
66Obsoletes: XFree86-nvidia
67Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 68ExclusiveArch: %{ix86} %{x8664}
b67880c3 69BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
28142503 70
04ec5f0a
JR
71%define _noautoreqdep libGL.so.1 libnvcuvid.so
72# libnvidia-encode.so.*.* links with libnvcuvid.so instead of libnvcuvid.so.1
73%define _noautoreq libnvcuvid.so
28142503
PS
74
75%description
974295b8
JB
76This driver set adds improved 2D functionality to the Xorg X server as
77well as high performance OpenGL acceleration, AGP support, support for
78most flat panels, and 2D multiple monitor support. Supported hardware:
79modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up)
80based graphics accelerators.
28142503 81
974295b8
JB
82The older graphics chips are unsupported:
83- NV1 and RIVA 128/128ZX chips are supported in the base Xorg install
84 (nv driver)
85- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy
86 drivers.
28142503 87
754fc4fe
ZU
88%description -l hu.UTF-8
89Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL
90gyorsítással, AGP támogatással és támogatja a több monitort.
91Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és
92Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók.
93
94A régekbbi grafikus chipek nem támogatottak:
95- NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó)
96- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel
97 támogatottak.
98
c311612f 99%description -l pl.UTF-8
974295b8
JB
100Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg,
101dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów
1022D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2
103MX) oraz Quadro (od wersji Quadro4).
28142503 104
974295b8
JB
105Starsze układy graficzne nie są obsługiwane przez ten pakiet:
106- NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg
107- TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez
108 sterowniki -legacy
28142503 109
17fdb673
JR
110%package libs
111Summary: OpenGL (GL and GLX) Nvidia libraries
112Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) Nvidia
113Group: X11/Development/Libraries
f3b8319b 114Requires(post,postun): /sbin/ldconfig
76db0ca8 115Requires: libvdpau >= 0.3
ba4c5c19 116Provides: OpenGL = 3.3
17fdb673 117Provides: OpenGL-GLX = 1.4
17fdb673
JR
118Obsoletes: X11-OpenGL-core < 1:7.0.0
119Obsoletes: X11-OpenGL-libGL < 1:7.0.0
120Obsoletes: XFree86-OpenGL-core < 1:7.0.0
121Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
17fdb673 122
4c842b35 123%description libs
17fdb673
JR
124NVIDIA OpenGL (GL and GLX only) implementation libraries.
125
4c842b35 126%description libs -l pl.UTF-8
17fdb673
JR
127Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
128
28142503 129%package devel
63c6d4b1 130Summary: OpenGL (GL and GLX) header files
754fc4fe 131Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok
63c6d4b1 132Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX)
28142503 133Group: X11/Development/Libraries
0703c7e8 134Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
63c6d4b1 135Provides: OpenGL-GLX-devel = 1.4
1b8b7646 136Provides: OpenGL-devel = 2.1
63c6d4b1
JB
137Obsoletes: X11-OpenGL-devel-base
138Obsoletes: XFree86-OpenGL-devel-base
2d490dca 139Obsoletes: XFree86-driver-nvidia-devel
28142503
PS
140Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3
141
142%description devel
63c6d4b1
JB
143OpenGL header files (GL and GLX only) for NVIDIA OpenGL
144implementation.
28142503 145
754fc4fe
ZU
146%description devel -l hu.UTF-8
147OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz.
148
c311612f 149%description devel -l pl.UTF-8
63c6d4b1
JB
150Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL
151firmy NVIDIA.
152
a9160796
ER
153%package doc
154Summary: Documentation for NVIDIA Graphics Driver
155Group: Documentation
fd356b88
ER
156%if "%{_rpmversion}" >= "5"
157BuildArch: noarch
158%endif
a9160796
ER
159
160%description doc
161NVIDIA Accelerated Linux Graphics Driver README and Installation
162Guide.
163
28142503
PS
164%package progs
165Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 166Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 167Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 168Group: Applications/System
0056ee0e 169Requires: %{pname} = %{epoch}:%{version}
c29343e3 170Suggests: pkgconfig
c064a147 171Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
172
173%description progs
174Tools for advanced control of nVidia graphic cards.
175
754fc4fe
ZU
176%description progs -l hu.UTF-8
177Eszközök az nVidia grafikus kártyák beállításához.
178
c311612f
JR
179%description progs -l pl.UTF-8
180Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 181
e4947020
JR
182%define kernel_pkg()\
183%package -n kernel%{_alt_kernel}-video-nvidia\
184Summary: nVidia kernel module for nVidia Architecture support\
185Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung\
186Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.\
187Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia\
188Release: %{rel}@%{_kernel_ver_str}\
189Group: Base/Kernel\
190Requires(post,postun): /sbin/depmod\
191Requires: dev >= 2.7.7-10\
e4947020
JR
192%requires_releq_kernel\
193%if %{_kernel_version_code} >= %{_kernel_version_magic 3 10 0}\
194Requires: %{releq_kernel -n drm}\
195%endif\
196Requires(postun): %releq_kernel\
e4947020
JR
197Requires: %{pname} = %{epoch}:%{version}\
198Provides: X11-driver-nvidia(kernel)\
199Obsoletes: XFree86-nvidia-kernel\
200\
201%description -n kernel%{_alt_kernel}-video-nvidia\
202nVidia Architecture support for Linux kernel.\
203\
204%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8\
205Die nVidia-Architektur-Unterstützung für den Linux-Kern.\
206\
207%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8\
208nVidia Architektúra támogatás Linux kernelhez.\
209\
210%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8\
211Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez\
212sterownik nVidii dla Xorg/XFree86.\
213\
214%if %{with kernel}\
215%files -n kernel%{_alt_kernel}-video-nvidia\
216%defattr(644,root,root,755)\
217/lib/modules/%{_kernel_ver}/misc/*.ko*\
218%endif\
219\
220%post -n kernel%{_alt_kernel}-video-nvidia\
221%depmod %{_kernel_ver}\
222\
223%postun -n kernel%{_alt_kernel}-video-nvidia\
224%depmod %{_kernel_ver}\
225%{nil}
226
227%define build_kernel_pkg()\
e4947020
JR
228cd kernel\
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%{__make} SYSSRC=%{_kernelsrcdir} clean\
ef40d8b8 237%{__make} SYSSRC=%{_kernelsrcdir} IGNORE_CC_MISMATCH=1 NV_VERBOSE=1 CC=%{__cc} module\
e4947020 238cd ..\
10e941a4 239%install_kernel_modules -D installed -m kernel/nvidia,kernel/nvidia-drm,kernel/nvidia-modeset -d misc\
cad4d6b5
JP
240%ifarch %{x8664}\
241%install_kernel_modules -D installed -m kernel/nvidia-uvm -d misc\
242%endif\
e4947020
JR
243%{nil}
244
fb27eb94 245%{?with_kernel:%{expand:%create_kernel_packages}}
28142503 246
28142503
PS
247%prep
248cd %{_builddir}
8481604b 249rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 250%ifarch %{ix86}
28142503 251/bin/sh %{SOURCE0} --extract-only
8481604b 252%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
253%else
254/bin/sh %{SOURCE1} --extract-only
8481604b 255%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 256%endif
bcf69910 257%patch0 -p1
0029e8cc 258%patch1 -p1
4ab31d9e 259%patch2 -p1
8481604b 260echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
261
262%build
fb27eb94 263%{?with_kernel:%{expand:%build_kernel_packages}}
28142503
PS
264
265%install
266rm -rf $RPM_BUILD_ROOT
1820d34b
ER
267
268%if %{with userspace}
cd436d42 269install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 270 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 271 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
6c7b79fe
JP
272 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d} \
273 $RPM_BUILD_ROOT%{_datadir}/vulkan/icd.d
28142503 274
5da85237
ER
275%if %{with settings}
276install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
277cp -p nvidia-settings.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
278cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
279cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 280install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
5da85237
ER
281%endif
282
283install -p nvidia-{smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
df1704ce
KK
284install -p nvidia-cuda-mps-{control,server} $RPM_BUILD_ROOT%{_bindir}
285cp -p nvidia-{smi,xconfig,cuda-mps-control}.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30 286install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 287
cd436d42
JR
288install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
289install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
290sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 291
eb6ba6c9 292for f in \
cd436d42 293 libGL.so.%{version} \
10e941a4
JP
294 libGLX.so.0 \
295 libGLX_nvidia.so.%{version} \
296 libGLdispatch.so.0 \
297 libEGL.so.1 \
298 libEGL_nvidia.so.%{version} \
299 libGLESv1_CM.so.1 \
300 libGLESv1_CM_nvidia.so.%{version} \
301 libGLESv2.so.2 \
302 libGLESv2_nvidia.so.%{version} \
303 libOpenGL.so.0 \
8481604b 304 libcuda.so.%{version} \
da05371c 305 libnvcuvid.so.%{version} \
8481604b 306 libnvidia-cfg.so.%{version} \
da05371c 307 libnvidia-compiler.so.%{version} \
2a07ccd8 308 libnvidia-egl-wayland.so.1.0.1 \
10e941a4
JP
309 libnvidia-eglcore.so.%{version} \
310 libnvidia-encode.so.%{version} \
311 libnvidia-fatbinaryloader.so.%{version} \
312 libnvidia-fbc.so.%{version} \
8481604b 313 libnvidia-glcore.so.%{version} \
10e941a4
JP
314 libnvidia-glsi.so.%{version} \
315 libnvidia-ifr.so.%{version} \
4c979981 316 libnvidia-ml.so.%{version} \
5ee8f0c8 317 libnvidia-opencl.so.%{version} \
10e941a4 318 libnvidia-ptxjitcompiler.so.%{version} \
8481604b 319 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 320; do
cd436d42 321 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 322done
76db0ca8 323
8481604b 324install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 325
cd436d42
JR
326install -p libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
327ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f
ER
328install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
329ln -s nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
cd436d42 330install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
2f2dbb1c 331ln -s libnvidia-wfb.so.1 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42
JR
332
333/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
334/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 335
02b832fe 336cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 337
76db0ca8 338ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 339
a116bc07
JR
340%ifarch %{x8664}
341echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
342echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
343%else
ffec07c8 344echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 345echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 346%endif
ffec07c8
JR
347
348# OpenGL ABI for Linux compatibility
349ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42 350ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
10e941a4
JP
351ln -sf libGLX.so.0 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGLX.so
352ln -sf libGLX_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGLX_indirect.so.0
353ln -sf libEGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libEGL.so
354ln -sf libGLESv1_CM.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGLESv1_CM.so
355ln -sf libGLESv2.so.2 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGLESv2.so
cd436d42
JR
356ln -sf libcuda.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libcuda.so
357ln -sf libnvcuvid.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libnvcuvid.so
6c7b79fe
JP
358
359install nvidia_icd.json $RPM_BUILD_ROOT%{_datadir}/vulkan/icd.d
ffec07c8 360%endif
28142503 361
1fdf7dcc 362%if %{with kernel}
e4947020
JR
363install -d $RPM_BUILD_ROOT
364cp -a installed/* $RPM_BUILD_ROOT
1fdf7dcc 365%endif
28142503 366
236b5374 367install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
02b832fe
ER
368sed -e '
369 s|@@prefix@@|%{_prefix}|g;
370 s|@@libdir@@|%{_libdir}|g;
371 s|@@includedir@@|%{_includedir}|g;
372 s|@@version@@|%{version}|g' < %{SOURCE3} \
236b5374 373 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
374
28142503
PS
375%clean
376rm -rf $RPM_BUILD_ROOT
377
a641155e 378%post
2b14e59b
ER
379cat << 'EOF'
380NOTE: You must also install kernel module for this driver to work
5ff69e47 381 kernel%{_alt_kernel}-video-nvidia-%{version}
2b14e59b 382
25b520ff 383EOF
f3b8319b 384
5ff69e47 385%post libs -p /sbin/ldconfig
cd436d42 386%postun libs -p /sbin/ldconfig
25b520ff 387
1820d34b 388%if %{with userspace}
28142503
PS
389%files
390%defattr(644,root,root,755)
8481604b 391%doc LICENSE NVIDIA_Changelog README.txt
007619d4 392%dir %{_libdir}/xorg/modules/extensions/nvidia
cd436d42 393%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
4c0d0c97
JR
394%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
395%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42 396%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
4c0d0c97 397%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f 398%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
cd436d42
JR
399%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
400%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
401%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
6c7b79fe 402%{_datadir}/vulkan/icd.d/nvidia_icd.json
17fdb673
JR
403
404%files libs
f3b8319b 405%defattr(644,root,root,755)
f3bf0f30
ER
406%dir %{_sysconfdir}/OpenCL
407%dir %{_sysconfdir}/OpenCL/vendors
408%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 409%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8 410%dir %{_libdir}/nvidia
10e941a4
JP
411%attr(755,root,root) %{_libdir}/nvidia/libEGL.so.1
412%attr(755,root,root) %ghost %{_libdir}/nvidia/libEGL_nvidia.so.0
413%attr(755,root,root) %{_libdir}/nvidia/libEGL_nvidia.so.*.*
ffec07c8
JR
414%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
415%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
10e941a4
JP
416%attr(755,root,root) %{_libdir}/nvidia/libGLESv1_CM.so.1
417%attr(755,root,root) %ghost %{_libdir}/nvidia/libGLESv1_CM_nvidia.so.1
418%attr(755,root,root) %{_libdir}/nvidia/libGLESv1_CM_nvidia.so.*.*
419%attr(755,root,root) %{_libdir}/nvidia/libGLESv2.so.2
420%attr(755,root,root) %ghost %{_libdir}/nvidia/libGLESv2_nvidia.so.2
421%attr(755,root,root) %{_libdir}/nvidia/libGLESv2_nvidia.so.*.*
422%attr(755,root,root) %{_libdir}/nvidia/libGLX.so.0
423%attr(755,root,root) %ghost %{_libdir}/nvidia/libGLX_indirect.so.0
424%attr(755,root,root) %ghost %{_libdir}/nvidia/libGLX_nvidia.so.0
425%attr(755,root,root) %{_libdir}/nvidia/libGLX_nvidia.so.*.*
426%attr(755,root,root) %{_libdir}/nvidia/libGLdispatch.so.0
427%attr(755,root,root) %{_libdir}/nvidia/libOpenGL.so.0
cd436d42
JR
428%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
429%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
430%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
431%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
432%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
433%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
434%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
435%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
436%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
2a07ccd8 437%attr(755,root,root) %{_libdir}/nvidia/libnvidia-egl-wayland.so.*.*.*
10e941a4 438%attr(755,root,root) %{_libdir}/nvidia/libnvidia-eglcore.so.*.*
5ee8f0c8
JR
439%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
440%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
10e941a4
JP
441%attr(755,root,root) %{_libdir}/nvidia/libnvidia-fatbinaryloader.so.*.*
442%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-fbc.so.1
443%attr(755,root,root) %{_libdir}/nvidia/libnvidia-fbc.so.*.*
cd436d42 444%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
10e941a4
JP
445%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glsi.so.*.*
446%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ifr.so.1
447%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ifr.so.*.*
cd436d42
JR
448%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
449%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
450%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
451%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
10e941a4 452%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ptxjitcompiler.so.*.*
cd436d42 453%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 454%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 455%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 456
28142503
PS
457%files devel
458%defattr(644,root,root,755)
73eb73e1 459%dir %{_includedir}/GL
63c6d4b1
JB
460%{_includedir}/GL/gl.h
461%{_includedir}/GL/glext.h
462%{_includedir}/GL/glx.h
463%{_includedir}/GL/glxext.h
cd436d42 464%attr(755,root,root) %{_libdir}/nvidia/libGL.so
10e941a4
JP
465%attr(755,root,root) %{_libdir}/nvidia/libGLX.so
466%attr(755,root,root) %{_libdir}/nvidia/libEGL.so
467%attr(755,root,root) %{_libdir}/nvidia/libGLESv1_CM.so
468%attr(755,root,root) %{_libdir}/nvidia/libGLESv2.so
236b5374 469%{_pkgconfigdir}/gl.pc
63c6d4b1 470
a9160796
ER
471%files doc
472%defattr(644,root,root,755)
8481604b 473%doc html/*
a9160796 474
d4a34ce2 475%files progs
01766b04 476%defattr(644,root,root,755)
8481604b 477%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
df1704ce
KK
478%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-control
479%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-server
8481604b 480%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 481%attr(755,root,root) %{_bindir}/nvidia-xconfig
df1704ce 482%{_mandir}/man1/nvidia-cuda-mps-control.1*
5da85237
ER
483%{_mandir}/man1/nvidia-smi.1*
484%{_mandir}/man1/nvidia-xconfig.1*
485%if %{with settings}
2a45f872 486%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
5da85237
ER
487%attr(755,root,root) %{_bindir}/nvidia-settings
488%{_mandir}/man1/nvidia-settings.1*
225cc701 489%{_desktopdir}/nvidia-settings.desktop
225cc701 490%{_pixmapsdir}/nvidia-settings.png
1820d34b 491%endif
5da85237 492%endif
This page took 1.745936 seconds and 4 git commands to generate.