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