Summary: Linux kerenl headers Name: kernel-headers Version: 2.6.25.7 Release: 1 License: GPL Group: System/Base Source: linux-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description Linux kernel headers for %{version}. These are used for the compilation of other programs and should be installed with glibc. %prep %setup -q -n linux-%{version} sed -i '/scdi/d' include/Kbuild %build make mrproper make headers_check %install rm -rf $RPM_BUILD_ROOT make INSTALL_HDR_PATH=dest headers_install mkdir -p $RPM_BUILD_ROOT/usr/include cp -R dest/include/* $RPM_BUILD_ROOT/usr/include %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/include/asm* /usr/include/linux* /usr/include/mtd* /usr/include/rdma* /usr/include/sound* /usr/include/video*