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