- doc subpackage
[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
c5bb5957 25
a14b5013 26%define pname xorg-driver-video-nvidia
fd23ba69 27%define rel 2
a14b5013 28
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}
76db0ca8 33Version: 190.53
e86feef4 34Release: %{rel}%{?with_multigl:.mgl}
3bde582d 35Epoch: 1
28142503 36License: nVidia Binary
4a185d32 37Group: X11
d856ab9b 38Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg0.run
76db0ca8 39# Source0-md5: 2e80419f6f9ac16beecd839874d0c5ab
d856ab9b 40Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run
76db0ca8 41# Source1-md5: 3d3e956366f9df0e4c64d2e0299d1029
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
17fdb673 54Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 55Requires: xorg-xserver-server
236b5374 56Requires: xorg-xserver-server(videodrv-abi) <= 6.0
754fc4fe 57Requires: xorg-xserver-server(videodrv-abi) >= 2.0
4e3e8de1 58Provides: xorg-xserver-module(glx)
2d490dca 59Obsoletes: XFree86-driver-nvidia
28142503
PS
60Obsoletes: XFree86-nvidia
61Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 62ExclusiveArch: %{ix86} %{x8664}
28142503
PS
63BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
03da6314 65%define _noautoreqdep libGL.so.1 libGLcore.so.1
28142503
PS
66
67%description
974295b8
JB
68This driver set adds improved 2D functionality to the Xorg X server as
69well as high performance OpenGL acceleration, AGP support, support for
70most flat panels, and 2D multiple monitor support. Supported hardware:
71modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up)
72based graphics accelerators.
28142503 73
974295b8
JB
74The older graphics chips are unsupported:
75- NV1 and RIVA 128/128ZX chips are supported in the base Xorg install
76 (nv driver)
77- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy
78 drivers.
28142503 79
754fc4fe
ZU
80%description -l hu.UTF-8
81Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL
82gyorsítással, AGP támogatással és támogatja a több monitort.
83Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és
84Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók.
85
86A régekbbi grafikus chipek nem támogatottak:
87- NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó)
88- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel
89 támogatottak.
90
c311612f 91%description -l pl.UTF-8
974295b8
JB
92Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg,
93dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów
942D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2
95MX) oraz Quadro (od wersji Quadro4).
28142503 96
974295b8
JB
97Starsze układy graficzne nie są obsługiwane przez ten pakiet:
98- NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg
99- TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez
100 sterowniki -legacy
28142503 101
17fdb673
JR
102%package libs
103Summary: OpenGL (GL and GLX) Nvidia libraries
104Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) Nvidia
105Group: X11/Development/Libraries
f3b8319b 106Requires(post,postun): /sbin/ldconfig
76db0ca8 107Requires: libvdpau >= 0.3
17fdb673
JR
108Provides: OpenGL = 2.1
109Provides: OpenGL-GLX = 1.4
110%if %{without multigl}
111Obsoletes: Mesa
112%endif
113Obsoletes: X11-OpenGL-core < 1:7.0.0
114Obsoletes: X11-OpenGL-libGL < 1:7.0.0
115Obsoletes: XFree86-OpenGL-core < 1:7.0.0
116Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
117%if %{without multigl}
118Conflicts: Mesa-libGL
119%endif
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
17fdb673 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
151%package static
152Summary: Static XvMCNVIDIA library
754fc4fe 153Summary(hu.UTF-8): Statikus XwMCNVIDIA könyvtár
63c6d4b1
JB
154Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA
155Group: X11/Development/Libraries
84c1d1c9 156Requires: %{pname}-devel = %{epoch}:%{version}-%{rel}
63c6d4b1
JB
157
158%description static
159Static XvMCNVIDIA library.
160
754fc4fe
ZU
161%description static -l hu.UTF-8
162Statikus XwMCNVIDIA könyvtár.
163
63c6d4b1
JB
164%description static -l pl.UTF-8
165Statyczna biblioteka XvMCNVIDIA.
28142503 166
a9160796
ER
167%package doc
168Summary: Documentation for NVIDIA Graphics Driver
169Group: Documentation
170
171%description doc
172NVIDIA Accelerated Linux Graphics Driver README and Installation
173Guide.
174
28142503
PS
175%package progs
176Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 177Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 178Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 179Group: Applications/System
84c1d1c9 180Requires: %{pname} = %{epoch}:%{version}-%{rel}
c29343e3 181Suggests: pkgconfig
c064a147 182Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
183
184%description progs
185Tools for advanced control of nVidia graphic cards.
186
754fc4fe
ZU
187%description progs -l hu.UTF-8
188Eszközök az nVidia grafikus kártyák beállításához.
189
c311612f
JR
190%description progs -l pl.UTF-8
191Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 192
00aee69a 193%package -n kernel%{_alt_kernel}-video-nvidia
28142503 194Summary: nVidia kernel module for nVidia Architecture support
b37addd9 195Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 196Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 197Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
84c1d1c9 198Release: %{rel}@%{_kernel_ver_str}
28142503 199Group: Base/Kernel
28142503
PS
200Requires(post,postun): /sbin/depmod
201Requires: dev >= 2.7.7-10
d68f27fd 202%{?with_dist_kernel:%requires_releq_kernel}
84c1d1c9 203Requires: %{pname} = %{epoch}:%{version}-%{rel}
2d490dca 204Provides: X11-driver-nvidia(kernel)
28142503
PS
205Obsoletes: XFree86-nvidia-kernel
206
00aee69a 207%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
208nVidia Architecture support for Linux kernel.
209
c311612f
JR
210%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
211Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 212
754fc4fe
ZU
213%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
214nVidia Architektúra támogatás Linux kernelhez.
215
c311612f
JR
216%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
217Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 218sterownik nVidii dla Xorg/XFree86.
28142503 219
28142503
PS
220%prep
221cd %{_builddir}
a14b5013 222rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
039c7221 223%ifarch %{ix86}
28142503 224/bin/sh %{SOURCE0} --extract-only
d856ab9b 225%setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0
039c7221
PS
226%else
227/bin/sh %{SOURCE1} --extract-only
d856ab9b 228%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0
039c7221 229%endif
bcf69910 230%patch0 -p1
0029e8cc 231%patch1 -p1
eb6ba6c9 232echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
28142503 233
f3b8319b
ER
234mv usr/share/doc .
235mv usr/bin .
236mv usr/share/man/man1 man
237mv usr/share/applications xdg
238mv usr/share/pixmaps/* xdg
239mv usr/src/nv src
240mv usr/lib/tls lib
241mv usr/lib/* lib
242mv usr/X11R6/lib/modules lib/xorg
243mv usr/X11R6/lib/* lib
244mv usr/include .
245
28142503 246%build
2317af94 247%if %{with kernel}
f3b8319b 248cd src
d4a34ce2 249ln -sf Makefile.kbuild Makefile
94ef5e53 250cat >> Makefile <<'EOF'
251
252$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
253 cp $< $@
254EOF
255mv nv-kernel.o{,.bin}
12a94e85 256%build_kernel_modules -m nvidia
2317af94 257%endif
28142503
PS
258
259%install
260rm -rf $RPM_BUILD_ROOT
1820d34b
ER
261
262%if %{with userspace}
eb6ba6c9 263install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
76db0ca8 264 $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
2a45f872 265 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
266%if %{with multigl}
267install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
268%endif
28142503 269
f3b8319b
ER
270install -p bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
271cp -a man/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
272cp -a xdg/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
273cp -a xdg/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
274install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
275
276for f in \
f3b8319b
ER
277 lib/libnvidia-tls.so.%{version} \
278 lib/libnvidia-cfg.so.%{version} \
279 lib/libGL{,core}.so.%{version} \
280 lib/libcuda.so.%{version} \
281 lib/libXvMCNVIDIA.so.%{version} \
eb6ba6c9 282; do
76db0ca8 283%if %{without multigl}
f3b8319b 284 install -p $f $RPM_BUILD_ROOT%{_libdir}
ffec07c8 285%else
f3b8319b 286 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
76db0ca8 287%endif
ffec07c8 288done
76db0ca8 289
f3b8319b
ER
290cp -a lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
291install -p lib/vdpau/libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 292
f3b8319b 293install -p lib/xorg/extensions/libglx.so.%{version} \
eb6ba6c9 294 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
f3b8319b 295install -p lib/xorg/drivers/nvidia_drv.so \
dc40a736 296 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
f3b8319b 297install -p lib/xorg/libnvidia-wfb.so.%{version} \
069d2a12 298 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 299
f3b8319b
ER
300cp -a include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
301cp -a include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 302
eb6ba6c9 303ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
dc40a736 304ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
76db0ca8 305ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 306
ffec07c8
JR
307%if %{with multigl}
308echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
309
310# OpenGL ABI for Linux compatibility
311ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
312ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
313
314ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
315ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 316
c2fc5475 317ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 318%else
28142503 319# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
320ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
321ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
322
323ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
324ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 325
c2fc5475 326ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 327%endif
1820d34b 328%endif
28142503 329
1fdf7dcc 330%if %{with kernel}
f3b8319b 331%install_kernel_modules -m src/nvidia -d misc
1fdf7dcc 332%endif
28142503 333
236b5374 334install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
335sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
336 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
337
28142503
PS
338%clean
339rm -rf $RPM_BUILD_ROOT
340
a641155e 341%post
2b14e59b
ER
342cat << 'EOF'
343NOTE: You must also install kernel module for this driver to work
344 kernel-video-nvidia-%{version}
2b14e59b 345 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
346 kernel-laptop-video-nvidia-%{version}
347 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
348
349Depending on which kernel brand you use.
350
25b520ff 351EOF
504709c0
JR
352%if %{with multigl}
353if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
354 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
355fi
9f765470
ER
356%else
357/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
358# until versioned SONAME is built for nvidia_drv.so, update symlink manually
359ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.so
504709c0 360%endif
25b520ff 361
f3b8319b
ER
362%post libs
363/sbin/ldconfig
364/sbin/ldconfig -N %{_libdir}/vdpau
365
366%postun libs
367/sbin/ldconfig
368/sbin/ldconfig -N %{_libdir}/vdpau
25b520ff 369
00aee69a 370%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
371%depmod %{_kernel_ver}
372
00aee69a 373%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
374%depmod %{_kernel_ver}
375
1820d34b 376%if %{with userspace}
28142503
PS
377%files
378%defattr(644,root,root,755)
379%doc LICENSE
f3b8319b 380%doc doc/{README.txt,NVIDIA_Changelog,XF86Config.sample}
907cd55d 381%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 382%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 383%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
384%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
385%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
386
387%files libs
f3b8319b 388%defattr(644,root,root,755)
17fdb673 389%if %{with multigl}
ffec07c8
JR
390%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
391%dir %{_libdir}/nvidia
392%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
393%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
394%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
395%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 396%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 397%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 398%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
399%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 400%else
eb6ba6c9 401%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
402%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
403# symlink for binary apps which fail to conform Linux OpenGL ABI
404# (and dlopen libGL.so instead of libGL.so.1)
405%attr(755,root,root) %{_libdir}/libGL.so
28142503
PS
406%attr(755,root,root) %{_libdir}/libGLcore.so.*.*
407%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 408%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 409%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 410%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
411%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
ffec07c8 412%endif
76db0ca8 413%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 414%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 415
28142503
PS
416%files devel
417%defattr(644,root,root,755)
418%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
c2fc5475 419%attr(755,root,root) %{_libdir}/libcuda.so
73eb73e1 420%dir %{_includedir}/GL
63c6d4b1
JB
421%{_includedir}/GL/gl.h
422%{_includedir}/GL/glext.h
423%{_includedir}/GL/glx.h
424%{_includedir}/GL/glxext.h
c2fc5475 425%{_includedir}/cuda
ffec07c8
JR
426%if %{with multigl}
427%attr(755,root,root) %{_libdir}/libGL.so
428%endif
236b5374 429%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
430
431%files static
432%defattr(644,root,root,755)
28142503
PS
433%{_libdir}/libXvMCNVIDIA.a
434
a9160796
ER
435%files doc
436%defattr(644,root,root,755)
437%doc doc/html/*
438
d4a34ce2 439%files progs
01766b04 440%defattr(644,root,root,755)
441%attr(755,root,root) %{_bindir}/nvidia-settings
225cc701 442%attr(755,root,root) %{_bindir}/nvidia-xconfig
7a2ced2a 443%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
2a45f872 444%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 445%{_desktopdir}/nvidia-settings.desktop
446%{_mandir}/man1/nvidia-*
447%{_pixmapsdir}/nvidia-settings.png
1820d34b 448%endif
63c6d4b1
JB
449
450%if %{with kernel}
451%files -n kernel%{_alt_kernel}-video-nvidia
452%defattr(644,root,root,755)
453/lib/modules/%{_kernel_ver}/misc/*.ko*
454%endif
This page took 0.328525 seconds and 4 git commands to generate.