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