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