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