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