- rebuild for kernel-3.10.15-1
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
CommitLineData
2b14e59b 1# TODO
17fdb673 2# - should -libs Require main package?
8a7af30b 3# - drop binary-only nvidia-settings from here, and use nvidia-settings.spec for it?
0dbede64 4# - kernel-drm is required on never kernels. driver for kernel-longterm not requires drm
28142503
PS
5#
6# Conditional build:
7%bcond_without dist_kernel # without distribution kernel
bf683e7a 8%bcond_without kernel # without kernel packages
1820d34b 9%bcond_without userspace # don't build userspace programs
236b5374 10%bcond_with force_userspace # force userspace build (useful if alt_kernel is set)
5da85237 11%bcond_with settings # package nvidia-settings here (GPL version of same packaged from nvidia-settings.spec)
a14b5013 12%bcond_with verbose # verbose build (V=1)
13
a14b5013 14%if "%{_alt_kernel}" != "%{nil}"
15%undefine with_userspace
22d6cc34 16%endif
236b5374 17%if %{with force_userspace}
18%define with_userspace 1
19%endif
c543fa7c
ER
20%if %{without userspace}
21# nothing to be placed to debuginfo package
22%define _enable_debug_packages 0
23%endif
7cbecde6 24%define no_install_post_check_so 1
c5bb5957 25
52617842 26%define rel 7
f3bf0f30 27%define pname xorg-driver-video-nvidia
974295b8 28Summary: Linux Drivers for nVidia GeForce/Quadro Chips
754fc4fe 29Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
974295b8 30Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
b67880c3 31Name: %{pname}%{_alt_kernel}
8a7af30b 32# when updating version here, keep nvidia-settings.spec in sync as well
673207a4 33Version: 319.49
0703c7e8 34Release: %{rel}
d7c1ffa0 35Epoch: 1
28142503 36License: nVidia Binary
4a185d32 37Group: X11
e2ce85dd 38Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
673207a4 39# Source0-md5: df9eb270f7c6ac79edcd5831e946c4ad
e2ce85dd 40Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
673207a4 41# Source1-md5: d9d7ead9c472e2b1b18679700feeaadf
a14b5013 42Source2: %{pname}-xinitrc.sh
236b5374 43Source3: gl.pc.in
cd436d42
JR
44Source4: 10-nvidia.conf
45Source5: 10-nvidia-modules.conf
bcf69910
JB
46Patch0: X11-driver-nvidia-GL.patch
47Patch1: X11-driver-nvidia-desktop.patch
f517f625 48URL: http://www.nvidia.com/object/unix.html
82268c76 49%if %{with kernel}
0e15e33b 50%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
82268c76 51%endif
28142503 52BuildRequires: %{kgcc_package}
d68f27fd 53BuildRequires: rpmbuild(macros) >= 1.379
039c7221 54BuildRequires: sed >= 4.0
0ed6aeef 55BuildConflicts: XFree86-nvidia
0703c7e8 56Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 57Requires: xorg-xserver-server
cb018f94 58Requires: xorg-xserver-server(videodrv-abi) <= 14.1
754fc4fe 59Requires: xorg-xserver-server(videodrv-abi) >= 2.0
f3bf0f30 60Provides: xorg-driver-video
4e3e8de1 61Provides: xorg-xserver-module(glx)
2d490dca 62Obsoletes: XFree86-driver-nvidia
28142503
PS
63Obsoletes: XFree86-nvidia
64Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 65ExclusiveArch: %{ix86} %{x8664}
b67880c3 66BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
28142503 67
04ec5f0a
JR
68%define _noautoreqdep libGL.so.1 libnvcuvid.so
69# libnvidia-encode.so.*.* links with libnvcuvid.so instead of libnvcuvid.so.1
70%define _noautoreq libnvcuvid.so
28142503
PS
71
72%description
974295b8
JB
73This driver set adds improved 2D functionality to the Xorg X server as
74well as high performance OpenGL acceleration, AGP support, support for
75most flat panels, and 2D multiple monitor support. Supported hardware:
76modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up)
77based graphics accelerators.
28142503 78
974295b8
JB
79The older graphics chips are unsupported:
80- NV1 and RIVA 128/128ZX chips are supported in the base Xorg install
81 (nv driver)
82- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy
83 drivers.
28142503 84
754fc4fe
ZU
85%description -l hu.UTF-8
86Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL
87gyorsítással, AGP támogatással és támogatja a több monitort.
88Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és
89Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók.
90
91A régekbbi grafikus chipek nem támogatottak:
92- NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó)
93- TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel
94 támogatottak.
95
c311612f 96%description -l pl.UTF-8
974295b8
JB
97Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg,
98dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów
992D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2
100MX) oraz Quadro (od wersji Quadro4).
28142503 101
974295b8
JB
102Starsze układy graficzne nie są obsługiwane przez ten pakiet:
103- NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg
104- TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez
105 sterowniki -legacy
28142503 106
17fdb673
JR
107%package libs
108Summary: OpenGL (GL and GLX) Nvidia libraries
109Summary(pl.UTF-8): Biblioteki OpenGL (GL i GLX) Nvidia
110Group: X11/Development/Libraries
f3b8319b 111Requires(post,postun): /sbin/ldconfig
76db0ca8 112Requires: libvdpau >= 0.3
17fdb673
JR
113Provides: OpenGL = 2.1
114Provides: OpenGL-GLX = 1.4
17fdb673
JR
115Obsoletes: X11-OpenGL-core < 1:7.0.0
116Obsoletes: X11-OpenGL-libGL < 1:7.0.0
117Obsoletes: XFree86-OpenGL-core < 1:7.0.0
118Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
17fdb673 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
0703c7e8 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
a9160796
ER
150%package doc
151Summary: Documentation for NVIDIA Graphics Driver
152Group: Documentation
153
154%description doc
155NVIDIA Accelerated Linux Graphics Driver README and Installation
156Guide.
157
28142503
PS
158%package progs
159Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 160Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 161Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 162Group: Applications/System
0056ee0e 163Requires: %{pname} = %{epoch}:%{version}
c29343e3 164Suggests: pkgconfig
c064a147 165Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
166
167%description progs
168Tools for advanced control of nVidia graphic cards.
169
754fc4fe
ZU
170%description progs -l hu.UTF-8
171Eszközök az nVidia grafikus kártyák beállításához.
172
c311612f
JR
173%description progs -l pl.UTF-8
174Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 175
00aee69a 176%package -n kernel%{_alt_kernel}-video-nvidia
28142503 177Summary: nVidia kernel module for nVidia Architecture support
b37addd9 178Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 179Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 180Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
0703c7e8 181Release: %{rel}@%{_kernel_ver_str}
28142503 182Group: Base/Kernel
28142503
PS
183Requires(post,postun): /sbin/depmod
184Requires: dev >= 2.7.7-10
dfe47fba
JR
185%if %{with dist_kernel}
186%requires_releq_kernel
187%if "%{_alt_kernel}" == "%{nil}"
188Requires: %releq_kernel -n drm
189%endif
190%endif
0056ee0e 191Requires: %{pname} = %{epoch}:%{version}
2d490dca 192Provides: X11-driver-nvidia(kernel)
28142503
PS
193Obsoletes: XFree86-nvidia-kernel
194
00aee69a 195%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
196nVidia Architecture support for Linux kernel.
197
c311612f
JR
198%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
199Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 200
754fc4fe
ZU
201%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
202nVidia Architektúra támogatás Linux kernelhez.
203
c311612f
JR
204%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
205Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 206sterownik nVidii dla Xorg/XFree86.
28142503 207
28142503
PS
208%prep
209cd %{_builddir}
8481604b 210rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 211%ifarch %{ix86}
28142503 212/bin/sh %{SOURCE0} --extract-only
8481604b 213%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
214%else
215/bin/sh %{SOURCE1} --extract-only
8481604b 216%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 217%endif
bcf69910 218%patch0 -p1
0029e8cc 219%patch1 -p1
8481604b 220echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
221
222%build
2317af94 223%if %{with kernel}
8481604b 224cd kernel
d4a34ce2 225ln -sf Makefile.kbuild Makefile
b68cfef1
JR
226#cat >> Makefile <<'EOF'
227#
228#$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
229# cp $< $@
230#EOF
231#mv nv-kernel.o{,.bin}
232#build_kernel_modules -m nvidia
233%{__make} SYSSRC=%{_kernelsrcdir} module
2317af94 234%endif
28142503
PS
235
236%install
237rm -rf $RPM_BUILD_ROOT
1820d34b
ER
238
239%if %{with userspace}
cd436d42 240install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 241 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 242 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 243 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 244
5da85237
ER
245%if %{with settings}
246install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
247cp -p nvidia-settings.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
248cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
249cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 250install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
5da85237
ER
251%endif
252
253install -p nvidia-{smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
df1704ce
KK
254install -p nvidia-cuda-mps-{control,server} $RPM_BUILD_ROOT%{_bindir}
255cp -p nvidia-{smi,xconfig,cuda-mps-control}.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30 256install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 257
cd436d42
JR
258install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
259install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
260sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 261
eb6ba6c9 262for f in \
cd436d42 263 libGL.so.%{version} \
c830cb19 264 libOpenCL.so.1.0.0 \
8481604b 265 libcuda.so.%{version} \
da05371c 266 libnvcuvid.so.%{version} \
8481604b 267 libnvidia-cfg.so.%{version} \
da05371c 268 libnvidia-compiler.so.%{version} \
5ee8f0c8 269 libnvidia-encode.so.%{version} \
8481604b 270 libnvidia-glcore.so.%{version} \
4c979981 271 libnvidia-ml.so.%{version} \
5ee8f0c8 272 libnvidia-opencl.so.%{version} \
8481604b 273 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 274; do
cd436d42 275 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 276done
76db0ca8 277
8481604b 278install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 279
cd436d42
JR
280install -p libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
281ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f
ER
282install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
283ln -s nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
cd436d42 284install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
2f2dbb1c 285ln -s libnvidia-wfb.so.1 $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42
JR
286
287/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
288/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 289
02b832fe 290cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 291
76db0ca8 292ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 293
a116bc07
JR
294%ifarch %{x8664}
295echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
296echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
297%else
ffec07c8 298echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 299echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 300%endif
ffec07c8
JR
301
302# OpenGL ABI for Linux compatibility
303ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42
JR
304ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
305ln -sf libOpenCL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
306ln -sf libcuda.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libcuda.so
307ln -sf libnvcuvid.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libnvcuvid.so
ffec07c8 308%endif
28142503 309
1fdf7dcc 310%if %{with kernel}
8481604b 311%install_kernel_modules -m kernel/nvidia -d misc
1fdf7dcc 312%endif
28142503 313
236b5374 314install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
02b832fe
ER
315sed -e '
316 s|@@prefix@@|%{_prefix}|g;
317 s|@@libdir@@|%{_libdir}|g;
318 s|@@includedir@@|%{_includedir}|g;
319 s|@@version@@|%{version}|g' < %{SOURCE3} \
236b5374 320 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
321
28142503
PS
322%clean
323rm -rf $RPM_BUILD_ROOT
324
a641155e 325%post
2b14e59b
ER
326cat << 'EOF'
327NOTE: You must also install kernel module for this driver to work
328 kernel-video-nvidia-%{version}
2b14e59b 329
25b520ff 330EOF
f3b8319b 331
cd436d42
JR
332%post libs -p /sbin/ldconfig
333%postun libs -p /sbin/ldconfig
25b520ff 334
00aee69a 335%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
336%depmod %{_kernel_ver}
337
00aee69a 338%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
339%depmod %{_kernel_ver}
340
1820d34b 341%if %{with userspace}
28142503
PS
342%files
343%defattr(644,root,root,755)
8481604b 344%doc LICENSE NVIDIA_Changelog README.txt
007619d4 345%dir %{_libdir}/xorg/modules/extensions/nvidia
cd436d42 346%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
4c0d0c97
JR
347%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
348%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42 349%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
4c0d0c97 350%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f 351%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
cd436d42
JR
352%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
353%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
354%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
17fdb673
JR
355
356%files libs
f3b8319b 357%defattr(644,root,root,755)
f3bf0f30
ER
358%dir %{_sysconfdir}/OpenCL
359%dir %{_sysconfdir}/OpenCL/vendors
360%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 361%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8
JR
362%dir %{_libdir}/nvidia
363%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
364%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
cd436d42
JR
365%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so.*.*
366%attr(755,root,root) %ghost %{_libdir}/nvidia/libOpenCL.so.1
367%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
368%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
369%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
370%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
371%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
372%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
373%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
374%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
375%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
376%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
5ee8f0c8
JR
377%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
378%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
cd436d42
JR
379%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
380%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
381%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
382%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
383%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
cd436d42 384%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 385%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 386%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 387
28142503
PS
388%files devel
389%defattr(644,root,root,755)
73eb73e1 390%dir %{_includedir}/GL
63c6d4b1
JB
391%{_includedir}/GL/gl.h
392%{_includedir}/GL/glext.h
393%{_includedir}/GL/glx.h
394%{_includedir}/GL/glxext.h
cd436d42 395%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 396%{_pkgconfigdir}/gl.pc
63c6d4b1 397
a9160796
ER
398%files doc
399%defattr(644,root,root,755)
8481604b 400%doc html/*
a9160796 401
d4a34ce2 402%files progs
01766b04 403%defattr(644,root,root,755)
8481604b 404%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
df1704ce
KK
405%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-control
406%attr(755,root,root) %{_bindir}/nvidia-cuda-mps-server
8481604b 407%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 408%attr(755,root,root) %{_bindir}/nvidia-xconfig
df1704ce 409%{_mandir}/man1/nvidia-cuda-mps-control.1*
5da85237
ER
410%{_mandir}/man1/nvidia-smi.1*
411%{_mandir}/man1/nvidia-xconfig.1*
412%if %{with settings}
2a45f872 413%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
5da85237
ER
414%attr(755,root,root) %{_bindir}/nvidia-settings
415%{_mandir}/man1/nvidia-settings.1*
225cc701 416%{_desktopdir}/nvidia-settings.desktop
225cc701 417%{_pixmapsdir}/nvidia-settings.png
1820d34b 418%endif
5da85237 419%endif
63c6d4b1
JB
420
421%if %{with kernel}
422%files -n kernel%{_alt_kernel}-video-nvidia
423%defattr(644,root,root,755)
424/lib/modules/%{_kernel_ver}/misc/*.ko*
425%endif
This page took 0.751823 seconds and 4 git commands to generate.