- one missing ldconfig; rel 9
[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
907cd55d 27%define rel 9
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}
33Version: 190.42
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
236b5374 39# Source0-md5: f94806feee87de756d14fe3e9bcaf05a
d856ab9b 40Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run
236b5374 41# Source1-md5: ae431ff849ec01446e6724f9fcfe3bb4
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
106#Requires: %{pname} = %{epoch}:%{version}-%{rel}
107Provides: OpenGL = 2.1
108Provides: OpenGL-GLX = 1.4
109%if %{without multigl}
110Obsoletes: Mesa
111%endif
112Obsoletes: X11-OpenGL-core < 1:7.0.0
113Obsoletes: X11-OpenGL-libGL < 1:7.0.0
114Obsoletes: XFree86-OpenGL-core < 1:7.0.0
115Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
116%if %{without multigl}
117Conflicts: Mesa-libGL
118%endif
119
4c842b35 120%description libs
17fdb673
JR
121NVIDIA OpenGL (GL and GLX only) implementation libraries.
122
4c842b35 123%description libs -l pl.UTF-8
17fdb673
JR
124Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
125
28142503 126%package devel
63c6d4b1 127Summary: OpenGL (GL and GLX) header files
754fc4fe 128Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok
63c6d4b1 129Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX)
28142503 130Group: X11/Development/Libraries
17fdb673 131Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
63c6d4b1 132Provides: OpenGL-GLX-devel = 1.4
1b8b7646 133Provides: OpenGL-devel = 2.1
63c6d4b1
JB
134Obsoletes: X11-OpenGL-devel-base
135Obsoletes: XFree86-OpenGL-devel-base
2d490dca 136Obsoletes: XFree86-driver-nvidia-devel
28142503
PS
137Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3
138
139%description devel
63c6d4b1
JB
140OpenGL header files (GL and GLX only) for NVIDIA OpenGL
141implementation.
28142503 142
754fc4fe
ZU
143%description devel -l hu.UTF-8
144OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz.
145
c311612f 146%description devel -l pl.UTF-8
63c6d4b1
JB
147Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL
148firmy NVIDIA.
149
150%package static
151Summary: Static XvMCNVIDIA library
754fc4fe 152Summary(hu.UTF-8): Statikus XwMCNVIDIA könyvtár
63c6d4b1
JB
153Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA
154Group: X11/Development/Libraries
84c1d1c9 155Requires: %{pname}-devel = %{epoch}:%{version}-%{rel}
63c6d4b1
JB
156
157%description static
158Static XvMCNVIDIA library.
159
754fc4fe
ZU
160%description static -l hu.UTF-8
161Statikus XwMCNVIDIA könyvtár.
162
63c6d4b1
JB
163%description static -l pl.UTF-8
164Statyczna biblioteka XvMCNVIDIA.
28142503
PS
165
166%package progs
167Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 168Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 169Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 170Group: Applications/System
84c1d1c9 171Requires: %{pname} = %{epoch}:%{version}-%{rel}
c29343e3 172Suggests: pkgconfig
c064a147 173Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
174
175%description progs
176Tools for advanced control of nVidia graphic cards.
177
754fc4fe
ZU
178%description progs -l hu.UTF-8
179Eszközök az nVidia grafikus kártyák beállításához.
180
c311612f
JR
181%description progs -l pl.UTF-8
182Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 183
00aee69a 184%package -n kernel%{_alt_kernel}-video-nvidia
28142503 185Summary: nVidia kernel module for nVidia Architecture support
b37addd9 186Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 187Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 188Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
84c1d1c9 189Release: %{rel}@%{_kernel_ver_str}
28142503 190Group: Base/Kernel
28142503
PS
191Requires(post,postun): /sbin/depmod
192Requires: dev >= 2.7.7-10
d68f27fd 193%{?with_dist_kernel:%requires_releq_kernel}
84c1d1c9 194Requires: %{pname} = %{epoch}:%{version}-%{rel}
2d490dca 195Provides: X11-driver-nvidia(kernel)
28142503
PS
196Obsoletes: XFree86-nvidia-kernel
197
00aee69a 198%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
199nVidia Architecture support for Linux kernel.
200
c311612f
JR
201%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
202Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 203
754fc4fe
ZU
204%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
205nVidia Architektúra támogatás Linux kernelhez.
206
c311612f
JR
207%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
208Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 209sterownik nVidii dla Xorg/XFree86.
28142503 210
28142503
PS
211%prep
212cd %{_builddir}
a14b5013 213rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
039c7221 214%ifarch %{ix86}
28142503 215/bin/sh %{SOURCE0} --extract-only
d856ab9b 216%setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0
039c7221
PS
217%else
218/bin/sh %{SOURCE1} --extract-only
d856ab9b 219%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0
039c7221 220%endif
bcf69910 221%patch0 -p1
0029e8cc 222%patch1 -p1
eb6ba6c9 223echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
28142503
PS
224
225%build
2317af94 226%if %{with kernel}
19777214 227cd usr/src/nv
d4a34ce2 228ln -sf Makefile.kbuild Makefile
94ef5e53 229cat >> Makefile <<'EOF'
230
231$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
232 cp $< $@
233EOF
234mv nv-kernel.o{,.bin}
12a94e85 235%build_kernel_modules -m nvidia
2317af94 236%endif
28142503
PS
237
238%install
239rm -rf $RPM_BUILD_ROOT
1820d34b
ER
240
241%if %{with userspace}
eb6ba6c9 242install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
a664efca 243 $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir},%{_bindir},%{_mandir}/man1} \
2a45f872 244 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
245%if %{with multigl}
246install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
247%endif
28142503 248
7a2ced2a 249install usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
225cc701 250install usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
251install usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
7a2ced2a 252install usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
2a45f872 253install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
254
255for f in \
256 usr/lib/tls/libnvidia-tls.so.%{version} \
069d2a12 257 usr/lib/libnvidia-cfg.so.%{version} \
eb6ba6c9 258 usr/lib/libGL{,core}.so.%{version} \
c2fc5475 259 usr/lib/libcuda.so.%{version} \
a664efca 260 usr/lib/libvdpau_nvidia.so.%{version} \
eb6ba6c9 261 usr/X11R6/lib/libXvMCNVIDIA.so.%{version} \
2b14e59b 262%if %{without multigl}
eb6ba6c9
PS
263 usr/X11R6/lib/libXvMCNVIDIA.a \
264; do
265 install $f $RPM_BUILD_ROOT%{_libdir}
266done
ffec07c8
JR
267%else
268; do
269 install $f $RPM_BUILD_ROOT%{_libdir}/nvidia
270done
271install usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
272%endif
eb6ba6c9 273
d4a34ce2 274install usr/X11R6/lib/modules/extensions/libglx.so.%{version} \
eb6ba6c9 275 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
23ae74e1 276install usr/X11R6/lib/modules/drivers/nvidia_drv.so \
4508c351 277 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
069d2a12 278install usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \
279 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 280
eb6ba6c9 281install usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
c2fc5475 282install usr/include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 283
eb6ba6c9 284ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
4508c351 285ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
28142503 286
ffec07c8
JR
287%if %{with multigl}
288echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
289
290# OpenGL ABI for Linux compatibility
291ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
292ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
293
294ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
295ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 296
c2fc5475 297ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 298%else
28142503 299# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
300ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
301ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
302
303ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
304ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 305
c2fc5475 306ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 307%endif
1820d34b 308%endif
28142503 309
1fdf7dcc 310%if %{with kernel}
12a94e85 311%install_kernel_modules -m usr/src/nv/nvidia -d misc
1fdf7dcc 312%endif
28142503 313
236b5374 314install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
315sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
316 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
317
28142503
PS
318%clean
319rm -rf $RPM_BUILD_ROOT
320
a641155e 321%post
2b14e59b
ER
322cat << 'EOF'
323NOTE: You must also install kernel module for this driver to work
324 kernel-video-nvidia-%{version}
2b14e59b 325 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
326 kernel-laptop-video-nvidia-%{version}
327 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
328
329Depending on which kernel brand you use.
330
25b520ff 331EOF
504709c0
JR
332%if %{with multigl}
333if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
334 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
335fi
9f765470
ER
336%else
337/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
907cd55d 338/sbin/ldconfig -N %{_libdir}/xorg/modules/drivers
504709c0 339%endif
25b520ff 340
31407033
JR
341%post libs -p /sbin/ldconfig
342%postun libs -p /sbin/ldconfig
25b520ff 343
00aee69a 344%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
345%depmod %{_kernel_ver}
346
00aee69a 347%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
348%depmod %{_kernel_ver}
349
1820d34b 350%if %{with userspace}
28142503
PS
351%files
352%defattr(644,root,root,755)
353%doc LICENSE
225cc701 354%doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample,html}
907cd55d 355%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 356%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 357%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
a8147efc
KK
358%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
359%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
360
361%files libs
362%if %{with multigl}
ffec07c8
JR
363%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
364%dir %{_libdir}/nvidia
365%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
366%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
367%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
368%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 369%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 370%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 371%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
372%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
c2fc5475 373%attr(755,root,root) %{_libdir}/nvidia/libvdpau_nvidia.so.*.*
ffec07c8 374%else
eb6ba6c9 375%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
376%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
377# symlink for binary apps which fail to conform Linux OpenGL ABI
378# (and dlopen libGL.so instead of libGL.so.1)
379%attr(755,root,root) %{_libdir}/libGL.so
28142503
PS
380%attr(755,root,root) %{_libdir}/libGLcore.so.*.*
381%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 382%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 383%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 384%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
385%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
c2fc5475 386%attr(755,root,root) %{_libdir}/libvdpau_nvidia.so.*.*
ffec07c8 387%endif
28142503 388
28142503
PS
389%files devel
390%defattr(644,root,root,755)
391%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
c2fc5475 392%attr(755,root,root) %{_libdir}/libcuda.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 398%{_includedir}/cuda
ffec07c8
JR
399%if %{with multigl}
400%attr(755,root,root) %{_libdir}/libGL.so
401%endif
236b5374 402%{_pkgconfigdir}/gl.pc
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.165471 seconds and 4 git commands to generate.