- release 3
[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
27c19ae8 27%define rel 3
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}
c2f63bdf 33Version: 195.36.24
e86feef4 34Release: %{rel}%{?with_multigl:.mgl}
d7c1ffa0 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
c2f63bdf 39# Source0-md5: 97d3e5f69707092aa643fb901bb94003
d856ab9b 40Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run
c2f63bdf 41# Source1-md5: 9d58114ed8c89cd66fbaccad0c997ee8
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
c2f63bdf 56Requires: xorg-xserver-server(videodrv-abi) <= 7.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
PS
233
234%build
2317af94 235%if %{with kernel}
4f454d03 236cd usr/src/nv
d4a34ce2 237ln -sf Makefile.kbuild Makefile
94ef5e53 238cat >> Makefile <<'EOF'
239
240$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
241 cp $< $@
242EOF
243mv nv-kernel.o{,.bin}
12a94e85 244%build_kernel_modules -m nvidia
2317af94 245%endif
28142503
PS
246
247%install
248rm -rf $RPM_BUILD_ROOT
1820d34b
ER
249
250%if %{with userspace}
eb6ba6c9 251install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
76db0ca8 252 $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
2a45f872 253 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
254%if %{with multigl}
255install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
256%endif
28142503 257
4f454d03
JR
258install -p usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
259cp -a usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
260cp -a usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
261cp -a usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 262install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
263
264for f in \
4f454d03
JR
265 usr/lib/tls/libnvidia-tls.so.%{version} \
266 usr/lib/libnvidia-cfg.so.%{version} \
267 usr/lib/libGL{,core}.so.%{version} \
268 usr/lib/libcuda.so.%{version} \
269 usr/X11R6/lib/libXvMCNVIDIA.so.%{version} \
eb6ba6c9 270; do
76db0ca8 271%if %{without multigl}
f3b8319b 272 install -p $f $RPM_BUILD_ROOT%{_libdir}
ffec07c8 273%else
f3b8319b 274 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
76db0ca8 275%endif
ffec07c8 276done
76db0ca8 277
4f454d03
JR
278cp -a usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
279install -p usr/lib/vdpau/libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 280
4f454d03 281install -p usr/X11R6/lib/modules/extensions/libglx.so.%{version} \
eb6ba6c9 282 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
4f454d03 283install -p usr/X11R6/lib/modules/drivers/nvidia_drv.so \
dc40a736 284 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
4f454d03 285install -p usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \
069d2a12 286 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 287
4f454d03
JR
288cp -a usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
289cp -a usr/include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 290
eb6ba6c9 291ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
dc40a736 292ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
76db0ca8 293ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 294
ffec07c8
JR
295%if %{with multigl}
296echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
297
298# OpenGL ABI for Linux compatibility
299ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
300ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
301
302ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
303ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 304
c2fc5475 305ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 306%else
28142503 307# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
308ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
309ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
310
311ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
312ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 313
c2fc5475 314ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 315%endif
1820d34b 316%endif
28142503 317
1fdf7dcc 318%if %{with kernel}
4f454d03 319%install_kernel_modules -m usr/src/nv/nvidia -d misc
1fdf7dcc 320%endif
28142503 321
236b5374 322install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
323sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
324 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
325
28142503
PS
326%clean
327rm -rf $RPM_BUILD_ROOT
328
a641155e 329%post
2b14e59b
ER
330cat << 'EOF'
331NOTE: You must also install kernel module for this driver to work
332 kernel-video-nvidia-%{version}
2b14e59b 333 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
334 kernel-laptop-video-nvidia-%{version}
335 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
336
337Depending on which kernel brand you use.
338
25b520ff 339EOF
504709c0
JR
340%if %{with multigl}
341if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
342 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
343fi
9f765470
ER
344%else
345/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
346# until versioned SONAME is built for nvidia_drv.so, update symlink manually
347ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.so
504709c0 348%endif
25b520ff 349
f3b8319b
ER
350%post libs
351/sbin/ldconfig
352/sbin/ldconfig -N %{_libdir}/vdpau
353
354%postun libs
355/sbin/ldconfig
356/sbin/ldconfig -N %{_libdir}/vdpau
25b520ff 357
00aee69a 358%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
359%depmod %{_kernel_ver}
360
00aee69a 361%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
362%depmod %{_kernel_ver}
363
1820d34b 364%if %{with userspace}
28142503
PS
365%files
366%defattr(644,root,root,755)
367%doc LICENSE
4f454d03 368%doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample}
907cd55d 369%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 370%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 371%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
372%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
373%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
374
375%files libs
f3b8319b 376%defattr(644,root,root,755)
17fdb673 377%if %{with multigl}
ffec07c8
JR
378%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
379%dir %{_libdir}/nvidia
380%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
381%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
382%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
1a4ef137 383%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
ffec07c8 384%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 385%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
1a4ef137 386%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 387%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 388%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
389%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 390%else
eb6ba6c9 391%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
392%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
393# symlink for binary apps which fail to conform Linux OpenGL ABI
394# (and dlopen libGL.so instead of libGL.so.1)
395%attr(755,root,root) %{_libdir}/libGL.so
28142503 396%attr(755,root,root) %{_libdir}/libGLcore.so.*.*
1a4ef137 397%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
28142503 398%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 399%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
1a4ef137 400%attr(755,root,root) %{_libdir}/libcuda.so
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)
73eb73e1 410%dir %{_includedir}/GL
63c6d4b1
JB
411%{_includedir}/GL/gl.h
412%{_includedir}/GL/glext.h
413%{_includedir}/GL/glx.h
414%{_includedir}/GL/glxext.h
c2fc5475 415%{_includedir}/cuda
ffec07c8
JR
416%if %{with multigl}
417%attr(755,root,root) %{_libdir}/libGL.so
418%endif
236b5374 419%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
420
421%files static
422%defattr(644,root,root,755)
28142503
PS
423%{_libdir}/libXvMCNVIDIA.a
424
a9160796
ER
425%files doc
426%defattr(644,root,root,755)
4f454d03 427%doc usr/share/doc/html/*
a9160796 428
d4a34ce2 429%files progs
01766b04 430%defattr(644,root,root,755)
431%attr(755,root,root) %{_bindir}/nvidia-settings
225cc701 432%attr(755,root,root) %{_bindir}/nvidia-xconfig
7a2ced2a 433%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
2a45f872 434%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 435%{_desktopdir}/nvidia-settings.desktop
436%{_mandir}/man1/nvidia-*
437%{_pixmapsdir}/nvidia-settings.png
1820d34b 438%endif
63c6d4b1
JB
439
440%if %{with kernel}
441%files -n kernel%{_alt_kernel}-video-nvidia
442%defattr(644,root,root,755)
443/lib/modules/%{_kernel_ver}/misc/*.ko*
444%endif
This page took 0.13999 seconds and 4 git commands to generate.