Name: linux Summary: The Linux Kernel v2.6.36 Version: 2.6.36 Release: 1 License: GPL Group: System/Kernel URL: http://www.kernel.org Source: %{name}-%{version}.tar.gz BuildRequires: cpio BuildRequires: lzma BuildRequires: python BuildRequires: binutils-devel BuildRequires: lzop BuildRequires: u-boot-tools BuildRequires: module-init-tools %description The Linux Kernel, the operating system core itself %package -n %{name}-source-%{version} License: TO_BE_FILLED Summary: Linux kernel source for version 2.6.36 Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-source-%{version} Linux kernel source for version 2.6.36 This package provides source code for the Linux kernel version 2.6.36. This source closely tracks official Linux kernel releases. Debian's modifications to that source consist of security fixes, bug fixes, and features that have already been (or are believed to be) accepted by the upstream maintainers. %package -n %{name}-tools-%{version} License: TO_BE_FILLED Summary: Performance analysis tools for Linux 2.6.36 Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-tools-%{version} This package contains the 'perf' performance analysis tools for Linux kernel version 2.6.36. . The linux-base package contains a 'perf' command which will invoke the appropriate version for the running kernel. %package -n %{name}-doc-%{version} License: TO_BE_FILLED Summary: Linux kernel specific documentation for version 2.6.36 Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-doc-%{version} This package provides the various README files and HTML documentation for the Linux kernel version 2.6.36. Plenty of information, including the descriptions of various kernel subsystems, filesystems, driver-specific notes and the like. Consult the file /usr/share/doc/linux-doc-2.6.36/Documentation/00-INDEX for the detailed description of the contents. %package -n %{name}-manual-%{version} License: TO_BE_FILLED Summary: Linux kernel API manual pages for version 2.6.36 Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-manual-%{version} This package provides the Kernel Hacker's Guide in the form of manual pages, describing the kernel API functions. They are installed into section 9 of the manual. . As the files containing manual pages for different kernel versions are installed in the same location, only one linux-manual package may be installed at a time. The linux-doc package containing the documentation in other formats is free from such restriction. %package -n %{name}-%{version}-firmware-linux-free License: TO_BE_FILLED Summary: Binary firmware for various drivers in the Linux kernel Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-%{version}-firmware-linux-free This package contains firmware which was previously included in the Linux kernel and which is compliant with the Debian Free Software Guidelines. . Most firmware previously included in the Linux kernel is non-free and has been moved to the firmware-linux-nonfree package. %package -n %{name}-headers License: TO_BE_FILLED Summary: Linux support headers for userspace development Group: TO_BE_FILLED/TO_BE_FILLED %description -n %{name}-headers This package provides userspaces headers from the Linux kernel. These headers are used by the installed headers for GNU glibc and other system libraries. %prep %setup -q %build make u1_defconfig make uImage %{?jobs:-j%jobs} make modules %install mkdir -p %{buildroot}/boot mkdir -p %{buildroot}/lib/modules mkdir -p %{buildroot}/usr make modules_install INSTALL_MOD_PATH=%{buildroot} make headers_install INSTALL_HDR_PATH=%{buildroot}/usr find %{buildroot}/usr/ -name ..install.cmd -exec rm "{}" \; find %{buildroot}/usr/ -name .install -exec rm "{}" \; install -m 755 arch/arm/boot/uImage %{buildroot}/boot/ %clean rm -rf %{buildroot} %files %defattr (-, root, root) /lib/modules/* /boot/* %files -n %{name}-headers /usr/include/*