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