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