- rebuild for kernel-3.7.10-6
[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
7f8571f4 25%define rel 3
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
cb018f94 32Version: 313.30
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
cb018f94 38# Source0-md5: 69c0f66c9246217a4fe4d28e95bb7bb6
e2ce85dd 39Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
cb018f94 40# Source1-md5: e5f147fbcdcad71472b4ddeccf259bd7
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
94ef5e53 220cat >> Makefile <<'EOF'
221
222$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
223 cp $< $@
224EOF
225mv nv-kernel.o{,.bin}
12a94e85 226%build_kernel_modules -m nvidia
2317af94 227%endif
28142503
PS
228
229%install
230rm -rf $RPM_BUILD_ROOT
1820d34b
ER
231
232%if %{with userspace}
cd436d42 233install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 234 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 235 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 236 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 237
5da85237
ER
238%if %{with settings}
239install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
240cp -p nvidia-settings.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
241cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
242cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 243install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
5da85237
ER
244%endif
245
246install -p nvidia-{smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
247install -p nvidia-cuda-proxy-{control,server} $RPM_BUILD_ROOT%{_bindir}
248cp -p nvidia-{smi,xconfig,cuda-proxy-control}.1* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30 249install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 250
cd436d42
JR
251install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
252install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
253sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 254
eb6ba6c9 255for f in \
cd436d42 256 libGL.so.%{version} \
c830cb19 257 libOpenCL.so.1.0.0 \
8481604b 258 libcuda.so.%{version} \
da05371c 259 libnvcuvid.so.%{version} \
8481604b 260 libnvidia-cfg.so.%{version} \
da05371c 261 libnvidia-compiler.so.%{version} \
5ee8f0c8 262 libnvidia-encode.so.%{version} \
8481604b 263 libnvidia-glcore.so.%{version} \
4c979981 264 libnvidia-ml.so.%{version} \
5ee8f0c8 265 libnvidia-opencl.so.%{version} \
8481604b 266 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 267; do
cd436d42 268 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 269done
76db0ca8 270
8481604b 271install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 272
cd436d42
JR
273install -p libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
274ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f
ER
275install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
276ln -s nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
cd436d42
JR
277install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
278ln -s libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
279
280/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
281/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 282
02b832fe 283cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 284
76db0ca8 285ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 286
a116bc07
JR
287%ifarch %{x8664}
288echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
289echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
290%else
ffec07c8 291echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 292echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 293%endif
ffec07c8
JR
294
295# OpenGL ABI for Linux compatibility
296ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42
JR
297ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
298ln -sf libOpenCL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
299ln -sf libcuda.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libcuda.so
300ln -sf libnvcuvid.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libnvcuvid.so
ffec07c8 301%endif
28142503 302
1fdf7dcc 303%if %{with kernel}
8481604b 304%install_kernel_modules -m kernel/nvidia -d misc
1fdf7dcc 305%endif
28142503 306
236b5374 307install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
02b832fe
ER
308sed -e '
309 s|@@prefix@@|%{_prefix}|g;
310 s|@@libdir@@|%{_libdir}|g;
311 s|@@includedir@@|%{_includedir}|g;
312 s|@@version@@|%{version}|g' < %{SOURCE3} \
236b5374 313 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
314
28142503
PS
315%clean
316rm -rf $RPM_BUILD_ROOT
317
a641155e 318%post
2b14e59b
ER
319cat << 'EOF'
320NOTE: You must also install kernel module for this driver to work
321 kernel-video-nvidia-%{version}
2b14e59b 322
25b520ff 323EOF
f3b8319b 324
cd436d42
JR
325%post libs -p /sbin/ldconfig
326%postun libs -p /sbin/ldconfig
25b520ff 327
00aee69a 328%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
329%depmod %{_kernel_ver}
330
00aee69a 331%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
332%depmod %{_kernel_ver}
333
1820d34b 334%if %{with userspace}
28142503
PS
335%files
336%defattr(644,root,root,755)
8481604b 337%doc LICENSE NVIDIA_Changelog README.txt
007619d4 338%dir %{_libdir}/xorg/modules/extensions/nvidia
cd436d42 339%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
4c0d0c97
JR
340%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
341%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42 342%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
4c0d0c97 343%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f 344%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
cd436d42
JR
345%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
346%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
347%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
17fdb673
JR
348
349%files libs
f3b8319b 350%defattr(644,root,root,755)
f3bf0f30
ER
351%dir %{_sysconfdir}/OpenCL
352%dir %{_sysconfdir}/OpenCL/vendors
353%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 354%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8
JR
355%dir %{_libdir}/nvidia
356%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
357%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
cd436d42
JR
358%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so.*.*
359%attr(755,root,root) %ghost %{_libdir}/nvidia/libOpenCL.so.1
360%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
361%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
362%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
363%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
364%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
365%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
366%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
367%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
368%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
369%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
5ee8f0c8
JR
370%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
371%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
cd436d42
JR
372%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
373%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
374%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
375%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
376%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
cd436d42 377%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 378%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 379%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 380
28142503
PS
381%files devel
382%defattr(644,root,root,755)
73eb73e1 383%dir %{_includedir}/GL
63c6d4b1
JB
384%{_includedir}/GL/gl.h
385%{_includedir}/GL/glext.h
386%{_includedir}/GL/glx.h
387%{_includedir}/GL/glxext.h
cd436d42 388%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 389%{_pkgconfigdir}/gl.pc
63c6d4b1 390
a9160796
ER
391%files doc
392%defattr(644,root,root,755)
8481604b 393%doc html/*
a9160796 394
d4a34ce2 395%files progs
01766b04 396%defattr(644,root,root,755)
8481604b 397%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
5ee8f0c8
JR
398%attr(755,root,root) %{_bindir}/nvidia-cuda-proxy-control
399%attr(755,root,root) %{_bindir}/nvidia-cuda-proxy-server
8481604b 400%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 401%attr(755,root,root) %{_bindir}/nvidia-xconfig
5da85237
ER
402%{_mandir}/man1/nvidia-cuda-proxy-control.1*
403%{_mandir}/man1/nvidia-smi.1*
404%{_mandir}/man1/nvidia-xconfig.1*
405%if %{with settings}
2a45f872 406%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
5da85237
ER
407%attr(755,root,root) %{_bindir}/nvidia-settings
408%{_mandir}/man1/nvidia-settings.1*
225cc701 409%{_desktopdir}/nvidia-settings.desktop
225cc701 410%{_pixmapsdir}/nvidia-settings.png
1820d34b 411%endif
5da85237 412%endif
63c6d4b1
JB
413
414%if %{with kernel}
415%files -n kernel%{_alt_kernel}-video-nvidia
416%defattr(644,root,root,755)
417/lib/modules/%{_kernel_ver}/misc/*.ko*
418%endif
This page took 0.5364 seconds and 4 git commands to generate.