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