- up to 256.35 (merged from DEVEL)
[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
8481604b 27%define rel 1
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}
8481604b 33Version: 256.35
e86feef4 34Release: %{rel}%{?with_multigl:.mgl}
d7c1ffa0 35Epoch: 1
28142503 36License: nVidia Binary
4a185d32 37Group: X11
8481604b 38Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
39# Source0-md5: f6af8917a500de28396a438f3f548c88
40Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
41# Source1-md5: 7b5924f14a4d2326b4d916efdb7852ff
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}
8481604b 222rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 223%ifarch %{ix86}
28142503 224/bin/sh %{SOURCE0} --extract-only
8481604b 225%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
226%else
227/bin/sh %{SOURCE1} --extract-only
8481604b 228%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 229%endif
bcf69910 230%patch0 -p1
0029e8cc 231%patch1 -p1
8481604b 232echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
233
234%build
2317af94 235%if %{with kernel}
8481604b 236cd kernel
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
8481604b 258install -p nvidia-{settings,smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
259cp -a nvidia-{settings,smi,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
260cp -a nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
261cp -a 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 \
8481604b 265 libGL.so.%{version} \
266 libXvMCNVIDIA.so.%{version} \
267 libcuda.so.%{version} \
268 libnvidia-cfg.so.%{version} \
269 libnvidia-glcore.so.%{version} \
270 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 271; do
76db0ca8 272%if %{without multigl}
f3b8319b 273 install -p $f $RPM_BUILD_ROOT%{_libdir}
ffec07c8 274%else
f3b8319b 275 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
76db0ca8 276%endif
ffec07c8 277done
76db0ca8 278
8481604b 279cp -a libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
280install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 281
8481604b 282install -p libglx.so.%{version} \
eb6ba6c9 283 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
8481604b 284install -p nvidia_drv.so \
dc40a736 285 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
8481604b 286install -p libnvidia-wfb.so.%{version} \
069d2a12 287 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 288
8481604b 289cp -a gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
290cp -a cuda*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 291
eb6ba6c9 292ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
dc40a736 293ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
76db0ca8 294ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 295
ffec07c8
JR
296%if %{with multigl}
297echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
298
299# OpenGL ABI for Linux compatibility
300ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
301ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
302
303ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
304ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 305
c2fc5475 306ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 307%else
28142503 308# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
309ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
310ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
311
312ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
313ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 314
c2fc5475 315ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 316%endif
1820d34b 317%endif
28142503 318
1fdf7dcc 319%if %{with kernel}
8481604b 320%install_kernel_modules -m kernel/nvidia -d misc
1fdf7dcc 321%endif
28142503 322
236b5374 323install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
324sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
325 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
326
28142503
PS
327%clean
328rm -rf $RPM_BUILD_ROOT
329
a641155e 330%post
2b14e59b
ER
331cat << 'EOF'
332NOTE: You must also install kernel module for this driver to work
333 kernel-video-nvidia-%{version}
2b14e59b 334 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
335 kernel-laptop-video-nvidia-%{version}
336 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
337
338Depending on which kernel brand you use.
339
25b520ff 340EOF
504709c0
JR
341%if %{with multigl}
342if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
343 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
344fi
9f765470
ER
345%else
346/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
347# until versioned SONAME is built for nvidia_drv.so, update symlink manually
348ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.so
8481604b 349ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
504709c0 350%endif
25b520ff 351
f3b8319b
ER
352%post libs
353/sbin/ldconfig
354/sbin/ldconfig -N %{_libdir}/vdpau
355
356%postun libs
357/sbin/ldconfig
358/sbin/ldconfig -N %{_libdir}/vdpau
25b520ff 359
00aee69a 360%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
361%depmod %{_kernel_ver}
362
00aee69a 363%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
364%depmod %{_kernel_ver}
365
1820d34b 366%if %{with userspace}
28142503
PS
367%files
368%defattr(644,root,root,755)
8481604b 369%doc LICENSE NVIDIA_Changelog README.txt
907cd55d 370%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 371%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 372%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
373%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
374%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
375
376%files libs
f3b8319b 377%defattr(644,root,root,755)
17fdb673 378%if %{with multigl}
ffec07c8
JR
379%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
380%dir %{_libdir}/nvidia
381%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
382%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
383%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
1a4ef137 384%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
ffec07c8 385%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 386%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
1a4ef137 387%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 388%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 389%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
390%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 391%else
eb6ba6c9 392%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
393%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
394# symlink for binary apps which fail to conform Linux OpenGL ABI
395# (and dlopen libGL.so instead of libGL.so.1)
396%attr(755,root,root) %{_libdir}/libGL.so
8481604b 397%attr(755,root,root) %{_libdir}/libnvidia-glcore.so.*.*
1a4ef137 398%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
28142503 399%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 400%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
1a4ef137 401%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 402%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 403%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
404%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
ffec07c8 405%endif
76db0ca8 406%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 407%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 408
28142503
PS
409%files devel
410%defattr(644,root,root,755)
73eb73e1 411%dir %{_includedir}/GL
63c6d4b1
JB
412%{_includedir}/GL/gl.h
413%{_includedir}/GL/glext.h
414%{_includedir}/GL/glx.h
415%{_includedir}/GL/glxext.h
c2fc5475 416%{_includedir}/cuda
ffec07c8
JR
417%if %{with multigl}
418%attr(755,root,root) %{_libdir}/libGL.so
419%endif
236b5374 420%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
421
422%files static
423%defattr(644,root,root,755)
28142503
PS
424%{_libdir}/libXvMCNVIDIA.a
425
a9160796
ER
426%files doc
427%defattr(644,root,root,755)
8481604b 428%doc html/*
a9160796 429
d4a34ce2 430%files progs
01766b04 431%defattr(644,root,root,755)
8481604b 432%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
01766b04 433%attr(755,root,root) %{_bindir}/nvidia-settings
8481604b 434%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 435%attr(755,root,root) %{_bindir}/nvidia-xconfig
2a45f872 436%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 437%{_desktopdir}/nvidia-settings.desktop
438%{_mandir}/man1/nvidia-*
439%{_pixmapsdir}/nvidia-settings.png
1820d34b 440%endif
63c6d4b1
JB
441
442%if %{with kernel}
443%files -n kernel%{_alt_kernel}-video-nvidia
444%defattr(644,root,root,755)
445/lib/modules/%{_kernel_ver}/misc/*.ko*
446%endif
This page took 0.415587 seconds and 4 git commands to generate.