]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - solve this (shouldn't there be some obsoletes?): | |
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 | |
5 | # | |
6 | # Conditional build: | |
7 | %bcond_without dist_kernel # without distribution kernel | |
8 | %bcond_without kernel # without kernel packages | |
9 | %bcond_without userspace # don't build userspace programs | |
10 | %bcond_with multigl # package libGL and libglx.so in a way allowing concurrent install with nvidia/fglrx drivers | |
11 | %bcond_with verbose # verbose build (V=1) | |
12 | ||
13 | %if "%{_alt_kernel}" != "%{nil}" | |
14 | %undefine with_userspace | |
15 | %endif | |
16 | %if %{without userspace} | |
17 | # nothing to be placed to debuginfo package | |
18 | %define _enable_debug_packages 0 | |
19 | %endif | |
20 | ||
21 | %define pname xorg-driver-video-nvidia | |
22 | %define rel 5 | |
23 | ||
24 | Summary: Linux Drivers for nVidia GeForce/Quadro Chips | |
25 | Summary(hu.UTF-8): Linux meghajtók nVidia GeForce/Quadro chipekhez | |
26 | Summary(pl.UTF-8): Sterowniki do kart graficznych nVidia GeForce/Quadro | |
27 | Name: %{pname}%{_alt_kernel} | |
28 | Version: 180.22 | |
29 | Release: %{rel}%{?with_multigl:.mgl} | |
30 | License: nVidia Binary | |
31 | Group: X11 | |
32 | Source0: http://download.nvidia.com/XFree86/Linux-x86/%{version}/NVIDIA-Linux-x86-%{version}-pkg0.run | |
33 | # Source0-md5: 265a984e973bcf5a7c2feeba4b0927a9 | |
34 | Source1: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}-pkg0.run | |
35 | # Source1-md5: 91a40e758b06429453d780932f51d6d9 | |
36 | Source2: %{pname}-xinitrc.sh | |
37 | Patch0: X11-driver-nvidia-GL.patch | |
38 | Patch1: X11-driver-nvidia-desktop.patch | |
39 | URL: http://www.nvidia.com/object/unix.html | |
40 | %if %{with kernel} | |
41 | %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} | |
42 | %endif | |
43 | BuildRequires: %{kgcc_package} | |
44 | BuildRequires: rpmbuild(macros) >= 1.379 | |
45 | BuildRequires: sed >= 4.0 | |
46 | BuildConflicts: XFree86-nvidia | |
47 | Requires: xorg-xserver-server | |
48 | Requires: xorg-xserver-server(videodrv-abi) <= 4.1 | |
49 | Requires: xorg-xserver-server(videodrv-abi) >= 2.0 | |
50 | Provides: OpenGL = 2.1 | |
51 | Provides: OpenGL-GLX = 1.4 | |
52 | Provides: xorg-xserver-module(glx) | |
53 | %if %{without multigl} | |
54 | Obsoletes: Mesa | |
55 | %endif | |
56 | Obsoletes: X11-OpenGL-core < 1:7.0.0 | |
57 | Obsoletes: X11-OpenGL-libGL < 1:7.0.0 | |
58 | Obsoletes: XFree86-OpenGL-core < 1:7.0.0 | |
59 | Obsoletes: XFree86-OpenGL-libGL < 1:7.0.0 | |
60 | Obsoletes: XFree86-driver-nvidia | |
61 | Obsoletes: XFree86-nvidia | |
62 | %if %{without multigl} | |
63 | Conflicts: Mesa-libGL | |
64 | %endif | |
65 | Conflicts: XFree86-OpenGL-devel <= 4.2.0-3 | |
66 | ExclusiveArch: %{ix86} %{x8664} | |
67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
68 | ||
69 | %define _noautoreqdep libGL.so.1 libGLcore.so.1 | |
70 | ||
71 | %description | |
72 | This driver set adds improved 2D functionality to the Xorg X server as | |
73 | well as high performance OpenGL acceleration, AGP support, support for | |
74 | most flat panels, and 2D multiple monitor support. Supported hardware: | |
75 | modern NVIDIA GeForce (from GeForce2 MX) and Quadro (Quadro4 and up) | |
76 | based graphics accelerators. | |
77 | ||
78 | The older graphics chips are unsupported: | |
79 | - NV1 and RIVA 128/128ZX chips are supported in the base Xorg install | |
80 | (nv driver) | |
81 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 are suported by -legacy | |
82 | drivers. | |
83 | ||
84 | %description -l hu.UTF-8 | |
85 | Ez a meghajtó kibővíti az Xorg X szerver 2D működését OpenGL | |
86 | gyorsítással, AGP támogatással és támogatja a több monitort. | |
87 | Támogatott hardverek: modern NVIDIA GeForce (GeForce2 MX-től) és | |
88 | Quadro (Quadro4 és újabbak) alapú grafikai gyorsítók. | |
89 | ||
90 | A régekbbi grafikus chipek nem támogatottak: | |
91 | - NV1 és RIVA 128/128ZX chipek az alap Xorg telepítéssel (nv meghajtó) | |
92 | - TNT/TNT2/GeForce 256/GeForce2 Ultra/Quadro2 a -legacy driverekkel | |
93 | támogatottak. | |
94 | ||
95 | %description -l pl.UTF-8 | |
96 | Usprawnione sterowniki dla kart graficznych nVidia do serwera Xorg, | |
97 | dające wysokowydajną akcelerację OpenGL, obsługę AGP i wielu monitorów | |
98 | 2D. Obsługują w miarę nowe karty NVIDIA GeForce (od wersji GeForce2 | |
99 | MX) oraz Quadro (od wersji Quadro4). | |
100 | ||
101 | Starsze układy graficzne nie są obsługiwane przez ten pakiet: | |
102 | - NV1 i RIVA 128/128ZX są obsługiwane przez sterownik nv z Xorg | |
103 | - TNT/TNT2/GeForce 256/GeForce 2 Ultra/Quadro 2 są obsługiwane przez | |
104 | sterowniki -legacy | |
105 | ||
106 | %package devel | |
107 | Summary: OpenGL (GL and GLX) header files | |
108 | Summary(hu.UTF-8): OpenGL (GL és GLX) fejléc fájlok | |
109 | Summary(pl.UTF-8): Pliki nagłówkowe OpenGL (GL i GLX) | |
110 | Group: X11/Development/Libraries | |
111 | Requires: %{name} = %{version}-%{release} | |
112 | Provides: OpenGL-GLX-devel = 1.4 | |
113 | Provides: OpenGL-devel = 2.1 | |
114 | Obsoletes: X11-OpenGL-devel-base | |
115 | Obsoletes: XFree86-OpenGL-devel-base | |
116 | Obsoletes: XFree86-driver-nvidia-devel | |
117 | Conflicts: XFree86-OpenGL-devel < 4.3.99.902-0.3 | |
118 | ||
119 | %description devel | |
120 | OpenGL header files (GL and GLX only) for NVIDIA OpenGL | |
121 | implementation. | |
122 | ||
123 | %description devel -l hu.UTF-8 | |
124 | OpenGL fejléc fájlok (csak GL és GLX) NVIDIA OpenGL implementációhoz. | |
125 | ||
126 | %description devel -l pl.UTF-8 | |
127 | Pliki nagłówkowe OpenGL (tylko GL i GLX) dla implementacji OpenGL | |
128 | firmy NVIDIA. | |
129 | ||
130 | %package static | |
131 | Summary: Static XvMCNVIDIA library | |
132 | Summary(hu.UTF-8): Statikus XwMCNVIDIA könyvtár | |
133 | Summary(pl.UTF-8): Statyczna biblioteka XvMCNVIDIA | |
134 | Group: X11/Development/Libraries | |
135 | Requires: %{name}-devel = %{version}-%{release} | |
136 | ||
137 | %description static | |
138 | Static XvMCNVIDIA library. | |
139 | ||
140 | %description static -l hu.UTF-8 | |
141 | Statikus XwMCNVIDIA könyvtár. | |
142 | ||
143 | %description static -l pl.UTF-8 | |
144 | Statyczna biblioteka XvMCNVIDIA. | |
145 | ||
146 | %package progs | |
147 | Summary: Tools for advanced control of nVidia graphic cards | |
148 | Summary(hu.UTF-8): Eszközök az nVidia grafikus kártyák beállításához | |
149 | Summary(pl.UTF-8): Narzędzia do zarządzania kartami graficznymi nVidia | |
150 | Group: Applications/System | |
151 | Requires: %{name} = %{version}-%{release} | |
152 | Suggests: pkgconfig | |
153 | Obsoletes: XFree86-driver-nvidia-progs | |
154 | ||
155 | %description progs | |
156 | Tools for advanced control of nVidia graphic cards. | |
157 | ||
158 | %description progs -l hu.UTF-8 | |
159 | Eszközök az nVidia grafikus kártyák beállításához. | |
160 | ||
161 | %description progs -l pl.UTF-8 | |
162 | Narzędzia do zarządzania kartami graficznymi nVidia. | |
163 | ||
164 | %package -n kernel%{_alt_kernel}-video-nvidia | |
165 | Summary: nVidia kernel module for nVidia Architecture support | |
166 | Summary(de.UTF-8): Das nVidia-Kern-Modul für die nVidia-Architektur-Unterstützung | |
167 | Summary(hu.UTF-8): nVidia Architektúra támogatás Linux kernelhez. | |
168 | Summary(pl.UTF-8): Moduł jądra dla obsługi kart graficznych nVidia | |
169 | Release: %{rel}@%{_kernel_ver_str} | |
170 | Group: Base/Kernel | |
171 | Requires(post,postun): /sbin/depmod | |
172 | Requires: dev >= 2.7.7-10 | |
173 | %{?with_dist_kernel:%requires_releq_kernel} | |
174 | Requires: %{pname} = %{version}-%{rel} | |
175 | Provides: X11-driver-nvidia(kernel) | |
176 | Obsoletes: XFree86-nvidia-kernel | |
177 | ||
178 | %description -n kernel%{_alt_kernel}-video-nvidia | |
179 | nVidia Architecture support for Linux kernel. | |
180 | ||
181 | %description -n kernel%{_alt_kernel}-video-nvidia -l de.UTF-8 | |
182 | Die nVidia-Architektur-Unterstützung für den Linux-Kern. | |
183 | ||
184 | %description -n kernel%{_alt_kernel}-video-nvidia -l hu.UTF-8 | |
185 | nVidia Architektúra támogatás Linux kernelhez. | |
186 | ||
187 | %description -n kernel%{_alt_kernel}-video-nvidia -l pl.UTF-8 | |
188 | Obsługa architektury nVidia dla jądra Linuksa. Pakiet wymagany przez | |
189 | sterownik nVidii dla Xorg/XFree86. | |
190 | ||
191 | %prep | |
192 | cd %{_builddir} | |
193 | rm -rf NVIDIA-Linux-x86*-%{version}-pkg* | |
194 | %ifarch %{ix86} | |
195 | /bin/sh %{SOURCE0} --extract-only | |
196 | %setup -qDT -n NVIDIA-Linux-x86-%{version}-pkg0 | |
197 | %else | |
198 | /bin/sh %{SOURCE1} --extract-only | |
199 | %setup -qDT -n NVIDIA-Linux-x86_64-%{version}-pkg0 | |
200 | %endif | |
201 | %patch0 -p1 | |
202 | %patch1 -p1 | |
203 | echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild | |
204 | ||
205 | %build | |
206 | %if %{with kernel} | |
207 | cd usr/src/nv | |
208 | ln -sf Makefile.kbuild Makefile | |
209 | cat >> Makefile <<'EOF' | |
210 | ||
211 | $(obj)/nv-kernel.o: $(src)/nv-kernel.o.bin | |
212 | cp $< $@ | |
213 | EOF | |
214 | mv nv-kernel.o{,.bin} | |
215 | %build_kernel_modules -m nvidia | |
216 | %endif | |
217 | ||
218 | %install | |
219 | rm -rf $RPM_BUILD_ROOT | |
220 | ||
221 | %if %{with userspace} | |
222 | install -d $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,extensions} \ | |
223 | $RPM_BUILD_ROOT{%{_includedir}/{GL,cuda,vdpau},%{_libdir},%{_bindir},%{_mandir}/man1} \ | |
224 | $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},/etc/X11/xinit/xinitrc.d} | |
225 | %if %{with multigl} | |
226 | install -d $RPM_BUILD_ROOT{%{_libdir}/nvidia,%{_sysconfdir}/ld.so.conf.d} | |
227 | %endif | |
228 | ||
229 | install usr/bin/nvidia-{settings,xconfig,bug-report.sh} $RPM_BUILD_ROOT%{_bindir} | |
230 | install usr/share/man/man1/nvidia-{settings,xconfig}.* $RPM_BUILD_ROOT%{_mandir}/man1 | |
231 | install usr/share/applications/nvidia-settings.desktop $RPM_BUILD_ROOT%{_desktopdir} | |
232 | install usr/share/pixmaps/nvidia-settings.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
233 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/nvidia-settings.sh | |
234 | ||
235 | for f in \ | |
236 | usr/lib/tls/libnvidia-tls.so.%{version} \ | |
237 | usr/lib/libnvidia-cfg.so.%{version} \ | |
238 | usr/lib/libGL{,core}.so.%{version} \ | |
239 | usr/lib/libcuda.so.%{version} \ | |
240 | usr/lib/libvdpau{,_nvidia,_trace}.so.%{version} \ | |
241 | usr/X11R6/lib/libXvMCNVIDIA.so.%{version} \ | |
242 | %if %{without multigl} | |
243 | usr/X11R6/lib/libXvMCNVIDIA.a \ | |
244 | ; do | |
245 | install $f $RPM_BUILD_ROOT%{_libdir} | |
246 | done | |
247 | %else | |
248 | ; do | |
249 | install $f $RPM_BUILD_ROOT%{_libdir}/nvidia | |
250 | done | |
251 | install usr/X11R6/lib/libXvMCNVIDIA.a $RPM_BUILD_ROOT%{_libdir} | |
252 | %endif | |
253 | ||
254 | install usr/X11R6/lib/modules/extensions/libglx.so.%{version} \ | |
255 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions | |
256 | install usr/X11R6/lib/modules/drivers/nvidia_drv.so \ | |
257 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers | |
258 | install usr/X11R6/lib/modules/libnvidia-wfb.so.%{version} \ | |
259 | $RPM_BUILD_ROOT%{_libdir}/xorg/modules | |
260 | ||
261 | install usr/include/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL | |
262 | install usr/include/cuda/*.h $RPM_BUILD_ROOT%{_includedir}/cuda | |
263 | install usr/include/vdpau/*.h $RPM_BUILD_ROOT%{_includedir}/vdpau | |
264 | ||
265 | ln -sf libglx.so.%{version} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libglx.so | |
266 | ||
267 | %if %{with multigl} | |
268 | echo %{_libdir}/nvidia >$RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
269 | ||
270 | # OpenGL ABI for Linux compatibility | |
271 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libGL.so.1 | |
272 | ln -sf nvidia/libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
273 | ||
274 | ln -sf nvidia/libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
275 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
276 | ||
277 | ln -sf nvidia/libvdpau.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libvdpau.so | |
278 | ln -sf nvidia/libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so | |
279 | %else | |
280 | # OpenGL ABI for Linux compatibility | |
281 | ln -sf libGL.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libGL.so.1 | |
282 | ln -sf libGL.so.1 $RPM_BUILD_ROOT%{_libdir}/libGL.so | |
283 | ||
284 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA.so | |
285 | ln -sf libXvMCNVIDIA.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libXvMCNVIDIA_dynamic.so.1 | |
286 | ||
287 | ln -sf libvdpau.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libvdpau.so | |
288 | ln -sf libcuda.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libcuda.so | |
289 | %endif | |
290 | %endif | |
291 | ||
292 | %if %{with kernel} | |
293 | %install_kernel_modules -m usr/src/nv/nvidia -d misc | |
294 | %endif | |
295 | ||
296 | %clean | |
297 | rm -rf $RPM_BUILD_ROOT | |
298 | ||
299 | %post | |
300 | /sbin/ldconfig | |
301 | cat << 'EOF' | |
302 | NOTE: You must also install kernel module for this driver to work | |
303 | kernel-video-nvidia-%{version} | |
304 | kernel-desktop-video-nvidia-%{version} | |
305 | kernel-laptop-video-nvidia-%{version} | |
306 | kernel-vanilla-video-nvidia-%{version} | |
307 | ||
308 | Depending on which kernel brand you use. | |
309 | ||
310 | EOF | |
311 | %if %{with multigl} | |
312 | if [ ! -e %{_libdir}/xorg/modules/extensions/libglx.so ]; then | |
313 | ln -sf libglx.so.%{version} %{_libdir}/xorg/modules/extensions/libglx.so | |
314 | fi | |
315 | %endif | |
316 | ||
317 | %postun -p /sbin/ldconfig | |
318 | ||
319 | %post -n kernel%{_alt_kernel}-video-nvidia | |
320 | %depmod %{_kernel_ver} | |
321 | ||
322 | %postun -n kernel%{_alt_kernel}-video-nvidia | |
323 | %depmod %{_kernel_ver} | |
324 | ||
325 | %if %{with userspace} | |
326 | %files | |
327 | %defattr(644,root,root,755) | |
328 | %doc LICENSE | |
329 | %doc usr/share/doc/{README.txt,NVIDIA_Changelog,XF86Config.sample,html} | |
330 | %if %{with multigl} | |
331 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ld.so.conf.d/nvidia.conf | |
332 | %dir %{_libdir}/nvidia | |
333 | %attr(755,root,root) %{_libdir}/nvidia/libGL.so.*.* | |
334 | %attr(755,root,root) %ghost %{_libdir}/nvidia/libGL.so.1 | |
335 | %attr(755,root,root) %{_libdir}/nvidia/libGLcore.so.*.* | |
336 | %attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA.so.*.* | |
337 | %attr(755,root,root) %{_libdir}/nvidia/libXvMCNVIDIA_dynamic.so.1 | |
338 | %attr(755,root,root) %{_libdir}/nvidia/libcuda.so.*.* | |
339 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-cfg.so.*.* | |
340 | %attr(755,root,root) %{_libdir}/nvidia/libnvidia-tls.so.*.* | |
341 | %attr(755,root,root) %{_libdir}/nvidia/libvdpau.so.*.* | |
342 | %attr(755,root,root) %{_libdir}/nvidia/libvdpau_nvidia.so.*.* | |
343 | %attr(755,root,root) %{_libdir}/nvidia/libvdpau_trace.so.*.* | |
344 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so.* | |
345 | %ghost %{_libdir}/xorg/modules/extensions/libglx.so | |
346 | %else | |
347 | %attr(755,root,root) %{_libdir}/libGL.so.*.* | |
348 | %attr(755,root,root) %ghost %{_libdir}/libGL.so.1 | |
349 | # symlink for binary apps which fail to conform Linux OpenGL ABI | |
350 | # (and dlopen libGL.so instead of libGL.so.1) | |
351 | %attr(755,root,root) %{_libdir}/libGL.so | |
352 | %attr(755,root,root) %{_libdir}/libGLcore.so.*.* | |
353 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so.*.* | |
354 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA_dynamic.so.1 | |
355 | %attr(755,root,root) %{_libdir}/libcuda.so.*.* | |
356 | %attr(755,root,root) %{_libdir}/libnvidia-cfg.so.*.* | |
357 | %attr(755,root,root) %{_libdir}/libnvidia-tls.so.*.* | |
358 | %attr(755,root,root) %{_libdir}/libvdpau.so.*.* | |
359 | %attr(755,root,root) %{_libdir}/libvdpau_nvidia.so.*.* | |
360 | %attr(755,root,root) %{_libdir}/libvdpau_trace.so.*.* | |
361 | %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so* | |
362 | %endif | |
363 | %attr(755,root,root) %{_libdir}/xorg/modules/libnvidia-wfb.so.*.* | |
364 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/nvidia_drv.so | |
365 | ||
366 | %files devel | |
367 | %defattr(644,root,root,755) | |
368 | %attr(755,root,root) %{_libdir}/libXvMCNVIDIA.so | |
369 | %attr(755,root,root) %{_libdir}/libcuda.so | |
370 | %attr(755,root,root) %{_libdir}/libvdpau.so | |
371 | %dir %{_includedir}/GL | |
372 | %{_includedir}/GL/gl.h | |
373 | %{_includedir}/GL/glext.h | |
374 | %{_includedir}/GL/glx.h | |
375 | %{_includedir}/GL/glxext.h | |
376 | %{_includedir}/cuda | |
377 | %{_includedir}/vdpau | |
378 | %if %{with multigl} | |
379 | %attr(755,root,root) %{_libdir}/libGL.so | |
380 | %endif | |
381 | ||
382 | %files static | |
383 | %defattr(644,root,root,755) | |
384 | %{_libdir}/libXvMCNVIDIA.a | |
385 | ||
386 | %files progs | |
387 | %defattr(644,root,root,755) | |
388 | %attr(755,root,root) %{_bindir}/nvidia-settings | |
389 | %attr(755,root,root) %{_bindir}/nvidia-xconfig | |
390 | %attr(755,root,root) %{_bindir}/nvidia-bug-report.sh | |
391 | %attr(755,root,root) /etc/X11/xinit/xinitrc.d/*.sh | |
392 | %{_desktopdir}/nvidia-settings.desktop | |
393 | %{_mandir}/man1/nvidia-* | |
394 | %{_pixmapsdir}/nvidia-settings.png | |
395 | %endif | |
396 | ||
397 | %if %{with kernel} | |
398 | %files -n kernel%{_alt_kernel}-video-nvidia | |
399 | %defattr(644,root,root,755) | |
400 | /lib/modules/%{_kernel_ver}/misc/*.ko* | |
401 | %endif |