up to 352.21
[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
a124a22f 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
a124a22f 35Version: 352.21
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
a124a22f 41# Source0-md5: c91760a04f658845722380f6c7fd4709
e2ce85dd 42Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
a124a22f 43# Source1-md5: 4eea308a1b04553f720f82fd2fac79d3
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
9d6bbedf 50Patch2: nvidia-kernel-3.18.patch
d4127c3b 51Patch3: linux-4.0.patch
f517f625 52URL: http://www.nvidia.com/object/unix.html
fb27eb94
JR
53BuildRequires: rpmbuild(macros) >= 1.701
54%{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
039c7221 55BuildRequires: sed >= 4.0
0ed6aeef 56BuildConflicts: XFree86-nvidia
0703c7e8 57Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 58Requires: xorg-xserver-server
2041932b 59Requires: xorg-xserver-server(videodrv-abi) <= 19.0
754fc4fe 60Requires: xorg-xserver-server(videodrv-abi) >= 2.0
857c0a69
JP
61Provides: ocl-icd(nvidia)
62Provides: ocl-icd-driver
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
156
157%description doc
158NVIDIA Accelerated Linux Graphics Driver README and Installation
159Guide.
160
28142503
PS
161%package progs
162Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 163Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 164Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 165Group: Applications/System
0056ee0e 166Requires: %{pname} = %{epoch}:%{version}
c29343e3 167Suggests: pkgconfig
c064a147 168Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
169
170%description progs
171Tools for advanced control of nVidia graphic cards.
172
754fc4fe
ZU
173%description progs -l hu.UTF-8
174Eszközök az nVidia grafikus kártyák beállításához.
175
c311612f
JR
176%description progs -l pl.UTF-8
177Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 178
e4947020
JR
179%define kernel_pkg()\
180%package -n kernel%{_alt_kernel}-video-nvidia\
181Summary: nVidia kernel module for nVidia Architecture support\
182Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung\
183Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.\
184Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia\
185Release: %{rel}@%{_kernel_ver_str}\
186Group: Base/Kernel\
187Requires(post,postun): /sbin/depmod\
188Requires: dev >= 2.7.7-10\
e4947020
JR
189%requires_releq_kernel\
190%if %{_kernel_version_code} >= %{_kernel_version_magic 3 10 0}\
191Requires: %{releq_kernel -n drm}\
192%endif\
193Requires(postun): %releq_kernel\
e4947020
JR
194Requires: %{pname} = %{epoch}:%{version}\
195Provides: X11-driver-nvidia(kernel)\
196Obsoletes: XFree86-nvidia-kernel\
197\
198%description -n kernel%{_alt_kernel}-video-nvidia\
199nVidia Architecture support for Linux kernel.\
200\
201%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8\
202Die nVidia-Architektur-Unterstützung für den Linux-Kern.\
203\
204%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8\
205nVidia Architektúra támogatás Linux kernelhez.\
206\
207%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8\
208Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez\
209sterownik nVidii dla Xorg/XFree86.\
210\
211%if %{with kernel}\
212%files -n kernel%{_alt_kernel}-video-nvidia\
213%defattr(644,root,root,755)\
214/lib/modules/%{_kernel_ver}/misc/*.ko*\
215%endif\
216\
217%post -n kernel%{_alt_kernel}-video-nvidia\
218%depmod %{_kernel_ver}\
219\
220%postun -n kernel%{_alt_kernel}-video-nvidia\
221%depmod %{_kernel_ver}\
222%{nil}
223
224%define build_kernel_pkg()\
e4947020
JR
225cd kernel\
226#cat >> Makefile <<'EOF'\
227#\
228#$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin\
229# cp $< $@\
230#EOF\
231#mv nv-kernel.o{,.bin}\
232#build_kernel_modules -m nvidia\
233%{__make} SYSSRC=%{_kernelsrcdir} clean\
234%{__make} SYSSRC=%{_kernelsrcdir} module\
235cd ..\
236%install_kernel_modules -D installed -m kernel/nvidia -d misc\
237%{nil}
238
fb27eb94 239%{?with_kernel:%{expand:%create_kernel_packages}}
28142503 240
28142503
PS
241%prep
242cd %{_builddir}
8481604b 243rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 244%ifarch %{ix86}
28142503 245/bin/sh %{SOURCE0} --extract-only
8481604b 246%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
247%else
248/bin/sh %{SOURCE1} --extract-only
8481604b 249%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 250%endif
bcf69910 251%patch0 -p1
0029e8cc 252%patch1 -p1
9d6bbedf 253%patch2 -p0
d4127c3b 254%patch3 -p1
8481604b 255echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
256
257%build
fb27eb94 258%{?with_kernel:%{expand:%build_kernel_packages}}
28142503
PS
259
260%install
261rm -rf $RPM_BUILD_ROOT
1820d34b
ER
262
263%if %{with userspace}
cd436d42 264install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 265 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 266 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 267 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 268
5da85237
ER
269%if %{with settings}
270install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
271cp -p nvidia-settings.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
272cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
273cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 274install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
5da85237
ER
275%endif
276
277install -p nvidia-{smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
df1704ce
KK
278install -p nvidia-cuda-mps-{control,server} $RPM_BUILD_ROOT%{_bindir}
279cp -p nvidia-{smi,xconfig,cuda-mps-control}.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30 280install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 281
cd436d42
JR
282install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
283install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
284sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 285
eb6ba6c9 286for f in \
cd436d42 287 libGL.so.%{version} \
8481604b 288 libcuda.so.%{version} \
da05371c 289 libnvcuvid.so.%{version} \
8481604b 290 libnvidia-cfg.so.%{version} \
da05371c 291 libnvidia-compiler.so.%{version} \
5ee8f0c8 292 libnvidia-encode.so.%{version} \
8481604b 293 libnvidia-glcore.so.%{version} \
4c979981 294 libnvidia-ml.so.%{version} \
5ee8f0c8 295 libnvidia-opencl.so.%{version} \
8481604b 296 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 297; do
cd436d42 298 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 299done
76db0ca8 300
8481604b 301install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 302
cd436d42
JR
303install -p libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
304ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f
ER
305install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
306ln -s nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
cd436d42 307install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
2f2dbb1c 308ln -s libnvidia-wfb.so.1 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42
JR
309
310/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
311/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 312
02b832fe 313cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 314
76db0ca8 315ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 316
a116bc07
JR
317%ifarch %{x8664}
318echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
319echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
320%else
ffec07c8 321echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 322echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 323%endif
ffec07c8
JR
324
325# OpenGL ABI for Linux compatibility
326ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42 327ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
cd436d42
JR
328ln -sf libcuda.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libcuda.so
329ln -sf libnvcuvid.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libnvcuvid.so
ffec07c8 330%endif
28142503 331
1fdf7dcc 332%if %{with kernel}
e4947020
JR
333install -d $RPM_BUILD_ROOT
334cp -a installed/* $RPM_BUILD_ROOT
1fdf7dcc 335%endif
28142503 336
236b5374 337install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
02b832fe
ER
338sed -e '
339 s|@@prefix@@|%{_prefix}|g;
340 s|@@libdir@@|%{_libdir}|g;
341 s|@@includedir@@|%{_includedir}|g;
342 s|@@version@@|%{version}|g' < %{SOURCE3} \
236b5374 343 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
344
28142503
PS
345%clean
346rm -rf $RPM_BUILD_ROOT
347
a641155e 348%post
2b14e59b
ER
349cat << 'EOF'
350NOTE: You must also install kernel module for this driver to work
5ff69e47 351 kernel%{_alt_kernel}-video-nvidia-%{version}
2b14e59b 352
25b520ff 353EOF
f3b8319b 354
5ff69e47 355%post libs -p /sbin/ldconfig
cd436d42 356%postun libs -p /sbin/ldconfig
25b520ff 357
1820d34b 358%if %{with userspace}
28142503
PS
359%files
360%defattr(644,root,root,755)
8481604b 361%doc LICENSE NVIDIA_Changelog README.txt
007619d4 362%dir %{_libdir}/xorg/modules/extensions/nvidia
cd436d42 363%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
4c0d0c97
JR
364%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
365%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42 366%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
4c0d0c97 367%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f 368%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
cd436d42
JR
369%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
370%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
371%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
17fdb673
JR
372
373%files libs
f3b8319b 374%defattr(644,root,root,755)
f3bf0f30
ER
375%dir %{_sysconfdir}/OpenCL
376%dir %{_sysconfdir}/OpenCL/vendors
377%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 378%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8
JR
379%dir %{_libdir}/nvidia
380%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
381%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
cd436d42
JR
382%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
383%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
384%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
385%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
386%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
387%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
388%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
389%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
390%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
5ee8f0c8
JR
391%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
392%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
cd436d42
JR
393%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
394%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
395%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
396%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
397%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
cd436d42 398%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 399%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 400%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 401
28142503
PS
402%files devel
403%defattr(644,root,root,755)
73eb73e1 404%dir %{_includedir}/GL
63c6d4b1
JB
405%{_includedir}/GL/gl.h
406%{_includedir}/GL/glext.h
407%{_includedir}/GL/glx.h
408%{_includedir}/GL/glxext.h
cd436d42 409%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 410%{_pkgconfigdir}/gl.pc
63c6d4b1 411
a9160796
ER
412%files doc
413%defattr(644,root,root,755)
8481604b 414%doc html/*
a9160796 415
d4a34ce2 416%files progs
01766b04 417%defattr(644,root,root,755)
8481604b 418%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
df1704ce
KK
419%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-control
420%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-server
8481604b 421%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 422%attr(755,root,root) %{_bindir}/nvidia-xconfig
df1704ce 423%{_mandir}/man1/nvidia-cuda-mps-control.1*
5da85237
ER
424%{_mandir}/man1/nvidia-smi.1*
425%{_mandir}/man1/nvidia-xconfig.1*
426%if %{with settings}
2a45f872 427%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
5da85237
ER
428%attr(755,root,root) %{_bindir}/nvidia-settings
429%{_mandir}/man1/nvidia-settings.1*
225cc701 430%{_desktopdir}/nvidia-settings.desktop
225cc701 431%{_pixmapsdir}/nvidia-settings.png
1820d34b 432%endif
5da85237 433%endif
This page took 0.587001 seconds and 4 git commands to generate.