- even simpler, 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
f3bf0f30 23%define pname xorg-driver-video-nvidia
974295b8 24Summary: Linux Drivers for nVidia GeForce/Quadro Chips
754fc4fe 25Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez
974295b8 26Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro
236b5374 27Name: %{pname}
69a59797 28Version: 290.10
566abfc2 29Release: 8
d7c1ffa0 30Epoch: 1
28142503 31License: nVidia Binary
4a185d32 32Group: X11
c1cde5ea 33Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}.run
69a59797 34# Source0-md5: 50319a4b3818c12c9c7243525e0e6316
c1cde5ea 35Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-no-compat32.run
69a59797 36# Source1-md5: cebfba9a7e91716a06c66bb5b38d9661
a14b5013 37Source2: %{pname}-xinitrc.sh
236b5374 38Source3: gl.pc.in
cd436d42
JR
39Source4: 10-nvidia.conf
40Source5: 10-nvidia-modules.conf
bcf69910
JB
41Patch0: X11-driver-nvidia-GL.patch
42Patch1: X11-driver-nvidia-desktop.patch
f517f625 43URL: http://www.nvidia.com/object/unix.html
82268c76 44%if %{with kernel}
0e15e33b 45%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
82268c76 46%endif
28142503 47BuildRequires: %{kgcc_package}
d68f27fd 48BuildRequires: rpmbuild(macros) >= 1.379
039c7221 49BuildRequires: sed >= 4.0
0ed6aeef 50BuildConflicts: XFree86-nvidia
cd436d42 51Requires: %{pname}-libs = %{epoch}:%{version}-%{release}
8343d24d 52Requires: xorg-xserver-server
fbfaa975 53Requires: xorg-xserver-server(videodrv-abi) <= 11.0
754fc4fe 54Requires: xorg-xserver-server(videodrv-abi) >= 2.0
f3bf0f30 55Provides: xorg-driver-video
4e3e8de1 56Provides: xorg-xserver-module(glx)
2d490dca 57Obsoletes: XFree86-driver-nvidia
28142503
PS
58Obsoletes: XFree86-nvidia
59Conflicts: XFree86-OpenGL-devel <= 4.2.0-3
1b927e61 60ExclusiveArch: %{ix86} %{x8664}
28142503
PS
61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
34803a3f 63# constify %rel macro, so it wouldn't expand in kernel subpkgs
566abfc2 64%{expand:%%global release %{release}}
34803a3f 65
2d78523c 66%define _noautoreqdep libGL.so.1
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
cd436d42 127Requires: %{pname}-libs = %{epoch}:%{version}-%{release}
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
146%package static
147Summary: Static XvMCNVIDIA library
754fc4fe 148Summary(hu.UTF-8): Statikus XwMCNVIDIA könyvtár
63c6d4b1
JB
149Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA
150Group: X11/Development/Libraries
cd436d42 151Requires: %{pname}-devel = %{epoch}:%{version}-%{release}
63c6d4b1
JB
152
153%description static
154Static XvMCNVIDIA library.
155
754fc4fe
ZU
156%description static -l hu.UTF-8
157Statikus XwMCNVIDIA könyvtár.
158
63c6d4b1
JB
159%description static -l pl.UTF-8
160Statyczna biblioteka XvMCNVIDIA.
28142503 161
a9160796
ER
162%package doc
163Summary: Documentation for NVIDIA Graphics Driver
164Group: Documentation
165
166%description doc
167NVIDIA Accelerated Linux Graphics Driver README and Installation
168Guide.
169
28142503
PS
170%package progs
171Summary: Tools for advanced control of nVidia graphic cards
754fc4fe 172Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához
b37addd9 173Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia
f12e8b24 174Group: Applications/System
cd436d42 175Requires: %{pname} = %{epoch}:%{version}-%{release}
c29343e3 176Suggests: pkgconfig
c064a147 177Obsoletes: XFree86-driver-nvidia-progs
28142503
PS
178
179%description progs
180Tools for advanced control of nVidia graphic cards.
181
754fc4fe
ZU
182%description progs -l hu.UTF-8
183Eszközök az nVidia grafikus kártyák beállításához.
184
c311612f
JR
185%description progs -l pl.UTF-8
186Narzędzia do zarządzania kartami graficznymi nVidia.
28142503 187
00aee69a 188%package -n kernel%{_alt_kernel}-video-nvidia
28142503 189Summary: nVidia kernel module for nVidia Architecture support
b37addd9 190Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung
754fc4fe 191Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez.
b37addd9 192Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia
cd436d42 193Release: %{release}@%{_kernel_ver_str}
28142503 194Group: Base/Kernel
28142503
PS
195Requires(post,postun): /sbin/depmod
196Requires: dev >= 2.7.7-10
d68f27fd 197%{?with_dist_kernel:%requires_releq_kernel}
cd436d42 198Requires: %{pname} = %{epoch}:%{version}-%{release}
2d490dca 199Provides: X11-driver-nvidia(kernel)
28142503
PS
200Obsoletes: XFree86-nvidia-kernel
201
00aee69a 202%description -n kernel%{_alt_kernel}-video-nvidia
28142503
PS
203nVidia Architecture support for Linux kernel.
204
c311612f
JR
205%description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8
206Die nVidia-Architektur-Unterstützung für den Linux-Kern.
28142503 207
754fc4fe
ZU
208%description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8
209nVidia Architektúra támogatás Linux kernelhez.
210
c311612f
JR
211%description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8
212Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez
0ed6aeef 213sterownik nVidii dla Xorg/XFree86.
28142503 214
28142503
PS
215%prep
216cd %{_builddir}
8481604b 217rm -rf NVIDIA-Linux-x86*-%{version}*
039c7221 218%ifarch %{ix86}
28142503 219/bin/sh %{SOURCE0} --extract-only
8481604b 220%setup -qDT -n NVIDIA-Linux-x86-%{version}
039c7221
PS
221%else
222/bin/sh %{SOURCE1} --extract-only
8481604b 223%setup -qDT -n NVIDIA-Linux-x86_64-%{version}-no-compat32
039c7221 224%endif
bcf69910 225%patch0 -p1
0029e8cc 226%patch1 -p1
8481604b 227echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
28142503
PS
228
229%build
2317af94 230%if %{with kernel}
8481604b 231cd kernel
d4a34ce2 232ln -sf Makefile.kbuild Makefile
94ef5e53 233cat >> Makefile <<'EOF'
234
235$(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin
236 cp $< $@
237EOF
238mv nv-kernel.o{,.bin}
12a94e85 239%build_kernel_modules -m nvidia
2317af94 240%endif
28142503
PS
241
242%install
243rm -rf $RPM_BUILD_ROOT
1820d34b
ER
244
245%if %{with userspace}
cd436d42 246install -d $RPM_BUILD_ROOT%{_libdir}/{nvidia,xorg/modules/{drivers,extensions/nvidia}} \
56656271 247 $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir}/vdpau,%{_bindir},%{_mandir}/man1} \
054fcee3 248 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} \
cd436d42 249 $RPM_BUILD_ROOT%{_sysconfdir}/{OpenCL/vendors,ld.so.conf.d,X11/xorg.conf.d}
28142503 250
8481604b 251install -p nvidia-{settings,smi,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir}
f3bf0f30
ER
252cp -p nvidia-{settings,smi,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1
253cp -p nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir}
254cp -p nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir}
f3b8319b 255install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh
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 libXvMCNVIDIA.so.%{version} \
266 libcuda.so.%{version} \
da05371c 267 libnvcuvid.so.%{version} \
8481604b 268 libnvidia-cfg.so.%{version} \
da05371c 269 libnvidia-compiler.so.%{version} \
8481604b 270 libnvidia-glcore.so.%{version} \
4c979981 271 libnvidia-ml.so.%{version} \
8481604b 272 tls/libnvidia-tls.so.%{version} \
eb6ba6c9 273; do
cd436d42 274 install -p $f $RPM_BUILD_ROOT%{_libdir}/nvidia
ffec07c8 275done
76db0ca8 276
cd436d42 277cp -a libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir}/nvidia
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
282install -p nvidia_drv.so $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers
283install -p libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
284ln -s libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
285
286/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/nvidia
287/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/nvidia
28142503 288
02b832fe 289cp -p gl*.h $RPM_BUILD_ROOT%{_includedir}/GL
28142503 290
76db0ca8 291ln -sf libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 292
a116bc07
JR
293%ifarch %{x8664}
294echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
295echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia64.conf
296%else
ffec07c8 297echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
cd436d42 298echo %{_libdir}/vdpau >>$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf
a116bc07 299%endif
ffec07c8
JR
300
301# OpenGL ABI for Linux compatibility
302ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1
cd436d42
JR
303ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so
304ln -sf libOpenCL.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libOpenCL.so
305ln -sf libXvMCNVIDIA_dynamic.so.1 $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA.so
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
cd436d42
JR
345%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.*.*
346%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so.1
347%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/nvidia/libnvidia-wfb.so
348%attr(755,root,root) %{_libdir}/xorg/modules/extensions/nvidia/libglx.so.*
349%attr(755,root,root) %ghost %{_libdir}/xorg/modules/extensions/nvidia/libglx.so
350%attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so
351%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf
352%{_sysconfdir}/X11/xorg.conf.d/10-nvidia-modules.conf
17fdb673
JR
353
354%files libs
f3b8319b 355%defattr(644,root,root,755)
f3bf0f30
ER
356%dir %{_sysconfdir}/OpenCL
357%dir %{_sysconfdir}/OpenCL/vendors
358%{_sysconfdir}/OpenCL/vendors/nvidia.icd
a116bc07 359%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia*.conf
ffec07c8
JR
360%dir %{_libdir}/nvidia
361%attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.*
362%attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1
cd436d42
JR
363%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so.*.*
364%attr(755,root,root) %ghost %{_libdir}/nvidia/libOpenCL.so.1
365%attr(755,root,root) %{_libdir}/nvidia/libOpenCL.so
366%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.*
367%attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so
368%attr(755,root,root) %ghost %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1
369%attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.*
370%attr(755,root,root) %ghost %{_libdir}/nvidia/libcuda.so.1
371%attr(755,root,root) %{_libdir}/nvidia/libcuda.so
372%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so.*.*
373%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvcuvid.so.1
374%attr(755,root,root) %{_libdir}/nvidia/libnvcuvid.so
375%attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.*
376%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-cfg.so.1
377%attr(755,root,root) %{_libdir}/nvidia/libnvidia-compiler.so.*.*
378%attr(755,root,root) %{_libdir}/nvidia/libnvidia-glcore.so.*.*
379%attr(755,root,root) %{_libdir}/nvidia/libnvidia-ml.so.*.*
380%attr(755,root,root) %ghost %{_libdir}/nvidia/libnvidia-ml.so.1
381%attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.*
76db0ca8 382%attr(755,root,root) %{_libdir}/vdpau/libvdpau_nvidia.so.*.*
f3b8319b 383%attr(755,root,root) %ghost %{_libdir}/vdpau/libvdpau_nvidia.so.1
28142503 384
28142503
PS
385%files devel
386%defattr(644,root,root,755)
73eb73e1 387%dir %{_includedir}/GL
63c6d4b1
JB
388%{_includedir}/GL/gl.h
389%{_includedir}/GL/glext.h
390%{_includedir}/GL/glx.h
391%{_includedir}/GL/glxext.h
cd436d42 392%attr(755,root,root) %{_libdir}/nvidia/libGL.so
236b5374 393%{_pkgconfigdir}/gl.pc
63c6d4b1
JB
394
395%files static
396%defattr(644,root,root,755)
cd436d42 397%{_libdir}/nvidia/libXvMCNVIDIA.a
28142503 398
a9160796
ER
399%files doc
400%defattr(644,root,root,755)
8481604b 401%doc html/*
a9160796 402
d4a34ce2 403%files progs
01766b04 404%defattr(644,root,root,755)
8481604b 405%attr(755,root,root) %{_bindir}/nvidia-bug-report.sh
01766b04 406%attr(755,root,root) %{_bindir}/nvidia-settings
8481604b 407%attr(755,root,root) %{_bindir}/nvidia-smi
225cc701 408%attr(755,root,root) %{_bindir}/nvidia-xconfig
2a45f872 409%attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh
225cc701 410%{_desktopdir}/nvidia-settings.desktop
411%{_mandir}/man1/nvidia-*
412%{_pixmapsdir}/nvidia-settings.png
1820d34b 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.547172 seconds and 4 git commands to generate.