- don't package libOpenCL.so*, rely on ocl-icd-libOpenCL* instead
[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
5467f08a 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
58e235c0 55Version: 340.46
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
58e235c0 61# Source0-md5: 7c70a15c53a97ed0bbec76e80bf53f05
e2ce85dd 62Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
58e235c0 63# Source1-md5: bf40adc20ac9819b5f86cd91f6409e39
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
5677c811 77Requires: xorg-xserver-server(videodrv-abi) <= 18.0
754fc4fe 78Requires: xorg-xserver-server(videodrv-abi) >= 2.0
857c0a69
JP
79Provides: ocl-icd(nvidia)
80Provides: ocl-icd-driver
f3bf0f30 81Provides: xorg-driver-video
4e3e8de1 82Provides: xorg-xserver-module(glx)
2d490dca 83Obsoletes: XFree86-driver-nvidia
28142503
PS
84Obsoletes: XFree86-nvidia
85Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 86ExclusiveArch: %{ix86} %{x8664}
b67880c3 87BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
28142503 88
04ec5f0a
JR
89%define _noautoreqdep libGL.so.1 libnvcuvid.so
90# libnvidia-encode.so.*.* links with libnvcuvid.so instead of libnvcuvid.so.1
91%define _noautoreq libnvcuvid.so
28142503
PS
92
93%description
974295b8
JB
94This driver set adds improved 2D functionality to the Xorg X server as
95well as high performance OpenGL acceleration, AGP support, support for
96most flat panels, and 2D multiple monitor support. Supported hardware:
97modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up)
98based graphics accelerators.
28142503 99
974295b8
JB
100The older graphics chips are unsupported:
101- NV1 and RIVA 128/128ZX chips are supported in the base Xorg install
102 (nv driver)
103- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy
104 drivers.
28142503 105
754fc4fe
ZU
106%description -l hu.UTF-8
107Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL
108gyorsítással, AGP támogatással és támogatja a több monitort.
109Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és
110Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók.
111
112A régekbbi grafikus chipek nem támogatottak:
113- NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó)
114- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel
115 támogatottak.
116
c311612f 117%description -l pl.UTF-8
974295b8
JB
118Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg,
119dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów
1202D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2
121MX) oraz Quadro (od wersji Quadro4).
28142503 122
974295b8
JB
123Starsze układy graficzne nie są obsługiwane przez ten pakiet:
124- NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg
125- TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez
126 sterowniki -legacy
28142503 127
17fdb673
JR
128%package libs
129Summary: OpenGL (GL and GLX) Nvidia libraries
130Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) Nvidia
131Group: X11/Development/Libraries
f3b8319b 132Requires(post,postun): /sbin/ldconfig
76db0ca8 133Requires: libvdpau >= 0.3
ba4c5c19 134Provides: OpenGL = 3.3
17fdb673 135Provides: OpenGL-GLX = 1.4
17fdb673
JR
136Obsoletes: X11-OpenGL-core < 1:7.0.0
137Obsoletes: X11-OpenGL-libGL < 1:7.0.0
138Obsoletes: XFree86-OpenGL-core < 1:7.0.0
139Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
17fdb673 140
4c842b35 141%description libs
17fdb673
JR
142NVIDIA OpenGL (GL and GLX only) implementation libraries.
143
4c842b35 144%description libs -l pl.UTF-8
17fdb673
JR
145Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
146
28142503 147%package devel
63c6d4b1 148Summary: OpenGL (GL and GLX) header files
754fc4fe 149Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok
63c6d4b1 150Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX)
28142503 151Group: X11/Development/Libraries
0703c7e8 152Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
63c6d4b1 153Provides: OpenGL-GLX-devel = 1.4
1b8b7646 154Provides: OpenGL-devel = 2.1
63c6d4b1
JB
155Obsoletes: X11-OpenGL-devel-base
156Obsoletes: XFree86-OpenGL-devel-base
2d490dca 157Obsoletes: XFree86-driver-nvidia-devel
28142503
PS
158Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3
159
160%description devel
63c6d4b1
JB
161OpenGL header files (GL and GLX only) for NVIDIA OpenGL
162implementation.
28142503 163
754fc4fe
ZU
164%description devel -l hu.UTF-8
165OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz.
166
c311612f 167%description devel -l pl.UTF-8
63c6d4b1
JB
168Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL
169firmy NVIDIA.
170
a9160796
ER
171%package doc
172Summary: Documentation for NVIDIA Graphics Driver
173Group: Documentation
174
175%description doc
176NVIDIA Accelerated Linux Graphics Driver README and Installation
177Guide.
178
28142503
PS
179%package progs
180Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 181Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 182Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 183Group: Applications/System
0056ee0e 184Requires: %{pname} = %{epoch}:%{version}
c29343e3 185Suggests: pkgconfig
c064a147 186Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
187
188%description progs
189Tools for advanced control of nVidia graphic cards.
190
754fc4fe
ZU
191%description progs -l hu.UTF-8
192Eszközök az nVidia grafikus kártyák beállításához.
193
c311612f
JR
194%description progs -l pl.UTF-8
195Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 196
e4947020
JR
197%define kernel_pkg()\
198%package -n kernel%{_alt_kernel}-video-nvidia\
199Summary: nVidia kernel module for nVidia Architecture support\
200Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung\
201Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.\
202Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia\
203Release: %{rel}@%{_kernel_ver_str}\
204Group: Base/Kernel\
205Requires(post,postun): /sbin/depmod\
206Requires: dev >= 2.7.7-10\
207%if %{with dist_kernel}\
208%requires_releq_kernel\
209%if %{_kernel_version_code} >= %{_kernel_version_magic 3 10 0}\
210Requires: %{releq_kernel -n drm}\
211%endif\
212Requires(postun): %releq_kernel\
213%endif\
214Requires: %{pname} = %{epoch}:%{version}\
215Provides: X11-driver-nvidia(kernel)\
216Obsoletes: XFree86-nvidia-kernel\
217\
218%description -n kernel%{_alt_kernel}-video-nvidia\
219nVidia Architecture support for Linux kernel.\
220\
221%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8\
222Die nVidia-Architektur-Unterstützung für den Linux-Kern.\
223\
224%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8\
225nVidia Architektúra támogatás Linux kernelhez.\
226\
227%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8\
228Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez\
229sterownik nVidii dla Xorg/XFree86.\
230\
231%if %{with kernel}\
232%files -n kernel%{_alt_kernel}-video-nvidia\
233%defattr(644,root,root,755)\
234/lib/modules/%{_kernel_ver}/misc/*.ko*\
235%endif\
236\
237%post -n kernel%{_alt_kernel}-video-nvidia\
238%depmod %{_kernel_ver}\
239\
240%postun -n kernel%{_alt_kernel}-video-nvidia\
241%depmod %{_kernel_ver}\
242%{nil}
243
244%define build_kernel_pkg()\
e4947020
JR
245cd kernel\
246#cat >> Makefile <<'EOF'\
247#\
248#$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin\
249# cp $< $@\
250#EOF\
251#mv nv-kernel.o{,.bin}\
252#build_kernel_modules -m nvidia\
253%{__make} SYSSRC=%{_kernelsrcdir} clean\
254%{__make} SYSSRC=%{_kernelsrcdir} module\
255cd ..\
256%install_kernel_modules -D installed -m kernel/nvidia -d misc\
257%{nil}
258
259%{?with_kernel:%{expand:%kpkg}}
28142503 260
28142503
PS
261%prep
262cd %{_builddir}
8481604b 263rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 264%ifarch %{ix86}
28142503 265/bin/sh %{SOURCE0} --extract-only
8481604b 266%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
267%else
268/bin/sh %{SOURCE1} --extract-only
8481604b 269%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 270%endif
bcf69910 271%patch0 -p1
0029e8cc 272%patch1 -p1
8481604b 273echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
274
275%build
e4947020 276%{?with_kernel:%{expand:%bkpkg}}
28142503
PS
277
278%install
279rm -rf $RPM_BUILD_ROOT
1820d34b
ER
280
281%if %{with userspace}
cd436d42 282install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 283 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 284 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 285 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 286
5da85237
ER
287%if %{with settings}
288install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
289cp -p nvidia-settings.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
290cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
291cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 292install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
5da85237
ER
293%endif
294
295install -p nvidia-{smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
df1704ce
KK
296install -p nvidia-cuda-mps-{control,server} $RPM_BUILD_ROOT%{_bindir}
297cp -p nvidia-{smi,xconfig,cuda-mps-control}.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30 298install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 299
cd436d42
JR
300install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
301install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
302sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 303
eb6ba6c9 304for f in \
cd436d42 305 libGL.so.%{version} \
8481604b 306 libcuda.so.%{version} \
da05371c 307 libnvcuvid.so.%{version} \
8481604b 308 libnvidia-cfg.so.%{version} \
da05371c 309 libnvidia-compiler.so.%{version} \
5ee8f0c8 310 libnvidia-encode.so.%{version} \
8481604b 311 libnvidia-glcore.so.%{version} \
4c979981 312 libnvidia-ml.so.%{version} \
5ee8f0c8 313 libnvidia-opencl.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
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/libcuda.so.*.*
401%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
402%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
403%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
404%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
405%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
406%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
407%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
408%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
5ee8f0c8
JR
409%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
410%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
cd436d42
JR
411%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
412%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
413%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
414%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
415%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
cd436d42 416%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 417%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 418%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 419
28142503
PS
420%files devel
421%defattr(644,root,root,755)
73eb73e1 422%dir %{_includedir}/GL
63c6d4b1
JB
423%{_includedir}/GL/gl.h
424%{_includedir}/GL/glext.h
425%{_includedir}/GL/glx.h
426%{_includedir}/GL/glxext.h
cd436d42 427%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 428%{_pkgconfigdir}/gl.pc
63c6d4b1 429
a9160796
ER
430%files doc
431%defattr(644,root,root,755)
8481604b 432%doc html/*
a9160796 433
d4a34ce2 434%files progs
01766b04 435%defattr(644,root,root,755)
8481604b 436%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
df1704ce
KK
437%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-control
438%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-server
8481604b 439%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 440%attr(755,root,root) %{_bindir}/nvidia-xconfig
df1704ce 441%{_mandir}/man1/nvidia-cuda-mps-control.1*
5da85237
ER
442%{_mandir}/man1/nvidia-smi.1*
443%{_mandir}/man1/nvidia-xconfig.1*
444%if %{with settings}
2a45f872 445%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
5da85237
ER
446%attr(755,root,root) %{_bindir}/nvidia-settings
447%{_mandir}/man1/nvidia-settings.1*
225cc701 448%{_desktopdir}/nvidia-settings.desktop
225cc701 449%{_pixmapsdir}/nvidia-settings.png
1820d34b 450%endif
5da85237 451%endif
This page took 0.408349 seconds and 4 git commands to generate.