- rebuild for kernel-3.7.5-1
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
CommitLineData
2b14e59b 1# TODO
17fdb673 2# - should -libs Require main package?
28142503
PS
3#
4# Conditional build:
5%bcond_without dist_kernel # without distribution kernel
bf683e7a 6%bcond_without kernel # without kernel packages
1820d34b 7%bcond_without userspace # don't build userspace programs
236b5374 8%bcond_with force_userspace # force userspace build (useful if alt_kernel is set)
a14b5013 9%bcond_with verbose # verbose build (V=1)
10
a14b5013 11%if "%{_alt_kernel}" != "%{nil}"
12%undefine with_userspace
22d6cc34 13%endif
236b5374 14%if %{with force_userspace}
15%define with_userspace 1
16%endif
c543fa7c
ER
17%if %{without userspace}
18# nothing to be placed to debuginfo package
19%define _enable_debug_packages 0
20%endif
7cbecde6 21%define no_install_post_check_so 1
c5bb5957 22
c726c611 23%define rel 10
f3bf0f30 24%define pname xorg-driver-video-nvidia
974295b8 25Summary: Linux Drivers for nVidia GeForce/Quadro Chips
754fc4fe 26Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
974295b8 27Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
b67880c3 28Name: %{pname}%{_alt_kernel}
6ef784e3 29Version: 310.32
0703c7e8 30Release: %{rel}
d7c1ffa0 31Epoch: 1
28142503 32License: nVidia Binary
4a185d32 33Group: X11
e2ce85dd 34Source0: http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
6ef784e3 35# Source0-md5: 219608da023a318e2c023497e5ba9296
e2ce85dd 36Source1: http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
6ef784e3 37# Source1-md5: 2e9a8aeb74c17df70376fd59ff1c4125
a14b5013 38Source2: %{pname}-xinitrc.sh
236b5374 39Source3: gl.pc.in
cd436d42
JR
40Source4: 10-nvidia.conf
41Source5: 10-nvidia-modules.conf
bcf69910
JB
42Patch0: X11-driver-nvidia-GL.patch
43Patch1: X11-driver-nvidia-desktop.patch
f517f625 44URL: http://www.nvidia.com/object/unix.html
82268c76 45%if %{with kernel}
0e15e33b 46%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
82268c76 47%endif
28142503 48BuildRequires: %{kgcc_package}
d68f27fd 49BuildRequires: rpmbuild(macros) >= 1.379
039c7221 50BuildRequires: sed >= 4.0
0ed6aeef 51BuildConflicts: XFree86-nvidia
0703c7e8 52Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
8343d24d 53Requires: xorg-xserver-server
737449f3 54Requires: xorg-xserver-server(videodrv-abi) <= 13.1
754fc4fe 55Requires: xorg-xserver-server(videodrv-abi) >= 2.0
f3bf0f30 56Provides: xorg-driver-video
4e3e8de1 57Provides: xorg-xserver-module(glx)
2d490dca 58Obsoletes: XFree86-driver-nvidia
28142503
PS
59Obsoletes: XFree86-nvidia
60Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 61ExclusiveArch: %{ix86} %{x8664}
b67880c3 62BuildRoot: %{tmpdir}/%{pname}-%{version}-root-%(id -u -n)
28142503 63
04ec5f0a
JR
64%define _noautoreqdep libGL.so.1 libnvcuvid.so
65# libnvidia-encode.so.*.* links with libnvcuvid.so instead of libnvcuvid.so.1
66%define _noautoreq libnvcuvid.so
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
17fdb673
JR
111Obsoletes: X11-OpenGL-core < 1:7.0.0
112Obsoletes: X11-OpenGL-libGL < 1:7.0.0
113Obsoletes: XFree86-OpenGL-core < 1:7.0.0
114Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0
17fdb673 115
4c842b35 116%description libs
17fdb673
JR
117NVIDIA OpenGL (GL and GLX only) implementation libraries.
118
4c842b35 119%description libs -l pl.UTF-8
17fdb673
JR
120Implementacja OpenGL (tylko GL i GLX) firmy NVIDIA.
121
28142503 122%package devel
63c6d4b1 123Summary: OpenGL (GL and GLX) header files
754fc4fe 124Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok
63c6d4b1 125Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX)
28142503 126Group: X11/Development/Libraries
0703c7e8 127Requires: %{pname}-libs = %{epoch}:%{version}-%{rel}
63c6d4b1 128Provides: OpenGL-GLX-devel = 1.4
1b8b7646 129Provides: OpenGL-devel = 2.1
63c6d4b1
JB
130Obsoletes: X11-OpenGL-devel-base
131Obsoletes: XFree86-OpenGL-devel-base
2d490dca 132Obsoletes: XFree86-driver-nvidia-devel
28142503
PS
133Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3
134
135%description devel
63c6d4b1
JB
136OpenGL header files (GL and GLX only) for NVIDIA OpenGL
137implementation.
28142503 138
754fc4fe
ZU
139%description devel -l hu.UTF-8
140OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz.
141
c311612f 142%description devel -l pl.UTF-8
63c6d4b1
JB
143Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL
144firmy NVIDIA.
145
a9160796
ER
146%package doc
147Summary: Documentation for NVIDIA Graphics Driver
148Group: Documentation
149
150%description doc
151NVIDIA Accelerated Linux Graphics Driver README and Installation
152Guide.
153
28142503
PS
154%package progs
155Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 156Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 157Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 158Group: Applications/System
0056ee0e 159Requires: %{pname} = %{epoch}:%{version}
c29343e3 160Suggests: pkgconfig
c064a147 161Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
162
163%description progs
164Tools for advanced control of nVidia graphic cards.
165
754fc4fe
ZU
166%description progs -l hu.UTF-8
167Eszközök az nVidia grafikus kártyák beállításához.
168
c311612f
JR
169%description progs -l pl.UTF-8
170Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 171
00aee69a 172%package -n kernel%{_alt_kernel}-video-nvidia
28142503 173Summary: nVidia kernel module for nVidia Architecture support
b37addd9 174Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 175Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 176Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
0703c7e8 177Release: %{rel}@%{_kernel_ver_str}
28142503 178Group: Base/Kernel
28142503
PS
179Requires(post,postun): /sbin/depmod
180Requires: dev >= 2.7.7-10
d68f27fd 181%{?with_dist_kernel:%requires_releq_kernel}
0056ee0e 182Requires: %{pname} = %{epoch}:%{version}
2d490dca 183Provides: X11-driver-nvidia(kernel)
28142503
PS
184Obsoletes: XFree86-nvidia-kernel
185
00aee69a 186%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
187nVidia Architecture support for Linux kernel.
188
c311612f
JR
189%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
190Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 191
754fc4fe
ZU
192%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
193nVidia Architektúra támogatás Linux kernelhez.
194
c311612f
JR
195%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
196Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 197sterownik nVidii dla Xorg/XFree86.
28142503 198
28142503
PS
199%prep
200cd %{_builddir}
8481604b 201rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 202%ifarch %{ix86}
28142503 203/bin/sh %{SOURCE0} --extract-only
8481604b 204%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
205%else
206/bin/sh %{SOURCE1} --extract-only
8481604b 207%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 208%endif
bcf69910 209%patch0 -p1
0029e8cc 210%patch1 -p1
8481604b 211echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
212
213%build
2317af94 214%if %{with kernel}
8481604b 215cd kernel
d4a34ce2 216ln -sf Makefile.kbuild Makefile
94ef5e53 217cat >> Makefile <<'EOF'
218
219$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
220 cp $< $@
221EOF
222mv nv-kernel.o{,.bin}
12a94e85 223%build_kernel_modules -m nvidia
2317af94 224%endif
28142503
PS
225
226%install
227rm -rf $RPM_BUILD_ROOT
1820d34b
ER
228
229%if %{with userspace}
cd436d42 230install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 231 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 232 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 233 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 234
8481604b 235install -p nvidia-{settings,smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
5ee8f0c8
JR
236install -p nvidia-cuda-proxy-{control,server} $RPM_BUILD_ROOT%{_bindir}
237cp -p nvidia-{settings,smi,xconfig,cuda-proxy-control}.* $RPM_BUILD_ROOT%{_mandir}/man1
f3bf0f30
ER
238cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
239cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 240install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
f3bf0f30 241install -p nvidia.icd $RPM_BUILD_ROOT%{_sysconfdir}/OpenCL/vendors
eb6ba6c9 242
cd436d42
JR
243install %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
244install %{SOURCE5} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d
245sed -i -e 's|@@LIBDIR@@|%{_libdir}|g' $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-nvidia-modules.conf
da05371c 246
eb6ba6c9 247for f in \
cd436d42 248 libGL.so.%{version} \
c830cb19 249 libOpenCL.so.1.0.0 \
8481604b 250 libcuda.so.%{version} \
da05371c 251 libnvcuvid.so.%{version} \
8481604b 252 libnvidia-cfg.so.%{version} \
da05371c 253 libnvidia-compiler.so.%{version} \
5ee8f0c8 254 libnvidia-encode.so.%{version} \
8481604b 255 libnvidia-glcore.so.%{version} \
4c979981 256 libnvidia-ml.so.%{version} \
5ee8f0c8 257 libnvidia-opencl.so.%{version} \
8481604b 258 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 259; do
cd436d42 260 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 261done
76db0ca8 262
8481604b 263install -p libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau
eb6ba6c9 264
cd436d42
JR
265install -p libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
266ln -s libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f
ER
267install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so.%{version}
268ln -s nvidia_drv.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/nvidia_drv.so
cd436d42
JR
269install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
270ln -s libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
271
272/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
273/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 274
02b832fe 275cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 276
76db0ca8 277ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 278
a116bc07
JR
279%ifarch %{x8664}
280echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
281echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
282%else
ffec07c8 283echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 284echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 285%endif
ffec07c8
JR
286
287# OpenGL ABI for Linux compatibility
288ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42
JR
289ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
290ln -sf libOpenCL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
291ln -sf libcuda.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libcuda.so
292ln -sf libnvcuvid.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libnvcuvid.so
ffec07c8 293%endif
28142503 294
1fdf7dcc 295%if %{with kernel}
8481604b 296%install_kernel_modules -m kernel/nvidia -d misc
1fdf7dcc 297%endif
28142503 298
236b5374 299install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
02b832fe
ER
300sed -e '
301 s|@@prefix@@|%{_prefix}|g;
302 s|@@libdir@@|%{_libdir}|g;
303 s|@@includedir@@|%{_includedir}|g;
304 s|@@version@@|%{version}|g' < %{SOURCE3} \
236b5374 305 > $RPM_BUILD_ROOT%{_pkgconfigdir}/gl.pc
306
28142503
PS
307%clean
308rm -rf $RPM_BUILD_ROOT
309
a641155e 310%post
2b14e59b
ER
311cat << 'EOF'
312NOTE: You must also install kernel module for this driver to work
313 kernel-video-nvidia-%{version}
2b14e59b 314
25b520ff 315EOF
f3b8319b 316
cd436d42
JR
317%post libs -p /sbin/ldconfig
318%postun libs -p /sbin/ldconfig
25b520ff 319
00aee69a 320%post -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
321%depmod %{_kernel_ver}
322
00aee69a 323%postun -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
324%depmod %{_kernel_ver}
325
1820d34b 326%if %{with userspace}
28142503
PS
327%files
328%defattr(644,root,root,755)
8481604b 329%doc LICENSE NVIDIA_Changelog README.txt
007619d4 330%dir %{_libdir}/xorg/modules/extensions/nvidia
cd436d42 331%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
4c0d0c97
JR
332%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
333%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
cd436d42 334%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
4c0d0c97 335%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
7400930f 336%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so.*
cd436d42
JR
337%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
338%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
339%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
17fdb673
JR
340
341%files libs
f3b8319b 342%defattr(644,root,root,755)
f3bf0f30
ER
343%dir %{_sysconfdir}/OpenCL
344%dir %{_sysconfdir}/OpenCL/vendors
345%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 346%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8
JR
347%dir %{_libdir}/nvidia
348%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
349%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
cd436d42
JR
350%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so.*.*
351%attr(755,root,root) %ghost %{_libdir}/nvidia/libOpenCL.so.1
352%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so
cd436d42
JR
353%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
354%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
355%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
356%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
357%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
358%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
359%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
360%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
361%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
5ee8f0c8
JR
362%attr(755,root,root) %{_libdir}/nvidia/libnvidia-encode.so.*.*
363%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-encode.so.1
cd436d42
JR
364%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
365%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
366%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
5ee8f0c8
JR
367%attr(755,root,root) %{_libdir}/nvidia/libnvidia-opencl.so.*.*
368%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-opencl.so.1
cd436d42 369%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 370%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 371%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 372
28142503
PS
373%files devel
374%defattr(644,root,root,755)
73eb73e1 375%dir %{_includedir}/GL
63c6d4b1
JB
376%{_includedir}/GL/gl.h
377%{_includedir}/GL/glext.h
378%{_includedir}/GL/glx.h
379%{_includedir}/GL/glxext.h
cd436d42 380%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 381%{_pkgconfigdir}/gl.pc
63c6d4b1 382
a9160796
ER
383%files doc
384%defattr(644,root,root,755)
8481604b 385%doc html/*
a9160796 386
d4a34ce2 387%files progs
01766b04 388%defattr(644,root,root,755)
8481604b 389%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
5ee8f0c8
JR
390%attr(755,root,root) %{_bindir}/nvidia-cuda-proxy-control
391%attr(755,root,root) %{_bindir}/nvidia-cuda-proxy-server
01766b04 392%attr(755,root,root) %{_bindir}/nvidia-settings
8481604b 393%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 394%attr(755,root,root) %{_bindir}/nvidia-xconfig
2a45f872 395%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 396%{_desktopdir}/nvidia-settings.desktop
397%{_mandir}/man1/nvidia-*
398%{_pixmapsdir}/nvidia-settings.png
1820d34b 399%endif
63c6d4b1
JB
400
401%if %{with kernel}
402%files -n kernel%{_alt_kernel}-video-nvidia
403%defattr(644,root,root,755)
404/lib/modules/%{_kernel_ver}/misc/*.ko*
405%endif
This page took 0.491226 seconds and 4 git commands to generate.