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