- 2.6.33 fix
[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
4f454d03 27%define rel 5
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}
76db0ca8 33Version: 190.53
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
76db0ca8 39# Source0-md5: 2e80419f6f9ac16beecd839874d0c5ab
d856ab9b 40Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run
76db0ca8 41# Source1-md5: 3d3e956366f9df0e4c64d2e0299d1029
a14b5013 42Source2: %{pname}-xinitrc.sh
236b5374 43Source3: gl.pc.in
bcf69910
JB
44Patch0: X11-driver-nvidia-GL.patch
45Patch1: X11-driver-nvidia-desktop.patch
e967396c 46Patch2: xorg-driver-video-nvidia-kernel.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
17fdb673 55Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 56Requires: xorg-xserver-server
236b5374 57Requires: xorg-xserver-server(videodrv-abi) <= 6.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
03da6314 66%define _noautoreqdep libGL.so.1 libGLcore.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
17fdb673 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
84c1d1c9 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
84c1d1c9 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
84c1d1c9 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}
84c1d1c9 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}
a14b5013 223rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
039c7221 224%ifarch %{ix86}
28142503 225/bin/sh %{SOURCE0} --extract-only
d856ab9b 226%setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0
039c7221
PS
227%else
228/bin/sh %{SOURCE1} --extract-only
d856ab9b 229%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0
039c7221 230%endif
bcf69910 231%patch0 -p1
0029e8cc 232%patch1 -p1
e967396c 233%patch2 -p0
eb6ba6c9 234echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
28142503
PS
235
236%build
2317af94 237%if %{with kernel}
4f454d03 238cd usr/src/nv
d4a34ce2 239ln -sf Makefile.kbuild Makefile
94ef5e53 240cat >> Makefile <<'EOF'
241
242$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
243 cp $< $@
244EOF
245mv nv-kernel.o{,.bin}
12a94e85 246%build_kernel_modules -m nvidia
2317af94 247%endif
28142503
PS
248
249%install
250rm -rf $RPM_BUILD_ROOT
1820d34b
ER
251
252%if %{with userspace}
eb6ba6c9 253install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \
76db0ca8 254 $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda},%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
2a45f872 255 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d}
ffec07c8
JR
256%if %{with multigl}
257install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d}
258%endif
28142503 259
4f454d03
JR
260install -p usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
261cp -a usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
262cp -a usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
263cp -a usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 264install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
eb6ba6c9
PS
265
266for f in \
4f454d03
JR
267 usr/lib/tls/libnvidia-tls.so.%{version} \
268 usr/lib/libnvidia-cfg.so.%{version} \
269 usr/lib/libGL{,core}.so.%{version} \
270 usr/lib/libcuda.so.%{version} \
271 usr/X11R6/lib/libXvMCNVIDIA.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
4f454d03
JR
280cp -a usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}
281install -p usr/lib/vdpau/libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 282
4f454d03 283install -p usr/X11R6/lib/modules/extensions/libglx.so.%{version} \
eb6ba6c9 284 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions
4f454d03 285install -p usr/X11R6/lib/modules/drivers/nvidia_drv.so \
dc40a736 286 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
4f454d03 287install -p usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \
069d2a12 288 $RPM_BUILD_ROOT%{_libdir}/xorg/modules
28142503 289
4f454d03
JR
290cp -a usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
291cp -a usr/include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda
28142503 292
eb6ba6c9 293ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so
dc40a736 294ln -sf nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
76db0ca8 295ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 296
ffec07c8
JR
297%if %{with multigl}
298echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
299
300# OpenGL ABI for Linux compatibility
301ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
302ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
303
304ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
305ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
c2fc5475 306
c2fc5475 307ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 308%else
28142503 309# OpenGL ABI for Linux compatibility
eb6ba6c9
PS
310ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1
311ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so
ffec07c8
JR
312
313ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so
314ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1
c2fc5475 315
c2fc5475 316ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so
ffec07c8 317%endif
1820d34b 318%endif
28142503 319
1fdf7dcc 320%if %{with kernel}
4f454d03 321%install_kernel_modules -m usr/src/nv/nvidia -d misc
1fdf7dcc 322%endif
28142503 323
236b5374 324install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
325sed -e 's|@@prefix@@|%{_prefix}|g;s|@@libdir@@|%{_libdir}|g;s|@@includedir@@|%{_includedir}|g;s|@@version@@|%{version}|g' < %{SOURCE3} \
326 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
327
28142503
PS
328%clean
329rm -rf $RPM_BUILD_ROOT
330
a641155e 331%post
2b14e59b
ER
332cat << 'EOF'
333NOTE: You must also install kernel module for this driver to work
334 kernel-video-nvidia-%{version}
2b14e59b 335 kernel-desktop-video-nvidia-%{version}
b25e7843
ER
336 kernel-laptop-video-nvidia-%{version}
337 kernel-vanilla-video-nvidia-%{version}
2b14e59b
ER
338
339Depending on which kernel brand you use.
340
25b520ff 341EOF
504709c0
JR
342%if %{with multigl}
343if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then
344 ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so
345fi
9f765470
ER
346%else
347/sbin/ldconfig -N %{_libdir}/xorg/modules/extensions
dc40a736
ER
348# until versioned SONAME is built for nvidia_drv.so, update symlink manually
349ln -sf nvidia_drv.so.%{version} %{_libdir}/xorg/modules/drivers/nvidia_drv.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)
369%doc LICENSE
4f454d03 370%doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample}
907cd55d 371%attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.*
17fdb673 372%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.*
9f765470 373%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/libglx.so
dc40a736
ER
374%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*.*
375%attr(755,root,root) %ghost %{_libdir}/xorg/modules/drivers/nvidia_drv.so
17fdb673
JR
376
377%files libs
f3b8319b 378%defattr(644,root,root,755)
17fdb673 379%if %{with multigl}
ffec07c8
JR
380%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf
381%dir %{_libdir}/nvidia
382%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
383%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
384%attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.*
1a4ef137 385%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
ffec07c8 386%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
3d3da198 387%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
1a4ef137 388%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 389%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
c75f043c 390%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
391%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
ffec07c8 392%else
eb6ba6c9 393%attr(755,root,root) %{_libdir}/libGL.so.*.*
63c6d4b1
JB
394%attr(755,root,root) %ghost %{_libdir}/libGL.so.1
395# symlink for binary apps which fail to conform Linux OpenGL ABI
396# (and dlopen libGL.so instead of libGL.so.1)
397%attr(755,root,root) %{_libdir}/libGL.so
28142503 398%attr(755,root,root) %{_libdir}/libGLcore.so.*.*
1a4ef137 399%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so
28142503 400%attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.*
3d3da198 401%attr(755,root,root) %ghost %{_libdir}/libXvMCNVIDIA_dynamic.so.1
1a4ef137 402%attr(755,root,root) %{_libdir}/libcuda.so
c2fc5475 403%attr(755,root,root) %{_libdir}/libcuda.so.*.*
032cc98f 404%attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.*
405%attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.*
ffec07c8 406%endif
76db0ca8 407%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 408%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 409
28142503
PS
410%files devel
411%defattr(644,root,root,755)
73eb73e1 412%dir %{_includedir}/GL
63c6d4b1
JB
413%{_includedir}/GL/gl.h
414%{_includedir}/GL/glext.h
415%{_includedir}/GL/glx.h
416%{_includedir}/GL/glxext.h
c2fc5475 417%{_includedir}/cuda
ffec07c8
JR
418%if %{with multigl}
419%attr(755,root,root) %{_libdir}/libGL.so
420%endif
236b5374 421%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
422
423%files static
424%defattr(644,root,root,755)
28142503
PS
425%{_libdir}/libXvMCNVIDIA.a
426
a9160796
ER
427%files doc
428%defattr(644,root,root,755)
4f454d03 429%doc usr/share/doc/html/*
a9160796 430
d4a34ce2 431%files progs
01766b04 432%defattr(644,root,root,755)
433%attr(755,root,root) %{_bindir}/nvidia-settings
225cc701 434%attr(755,root,root) %{_bindir}/nvidia-xconfig
7a2ced2a 435%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
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.340307 seconds and 4 git commands to generate.