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