]>
Commit | Line | Data |
---|---|---|
2b14e59b | 1 | # TODO |
ff89f094 | 2 | # - solve this (shouldn't there be some obsoletes?): |
2b14e59b ER |
3 | # error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686 |
4 | # error: xorg-driver-video-nvidia-169.12-3.i686 (cnfl Mesa-libGL) conflicts with installed Mesa-libGL-7.0.3-2.i686 | |
28142503 PS |
5 | # |
6 | # Conditional build: | |
7 | %bcond_without dist_kernel # without distribution kernel | |
bf683e7a | 8 | %bcond_without kernel # without kernel packages |
1820d34b | 9 | %bcond_without userspace # don't build userspace programs |
ffec07c8 | 10 | %bcond_with multigl # package libGL and libglx.so in a way allowing concurrent install with nvidia/fglrx drivers |
a14b5013 | 11 | %bcond_with verbose # verbose build (V=1) |
12 | ||
a14b5013 | 13 | %if "%{_alt_kernel}" != "%{nil}" |
14 | %undefine with_userspace | |
22d6cc34 | 15 | %endif |
c543fa7c ER |
16 | %if %{without userspace} |
17 | # nothing to be placed to debuginfo package | |
18 | %define _enable_debug_packages 0 | |
19 | %endif | |
c5bb5957 | 20 | |
a14b5013 | 21 | %define pname xorg-driver-video-nvidia |
1af86cd0 | 22 | %define rel 4 |
a14b5013 | 23 | |
974295b8 JB |
24 | Summary: Linux Drivers for nVidia GeForce/Quadro Chips |
25 | Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro | |
a14b5013 | 26 | Name: %{pname}%{_alt_kernel} |
1f51dfdb | 27 | Version: 169.12 |
c5bb5957 | 28 | Release: %{rel}%{?with_multigl:.mgl} |
28142503 | 29 | License: nVidia Binary |
4a185d32 | 30 | Group: X11 |
ba42daf3 | 31 | Source0: http://http.download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg1.run |
1f51dfdb | 32 | # Source0-md5: c1d45a150a90e6a11da21623493a628e |
ba42daf3 | 33 | Source1: http://http.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg2.run |
1f51dfdb | 34 | # Source1-md5: 8d29f4541f35e10ef06e566c57500cc1 |
a14b5013 | 35 | Source2: %{pname}-xinitrc.sh |
bcf69910 JB |
36 | Patch0: X11-driver-nvidia-GL.patch |
37 | Patch1: X11-driver-nvidia-desktop.patch | |
d35ce91f | 38 | Patch2: NVIDIA_kernel-169.12-2286310.diff |
f517f625 | 39 | URL: http://www.nvidia.com/object/unix.html |
82268c76 | 40 | %if %{with kernel} |
0e15e33b | 41 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} |
82268c76 | 42 | %endif |
28142503 | 43 | BuildRequires: %{kgcc_package} |
d68f27fd | 44 | BuildRequires: rpmbuild(macros) >= 1.379 |
039c7221 | 45 | BuildRequires: sed >= 4.0 |
0ed6aeef | 46 | BuildConflicts: XFree86-nvidia |
8343d24d | 47 | Requires: xorg-xserver-server |
56b60abf | 48 | Requires: xorg-xserver-server(videodrv-abi) = 2.0 |
1b8b7646 | 49 | Provides: OpenGL = 2.1 |
63c6d4b1 | 50 | Provides: OpenGL-GLX = 1.4 |
60ec480a | 51 | Provides: xorg-xserver-libglx |
2b14e59b | 52 | %if %{without multigl} |
28142503 | 53 | Obsoletes: Mesa |
ffec07c8 | 54 | %endif |
fff74aa2 AM |
55 | Obsoletes: X11-OpenGL-core < 1:7.0.0 |
56 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
57 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
58 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
2d490dca | 59 | Obsoletes: XFree86-driver-nvidia |
28142503 | 60 | Obsoletes: XFree86-nvidia |
2b14e59b | 61 | %if %{without multigl} |
4a61f89d PZ |
62 | Conflicts: Mesa-libGL |
63 | %endif | |
28142503 | 64 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 |
1b927e61 | 65 | ExclusiveArch: %{ix86} %{x8664} |
28142503 PS |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
67 | ||
03da6314 | 68 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 |
28142503 PS |
69 | |
70 | %description | |
974295b8 JB |
71 | This driver set adds improved 2D functionality to the Xorg X server as |
72 | well as high performance OpenGL acceleration, AGP support, support for | |
73 | most flat panels, and 2D multiple monitor support. Supported hardware: | |
74 | modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up) | |
75 | based graphics accelerators. | |
28142503 | 76 | |
974295b8 JB |
77 | The older graphics chips are unsupported: |
78 | - NV1 and RIVA 128/128ZX chips are supported in the base Xorg install | |
79 | (nv driver) | |
80 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy | |
81 | drivers. | |
28142503 | 82 | |
c311612f | 83 | %description -l pl.UTF-8 |
974295b8 JB |
84 | Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg, |
85 | dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów | |
86 | 2D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2 | |
87 | MX) oraz Quadro (od wersji Quadro4). | |
28142503 | 88 | |
974295b8 JB |
89 | Starsze układy graficzne nie są obsługiwane przez ten pakiet: |
90 | - NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg | |
91 | - TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez | |
92 | sterowniki -legacy | |
28142503 PS |
93 | |
94 | %package devel | |
63c6d4b1 JB |
95 | Summary: OpenGL (GL and GLX) header files |
96 | Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX) | |
28142503 | 97 | Group: X11/Development/Libraries |
2d490dca | 98 | Requires: %{name} = %{version}-%{release} |
63c6d4b1 | 99 | Provides: OpenGL-GLX-devel = 1.4 |
1b8b7646 | 100 | Provides: OpenGL-devel = 2.1 |
63c6d4b1 JB |
101 | Obsoletes: X11-OpenGL-devel-base |
102 | Obsoletes: XFree86-OpenGL-devel-base | |
2d490dca | 103 | Obsoletes: XFree86-driver-nvidia-devel |
28142503 PS |
104 | Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3 |
105 | ||
106 | %description devel | |
63c6d4b1 JB |
107 | OpenGL header files (GL and GLX only) for NVIDIA OpenGL |
108 | implementation. | |
28142503 | 109 | |
c311612f | 110 | %description devel -l pl.UTF-8 |
63c6d4b1 JB |
111 | Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL |
112 | firmy NVIDIA. | |
113 | ||
114 | %package static | |
115 | Summary: Static XvMCNVIDIA library | |
116 | Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA | |
117 | Group: X11/Development/Libraries | |
118 | Requires: %{name}-devel = %{version}-%{release} | |
119 | ||
120 | %description static | |
121 | Static XvMCNVIDIA library. | |
122 | ||
123 | %description static -l pl.UTF-8 | |
124 | Statyczna biblioteka XvMCNVIDIA. | |
28142503 PS |
125 | |
126 | %package progs | |
127 | Summary: Tools for advanced control of nVidia graphic cards | |
b37addd9 | 128 | Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia |
f12e8b24 | 129 | Group: Applications/System |
2d490dca | 130 | Requires: %{name} = %{version}-%{release} |
0ed6aeef | 131 | Obsoletes: XFree86-driver-nvidia-progs |
28142503 PS |
132 | |
133 | %description progs | |
134 | Tools for advanced control of nVidia graphic cards. | |
135 | ||
c311612f JR |
136 | %description progs -l pl.UTF-8 |
137 | Narzędzia do zarządzania kartami graficznymi nVidia. | |
28142503 | 138 | |
ccd3c14b | 139 | %if %{with kernel} |
00aee69a | 140 | %package -n kernel%{_alt_kernel}-video-nvidia |
28142503 | 141 | Summary: nVidia kernel module for nVidia Architecture support |
b37addd9 ER |
142 | Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung |
143 | Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia | |
a14b5013 | 144 | Version: %{version} |
c5bb5957 | 145 | Release: %{rel}@%{_kernel_ver_str} |
28142503 | 146 | Group: Base/Kernel |
28142503 PS |
147 | Requires(post,postun): /sbin/depmod |
148 | Requires: dev >= 2.7.7-10 | |
d68f27fd | 149 | %{?with_dist_kernel:%requires_releq_kernel} |
2d490dca | 150 | Provides: X11-driver-nvidia(kernel) |
28142503 PS |
151 | Obsoletes: XFree86-nvidia-kernel |
152 | ||
00aee69a | 153 | %description -n kernel%{_alt_kernel}-video-nvidia |
28142503 PS |
154 | nVidia Architecture support for Linux kernel. |
155 | ||
c311612f JR |
156 | %description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8 |
157 | Die nVidia-Architektur-Unterstützung für den Linux-Kern. | |
28142503 | 158 | |
c311612f JR |
159 | %description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8 |
160 | Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez | |
0ed6aeef | 161 | sterownik nVidii dla Xorg/XFree86. |
ccd3c14b | 162 | %endif |
28142503 | 163 | |
28142503 PS |
164 | %prep |
165 | cd %{_builddir} | |
a14b5013 | 166 | rm -rf NVIDIA-Linux-x86*-%{version}-pkg* |
039c7221 | 167 | %ifarch %{ix86} |
28142503 | 168 | /bin/sh %{SOURCE0} --extract-only |
a14b5013 | 169 | %setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg1 |
039c7221 PS |
170 | %else |
171 | /bin/sh %{SOURCE1} --extract-only | |
a14b5013 | 172 | %setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg2 |
039c7221 | 173 | %endif |
bcf69910 | 174 | %patch0 -p1 |
0029e8cc | 175 | %patch1 -p1 |
d35ce91f | 176 | %if "%{_kernel_ver}" >= "2.6.25" |
177 | %patch2 -p0 | |
178 | %endif | |
eb6ba6c9 | 179 | echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild |
28142503 PS |
180 | |
181 | %build | |
2317af94 | 182 | %if %{with kernel} |
28142503 | 183 | cd usr/src/nv/ |
d4a34ce2 | 184 | ln -sf Makefile.kbuild Makefile |
94ef5e53 | 185 | cat >> Makefile <<'EOF' |
186 | ||
187 | $(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin | |
188 | cp $< $@ | |
189 | EOF | |
190 | mv nv-kernel.o{,.bin} | |
12a94e85 | 191 | %build_kernel_modules -m nvidia |
2317af94 | 192 | %endif |
28142503 PS |
193 | |
194 | %install | |
195 | rm -rf $RPM_BUILD_ROOT | |
1820d34b ER |
196 | |
197 | %if %{with userspace} | |
eb6ba6c9 | 198 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \ |
225cc701 | 199 | $RPM_BUILD_ROOT{%{_includedir}/GL,%{_libdir},%{_bindir},%{_mandir}/man1} \ |
2a45f872 | 200 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} |
ffec07c8 JR |
201 | %if %{with multigl} |
202 | install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d} | |
203 | %endif | |
28142503 | 204 | |
7a2ced2a | 205 | install usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir} |
225cc701 | 206 | install usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1 |
207 | install usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
7a2ced2a | 208 | install usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir} |
2a45f872 | 209 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh |
eb6ba6c9 PS |
210 | |
211 | for f in \ | |
212 | usr/lib/tls/libnvidia-tls.so.%{version} \ | |
069d2a12 | 213 | usr/lib/libnvidia-cfg.so.%{version} \ |
eb6ba6c9 PS |
214 | usr/lib/libGL{,core}.so.%{version} \ |
215 | usr/X11R6/lib/libXvMCNVIDIA.so.%{version} \ | |
2b14e59b | 216 | %if %{without multigl} |
eb6ba6c9 PS |
217 | usr/X11R6/lib/libXvMCNVIDIA.a \ |
218 | ; do | |
219 | install $f $RPM_BUILD_ROOT%{_libdir} | |
220 | done | |
ffec07c8 JR |
221 | %else |
222 | ; do | |
223 | install $f $RPM_BUILD_ROOT%{_libdir}/nvidia | |
224 | done | |
225 | install usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir} | |
226 | %endif | |
eb6ba6c9 | 227 | |
d4a34ce2 | 228 | install usr/X11R6/lib/modules/extensions/libglx.so.%{version} \ |
eb6ba6c9 | 229 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions |
23ae74e1 | 230 | install usr/X11R6/lib/modules/drivers/nvidia_drv.so \ |
231 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers | |
069d2a12 | 232 | install usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \ |
233 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules | |
28142503 | 234 | |
eb6ba6c9 | 235 | install usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL |
28142503 | 236 | |
eb6ba6c9 | 237 | ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so |
ebb24c73 | 238 | ln -sf libnvidia-wfb.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/wfb.so |
28142503 | 239 | |
ffec07c8 JR |
240 | %if %{with multigl} |
241 | echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
242 | ||
243 | # OpenGL ABI for Linux compatibility | |
244 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1 | |
245 | ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
246 | ||
247 | ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
248 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
249 | %else | |
28142503 | 250 | # OpenGL ABI for Linux compatibility |
eb6ba6c9 PS |
251 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1 |
252 | ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
ffec07c8 JR |
253 | |
254 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
255 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1 | |
256 | %endif | |
1820d34b | 257 | %endif |
28142503 | 258 | |
1fdf7dcc | 259 | %if %{with kernel} |
12a94e85 | 260 | %install_kernel_modules -m usr/src/nv/nvidia -d misc |
1fdf7dcc | 261 | %endif |
28142503 PS |
262 | |
263 | %clean | |
264 | rm -rf $RPM_BUILD_ROOT | |
265 | ||
a641155e | 266 | %post |
ffbb3439 | 267 | /sbin/ldconfig |
2b14e59b ER |
268 | cat << 'EOF' |
269 | NOTE: You must also install kernel module for this driver to work | |
270 | kernel-video-nvidia-%{version} | |
271 | kernel-laptop-video-nvidia-%{version} | |
272 | kernel-desktop-video-nvidia-%{version} | |
273 | ||
274 | Depending on which kernel brand you use. | |
275 | ||
25b520ff | 276 | EOF |
504709c0 JR |
277 | %if %{with multigl} |
278 | if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then | |
279 | ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so | |
280 | fi | |
281 | %endif | |
25b520ff | 282 | |
ffbb3439 | 283 | %postun -p /sbin/ldconfig |
25b520ff | 284 | |
ccd3c14b | 285 | %if %{with kernel} |
00aee69a | 286 | %post -n kernel%{_alt_kernel}-video-nvidia |
28142503 PS |
287 | %depmod %{_kernel_ver} |
288 | ||
00aee69a | 289 | %postun -n kernel%{_alt_kernel}-video-nvidia |
28142503 | 290 | %depmod %{_kernel_ver} |
ccd3c14b | 291 | %endif |
28142503 | 292 | |
1820d34b | 293 | %if %{with userspace} |
28142503 PS |
294 | %files |
295 | %defattr(644,root,root,755) | |
296 | %doc LICENSE | |
225cc701 | 297 | %doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample,html} |
ffec07c8 JR |
298 | %if %{with multigl} |
299 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
300 | %dir %{_libdir}/nvidia | |
301 | %attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.* | |
302 | %attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1 | |
303 | %attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.* | |
304 | %attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.* | |
305 | %attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
c75f043c | 306 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.* |
307 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.* | |
ffec07c8 JR |
308 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.* |
309 | %ghost %{_libdir}/xorg/modules/extensions/libglx.so | |
310 | %else | |
eb6ba6c9 | 311 | %attr(755,root,root) %{_libdir}/libGL.so.*.* |
63c6d4b1 JB |
312 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 |
313 | # symlink for binary apps which fail to conform Linux OpenGL ABI | |
314 | # (and dlopen libGL.so instead of libGL.so.1) | |
315 | %attr(755,root,root) %{_libdir}/libGL.so | |
28142503 PS |
316 | %attr(755,root,root) %{_libdir}/libGLcore.so.*.* |
317 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.* | |
eb6ba6c9 | 318 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA_dynamic.so.1 |
032cc98f | 319 | %attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.* |
320 | %attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.* | |
ffec07c8 JR |
321 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so* |
322 | %endif | |
032cc98f | 323 | %attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.* |
ebb24c73 | 324 | %attr(755,root,root) %{_libdir}/xorg/modules/wfb.so |
23ae74e1 | 325 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so |
28142503 | 326 | |
28142503 PS |
327 | %files devel |
328 | %defattr(644,root,root,755) | |
329 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so | |
73eb73e1 | 330 | %dir %{_includedir}/GL |
63c6d4b1 JB |
331 | %{_includedir}/GL/gl.h |
332 | %{_includedir}/GL/glext.h | |
333 | %{_includedir}/GL/glx.h | |
334 | %{_includedir}/GL/glxext.h | |
ffec07c8 JR |
335 | %if %{with multigl} |
336 | %attr(755,root,root) %{_libdir}/libGL.so | |
337 | %endif | |
63c6d4b1 JB |
338 | |
339 | %files static | |
340 | %defattr(644,root,root,755) | |
28142503 PS |
341 | %{_libdir}/libXvMCNVIDIA.a |
342 | ||
d4a34ce2 | 343 | %files progs |
01766b04 | 344 | %defattr(644,root,root,755) |
345 | %attr(755,root,root) %{_bindir}/nvidia-settings | |
225cc701 | 346 | %attr(755,root,root) %{_bindir}/nvidia-xconfig |
7a2ced2a | 347 | %attr(755,root,root) %{_bindir}/nvidia-bug-report.sh |
2a45f872 | 348 | %attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh |
225cc701 | 349 | %{_desktopdir}/nvidia-settings.desktop |
350 | %{_mandir}/man1/nvidia-* | |
351 | %{_pixmapsdir}/nvidia-settings.png | |
1820d34b | 352 | %endif |
63c6d4b1 JB |
353 | |
354 | %if %{with kernel} | |
355 | %files -n kernel%{_alt_kernel}-video-nvidia | |
356 | %defattr(644,root,root,755) | |
357 | /lib/modules/%{_kernel_ver}/misc/*.ko* | |
358 | %endif |