- release 2
[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
a14b5013 27%define pname xorg-driver-video-nvidia
f4d2c99e 28%define rel 2%{?with_multigl:.mgl}
a14b5013 29
974295b8 30Summary: Linux Drivers for nVidia GeForce/Quadro Chips
754fc4fe 31Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
974295b8 32Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
236b5374 33Name: %{pname}
728b8555 34Version: 260.19.29
0ee4b3a7 35Release: %{rel}
d7c1ffa0 36Epoch: 1
28142503 37License: nVidia Binary
4a185d32 38Group: X11
728b8555 39Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
40# Source0-md5: e982a05a85c68130acfe1d48086250e3
41Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
42# Source1-md5: 0583668d86f7318d99def3ed3e1cc4bc
a14b5013 43Source2: %{pname}-xinitrc.sh
236b5374 44Source3: gl.pc.in
bcf69910
JB
45Patch0: X11-driver-nvidia-GL.patch
46Patch1: X11-driver-nvidia-desktop.patch
f517f625 47URL: http://www.nvidia.com/object/unix.html
82268c76 48%if %{with kernel}
0e15e33b 49%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
82268c76 50%endif
28142503 51BuildRequires: %{kgcc_package}
d68f27fd 52BuildRequires: rpmbuild(macros) >= 1.379
039c7221 53BuildRequires: sed >= 4.0
0ed6aeef 54BuildConflicts: XFree86-nvidia
0ee4b3a7 55Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 56Requires: xorg-xserver-server
27c31da0 57Requires: xorg-xserver-server(videodrv-abi) <= 8.0
754fc4fe 58Requires: xorg-xserver-server(videodrv-abi) >= 2.0
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} \
2a45f872 254 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
255%if %{with multigl}
256install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
257%endif
28142503 258
8481604b 259install -p nvidia-{settings,smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
260cp -a nvidia-{settings,smi,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
261cp -a nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
262cp -a nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 263install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
264
265for f in \
8481604b 266 libGL.so.%{version} \
267 libXvMCNVIDIA.so.%{version} \
268 libcuda.so.%{version} \
269 libnvidia-cfg.so.%{version} \
270 libnvidia-glcore.so.%{version} \
271 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 272; do
76db0ca8 273%if %{without multigl}
f3b8319b 274 install -p $f $RPM_BUILD_ROOT%{_libdir}
ffec07c8 275%else
f3b8319b 276 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
76db0ca8 277%endif
ffec07c8 278done
76db0ca8 279
8481604b 280cp -a libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
281install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 282
8481604b 283install -p libglx.so.%{version} \
eb6ba6c9 284 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
8481604b 285install -p nvidia_drv.so \
dc40a736 286 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
8481604b 287install -p libnvidia-wfb.so.%{version} \
069d2a12 288 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 289
8481604b 290cp -a gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
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
25b520ff 335EOF
504709c0
JR
336%if %{with multigl}
337if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
338 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
339fi
9f765470
ER
340%else
341/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
342# until versioned SONAME is built for nvidia_drv.so, update symlink manually
343ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.so
8481604b 344ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
504709c0 345%endif
25b520ff 346
f3b8319b
ER
347%post libs
348/sbin/ldconfig
349/sbin/ldconfig -N %{_libdir}/vdpau
350
351%postun libs
352/sbin/ldconfig
353/sbin/ldconfig -N %{_libdir}/vdpau
25b520ff 354
00aee69a 355%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
356%depmod %{_kernel_ver}
357
00aee69a 358%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
359%depmod %{_kernel_ver}
360
1820d34b 361%if %{with userspace}
28142503
PS
362%files
363%defattr(644,root,root,755)
8481604b 364%doc LICENSE NVIDIA_Changelog README.txt
907cd55d 365%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 366%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 367%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
368%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
369%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
370
371%files libs
f3b8319b 372%defattr(644,root,root,755)
17fdb673 373%if %{with multigl}
ffec07c8
JR
374%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
375%dir %{_libdir}/nvidia
376%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
377%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
1a4ef137 378%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
ffec07c8 379%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 380%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
1a4ef137 381%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 382%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 383%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
b061bb3b 384%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
c75f043c 385%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 386%else
eb6ba6c9 387%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
388%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
389# symlink for binary apps which fail to conform Linux OpenGL ABI
390# (and dlopen libGL.so instead of libGL.so.1)
391%attr(755,root,root) %{_libdir}/libGL.so
1a4ef137 392%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
28142503 393%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 394%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
1a4ef137 395%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 396%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 397%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
b061bb3b 398%attr(755,root,root) %{_libdir}/libnvidia-glcore.so.*.*
032cc98f 399%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
ffec07c8 400%endif
76db0ca8 401%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 402%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 403
28142503
PS
404%files devel
405%defattr(644,root,root,755)
73eb73e1 406%dir %{_includedir}/GL
63c6d4b1
JB
407%{_includedir}/GL/gl.h
408%{_includedir}/GL/glext.h
409%{_includedir}/GL/glx.h
410%{_includedir}/GL/glxext.h
ffec07c8
JR
411%if %{with multigl}
412%attr(755,root,root) %{_libdir}/libGL.so
413%endif
236b5374 414%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
415
416%files static
417%defattr(644,root,root,755)
28142503
PS
418%{_libdir}/libXvMCNVIDIA.a
419
a9160796
ER
420%files doc
421%defattr(644,root,root,755)
8481604b 422%doc html/*
a9160796 423
d4a34ce2 424%files progs
01766b04 425%defattr(644,root,root,755)
8481604b 426%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
01766b04 427%attr(755,root,root) %{_bindir}/nvidia-settings
8481604b 428%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 429%attr(755,root,root) %{_bindir}/nvidia-xconfig
2a45f872 430%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 431%{_desktopdir}/nvidia-settings.desktop
432%{_mandir}/man1/nvidia-*
433%{_pixmapsdir}/nvidia-settings.png
1820d34b 434%endif
63c6d4b1
JB
435
436%if %{with kernel}
437%files -n kernel%{_alt_kernel}-video-nvidia
438%defattr(644,root,root,755)
439/lib/modules/%{_kernel_ver}/misc/*.ko*
440%endif
This page took 0.170702 seconds and 4 git commands to generate.