- reorganize files in prep for easier install
[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
PS
166
167%package progs
168Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 169Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 170Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 171Group: Applications/System
84c1d1c9 172Requires: %{pname} = %{epoch}:%{version}-%{rel}
c29343e3 173Suggests: pkgconfig
c064a147 174Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
175
176%description progs
177Tools for advanced control of nVidia graphic cards.
178
754fc4fe
ZU
179%description progs -l hu.UTF-8
180Eszközök az nVidia grafikus kártyák beállításához.
181
c311612f
JR
182%description progs -l pl.UTF-8
183Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 184
00aee69a 185%package -n kernel%{_alt_kernel}-video-nvidia
28142503 186Summary: nVidia kernel module for nVidia Architecture support
b37addd9 187Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 188Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 189Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
84c1d1c9 190Release: %{rel}@%{_kernel_ver_str}
28142503 191Group: Base/Kernel
28142503
PS
192Requires(post,postun): /sbin/depmod
193Requires: dev >= 2.7.7-10
d68f27fd 194%{?with_dist_kernel:%requires_releq_kernel}
84c1d1c9 195Requires: %{pname} = %{epoch}:%{version}-%{rel}
2d490dca 196Provides: X11-driver-nvidia(kernel)
28142503
PS
197Obsoletes: XFree86-nvidia-kernel
198
00aee69a 199%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
200nVidia Architecture support for Linux kernel.
201
c311612f
JR
202%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
203Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 204
754fc4fe
ZU
205%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
206nVidia Architektúra támogatás Linux kernelhez.
207
c311612f
JR
208%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
209Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 210sterownik nVidii dla Xorg/XFree86.
28142503 211
28142503
PS
212%prep
213cd %{_builddir}
a14b5013 214rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
039c7221 215%ifarch %{ix86}
28142503 216/bin/sh %{SOURCE0} --extract-only
d856ab9b 217%setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0
039c7221
PS
218%else
219/bin/sh %{SOURCE1} --extract-only
d856ab9b 220%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0
039c7221 221%endif
bcf69910 222%patch0 -p1
0029e8cc 223%patch1 -p1
eb6ba6c9 224echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
28142503 225
f3b8319b
ER
226mv usr/share/doc .
227mv usr/bin .
228mv usr/share/man/man1 man
229mv usr/share/applications xdg
230mv usr/share/pixmaps/* xdg
231mv usr/src/nv src
232mv usr/lib/tls lib
233mv usr/lib/* lib
234mv usr/X11R6/lib/modules lib/xorg
235mv usr/X11R6/lib/* lib
236mv usr/include .
237
28142503 238%build
2317af94 239%if %{with kernel}
f3b8319b 240cd src
d4a34ce2 241ln -sf Makefile.kbuild Makefile
94ef5e53 242cat >> Makefile <<'EOF'
243
244$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
245 cp $< $@
246EOF
247mv nv-kernel.o{,.bin}
12a94e85 248%build_kernel_modules -m nvidia
2317af94 249%endif
28142503
PS
250
251%install
252rm -rf $RPM_BUILD_ROOT
1820d34b
ER
253
254%if %{with userspace}
eb6ba6c9 255install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
76db0ca8 256 $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
2a45f872 257 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
258%if %{with multigl}
259install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
260%endif
28142503 261
f3b8319b
ER
262install -p bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
263cp -a man/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
264cp -a xdg/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
265cp -a xdg/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
266install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
267
268for f in \
f3b8319b
ER
269 lib/libnvidia-tls.so.%{version} \
270 lib/libnvidia-cfg.so.%{version} \
271 lib/libGL{,core}.so.%{version} \
272 lib/libcuda.so.%{version} \
273 lib/libXvMCNVIDIA.so.%{version} \
eb6ba6c9 274; do
76db0ca8 275%if %{without multigl}
f3b8319b 276 install -p $f $RPM_BUILD_ROOT%{_libdir}
ffec07c8 277%else
f3b8319b 278 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
76db0ca8 279%endif
ffec07c8 280done
76db0ca8 281
f3b8319b
ER
282cp -a lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
283install -p lib/vdpau/libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 284
f3b8319b 285install -p lib/xorg/extensions/libglx.so.%{version} \
eb6ba6c9 286 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
f3b8319b 287install -p lib/xorg/drivers/nvidia_drv.so \
dc40a736 288 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
f3b8319b 289install -p lib/xorg/libnvidia-wfb.so.%{version} \
069d2a12 290 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 291
f3b8319b
ER
292cp -a include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
293cp -a include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 294
eb6ba6c9 295ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
dc40a736 296ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
76db0ca8 297ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 298
ffec07c8
JR
299%if %{with multigl}
300echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
301
302# OpenGL ABI for Linux compatibility
303ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
304ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
305
306ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
307ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 308
c2fc5475 309ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 310%else
28142503 311# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
312ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
313ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
314
315ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
316ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 317
c2fc5475 318ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 319%endif
1820d34b 320%endif
28142503 321
1fdf7dcc 322%if %{with kernel}
f3b8319b 323%install_kernel_modules -m src/nvidia -d misc
1fdf7dcc 324%endif
28142503 325
236b5374 326install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
327sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
328 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
329
28142503
PS
330%clean
331rm -rf $RPM_BUILD_ROOT
332
a641155e 333%post
2b14e59b
ER
334cat << 'EOF'
335NOTE: You must also install kernel module for this driver to work
336 kernel-video-nvidia-%{version}
2b14e59b 337 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
338 kernel-laptop-video-nvidia-%{version}
339 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
340
341Depending on which kernel brand you use.
342
25b520ff 343EOF
504709c0
JR
344%if %{with multigl}
345if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
346 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
347fi
9f765470
ER
348%else
349/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
350# until versioned SONAME is built for nvidia_drv.so, update symlink manually
351ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.so
504709c0 352%endif
25b520ff 353
f3b8319b
ER
354%post libs
355/sbin/ldconfig
356/sbin/ldconfig -N %{_libdir}/vdpau
357
358%postun libs
359/sbin/ldconfig
360/sbin/ldconfig -N %{_libdir}/vdpau
25b520ff 361
00aee69a 362%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
363%depmod %{_kernel_ver}
364
00aee69a 365%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
366%depmod %{_kernel_ver}
367
1820d34b 368%if %{with userspace}
28142503
PS
369%files
370%defattr(644,root,root,755)
371%doc LICENSE
f3b8319b 372%doc doc/{README.txt,NVIDIA_Changelog,XF86Config.sample}
907cd55d 373%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 374%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 375%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
376%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
377%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
378
379%files libs
f3b8319b 380%defattr(644,root,root,755)
17fdb673 381%if %{with multigl}
ffec07c8
JR
382%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
383%dir %{_libdir}/nvidia
384%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
385%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
386%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
387%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 388%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 389%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 390%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
391%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 392%else
eb6ba6c9 393%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
394%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
395# symlink for binary apps which fail to conform Linux OpenGL ABI
396# (and dlopen libGL.so instead of libGL.so.1)
397%attr(755,root,root) %{_libdir}/libGL.so
28142503
PS
398%attr(755,root,root) %{_libdir}/libGLcore.so.*.*
399%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 400%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 401%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 402%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
403%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
ffec07c8 404%endif
76db0ca8 405%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 406%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 407
28142503
PS
408%files devel
409%defattr(644,root,root,755)
410%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
c2fc5475 411%attr(755,root,root) %{_libdir}/libcuda.so
73eb73e1 412%dir %{_includedir}/GL
63c6d4b1
JB
413%{_includedir}/GL/gl.h
414%{_includedir}/GL/glext.h
415%{_includedir}/GL/glx.h
416%{_includedir}/GL/glxext.h
c2fc5475 417%{_includedir}/cuda
ffec07c8
JR
418%if %{with multigl}
419%attr(755,root,root) %{_libdir}/libGL.so
420%endif
236b5374 421%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
422
423%files static
424%defattr(644,root,root,755)
28142503
PS
425%{_libdir}/libXvMCNVIDIA.a
426
d4a34ce2 427%files progs
01766b04 428%defattr(644,root,root,755)
429%attr(755,root,root) %{_bindir}/nvidia-settings
225cc701 430%attr(755,root,root) %{_bindir}/nvidia-xconfig
7a2ced2a 431%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
2a45f872 432%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 433%{_desktopdir}/nvidia-settings.desktop
434%{_mandir}/man1/nvidia-*
435%{_pixmapsdir}/nvidia-settings.png
1820d34b 436%endif
63c6d4b1
JB
437
438%if %{with kernel}
439%files -n kernel%{_alt_kernel}-video-nvidia
440%defattr(644,root,root,755)
441/lib/modules/%{_kernel_ver}/misc/*.ko*
442%endif
This page took 0.233005 seconds and 4 git commands to generate.