-#
-# Conditional build:
-%bcond_with verbose # verbose build (V=1)
-
-## Program required by kernel to work.
-%define _binutils_ver 2.12
-%define _util_linux_ver 2.10o
-%define _module_init_tool_ver 0.9.10
-%define _e2fsprogs_ver 1.29
-%define _jfsutils_ver 1.1.3
-%define _reiserfsprogs_ver 3.6.3
-%define _xfsprogs_ver 2.1.0
-%define _pcmcia_cs_ver 3.1.21
-%define _quota_tools_ver 3.09
-%define _PPP_ver 2.4.0
-%define _isdn4k_utils_ver 3.1pre1
-%define _nfs_utils_ver 1.0.5
-%define _procps_ver 3.1.13
-%define _oprofile_ver 0.5.3
-
-%define _netfilter_snap 20040316
-
-%define no_install_post_strip 1
-
-Summary: The Linux kernel (the core of the Linux operating system)
-Name: kernel
-Version: 2.6.4
-Release: 0.1
-Epoch: 0
-License: GPL
-Group: Base/Kernel
-Source0: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-%{version}.tar.bz2
-
-Patch0: 2.6.0-ksyms-add.patch
-Patch1: 2.6.0-t5-documented_unused_pte_bits_i386-lkml.patch
-Patch2: 2.6.0-t6-usb-irq.patch
-Patch3: 2.6.0-t7-memleak-lkml.patch
-Patch4: 2.6.0-t7-memleak2-lkml.patch
-Patch5: 2.6.0-t8-clean-mtd-lkml.patch
-Patch6: 2.6.0-t8-swap-include-lkml.patch
-Patch7: 2.6.0-t9-acpi_osl-lkml.patch
-Patch8: 2.6.1-kbuild-out-of-tree.diff
-Patch9: 2.6.1-squashfs1.3r3.patch
-
-Patch20: 2.6.4-paxgrsec.patch
-Patch21: 2.6.4-paxgrsec-gcc34.patch
-
-Patch30: 2.6.4-esfq.patch
-Patch31: 2.6.4-imq.patch
-Patch32: 2.6.4-imq-nat.patch
-
-Patch50: 2.6.4-pom-ng-%{_netfilter_snap}-base.patch
-Patch51: 2.6.4-pom-ng-%{_netfilter_snap}-extra.patch
-
-URL: http://www.kernel.org/
-BuildRequires: binutils >= 2.14.90.0.7
-BuildRequires: module-init-tools
-BuildRequires: sed >= 4.0
-Autoreqprov: no
-PreReq: coreutils
-PreReq: module-init-tools >= 0.9.9
-Provides: module-info
-Provides: %{name}(netfilter) = %{_netfilter_snap}
-Obsoletes: kernel-modules
-Conflicts: util-linux < %{_util_linux_ver}
-Conflicts: module-init-tool < %{_module_init_tool_ver}
-Conflicts: e2fsprogs < %{_e2fsprogs_ver}
-Conflicts: jfsutils < %{_jfsutils_ver}
-Conflicts: reiserfsprogs < %{_reiserfsprogs_ver}
-Conflicts: xfsprogs < %{_xfsprogs_ver}
-Conflicts: quota-tools < %{_quota_tools_ver}
-Conflicts: PPP < %{_PPP_ver}
-Conflicts: isdn4k-utils < %{_isdn4k_utils_ver}
-Conflicts: nfs-utils < %{_nfs_utils_ver}
-Conflicts: procps < %{_procps_ver}
-Conflicts: oprofile < %{_oprofile_ver}
-ExclusiveArch: %{ix86}
-ExclusiveOS: Linux
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-This package contains the Linux kernel that is used to boot and run
-your system. It contains few device drivers for specific hardware.
-Most hardware is instead supported by modules loaded after booting.
-
-%package headers
-Summary: Header files for the Linux kernel
-Group: Base/Kernel
-Provides: %{name}-headers(agpgart) = %{version}
-Provides: %{name}-headers(reiserfs) = %{version}
-Provides: %{name}-headers(bridging) = %{version}
-Provides: kernel-i2c-devel
-Provides: %{name}-headers(netfilter) = %{_netfilter_snap}
-Provides: %{name}-headers(alsa-drivers)
-Obsoletes: kernel-i2c-devel
-Autoreqprov: no
-
-%description headers
-These are the C header files for the Linux kernel, which define
-structures and constants that are needed when rebuilding the kernel or
-building kernel modules.
-
-%package module-build
-Summary: Development files for building kernel modules
-Group: Base/Kernel
-Requires: %{name}-headers = %{epoch}:%{version}-%{release}
-
-%description module-build
-Development files from kernel source tree needed to build Linux kernel
-modules from external packages.
-
-%package source
-Summary: Kernel source tree
-Group: Base/Kernel
-Autoreqprov: no
-Requires: %{name}-module-build = %{epoch}:%{version}-%{release}
-
-%description source
-This is the source code for the Linux kernel. It is required to build
-most C programs as they depend on constants defined in here. You can
-also build a custom kernel that is better tuned to your particular
-hardware.
-
-%prep
-%setup -q -n linux-%{version}
-
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-
-%patch20 -p1
-%patch21 -p1
-
-%patch30 -p1
-%patch31 -p1
-%patch32 -p1
-
-%patch50 -p1
-%patch51 -p1
-
-%build
-sed -i 's/EXTRAVERSION =.*/EXTRAVERSION =/g' Makefile
-
-%install
-rm -rf $RPM_BUILD_ROOT
-umask 022
-install -d $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}
-ln -sf linux-%{version} $RPM_BUILD_ROOT%{_prefix}/src/linux
-cp -R . $RPM_BUILD_ROOT/usr/src/linux-%{version}/
-cd $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}
-find include/ -type d -maxdepth 1 -name "asm-*" ! -name asm-i386 ! -name asm-generic | xargs rm -rf
-%{__make} mrproper
-ln -sf asm-i386 include/asm
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post headers
-rm -f /usr/src/linux
-ln -snf linux-%{version} /usr/src/linux
-
-%postun headers
-if [ -L %{_prefix}/src/linux ]; then
- if [ "`ls -l %{_prefix}/src/linux | awk '{ print $10 }'`" = "linux-%{version}" ]; then
- if [ "$1" = "0" ]; then
- rm -f %{_prefix}/src/linux
- fi
- fi
-fi
-
-%files headers
-%defattr(644,root,root,755)
-%dir %{_prefix}/src/linux-%{version}
-%{_prefix}/src/linux-%{version}/include
-
-%files module-build
-%defattr(644,root,root,755)
-%{_prefix}/src/linux-%{version}/Makefile
-%dir %{_prefix}/src/linux-%{version}/arch
-%dir %{_prefix}/src/linux-%{version}/arch/*
-%{_prefix}/src/linux-%{version}/arch/*/Makefile*
-%dir %{_prefix}/src/linux-%{version}/arch/*/kernel
-%{_prefix}/src/linux-%{version}/arch/*/kernel/Makefile
-%{_prefix}/src/linux-%{version}/arch/*/kernel/asm-offsets.*
-%{_prefix}/src/linux-%{version}/arch/*/kernel/sigframe.h
-%dir %{_prefix}/src/linux-%{version}/scripts
-%{_prefix}/src/linux-%{version}/scripts/Makefile*
-%{_prefix}/src/linux-%{version}/scripts/*.c
-%{_prefix}/src/linux-%{version}/scripts/*.h
-%{_prefix}/src/linux-%{version}/scripts/*.sh
-
-%files source
-%defattr(644,root,root,755)
-%{_prefix}/src/linux-%{version}/Documentation
-%{_prefix}/src/linux-%{version}/arch/*/[!Mk]*
-%{_prefix}/src/linux-%{version}/arch/*/kernel/[!M]*
-%exclude %{_prefix}/src/linux-%{version}/arch/*/kernel/asm-offsets.*
-%exclude %{_prefix}/src/linux-%{version}/arch/*/kernel/sigframe.h
-%{_prefix}/src/linux-%{version}/crypto
-%{_prefix}/src/linux-%{version}/drivers
-%{_prefix}/src/linux-%{version}/fs
-%{_prefix}/src/linux-%{version}/grsecurity
-%{_prefix}/src/linux-%{version}/init
-%{_prefix}/src/linux-%{version}/ipc
-%{_prefix}/src/linux-%{version}/kernel
-%{_prefix}/src/linux-%{version}/lib
-%{_prefix}/src/linux-%{version}/mm
-%{_prefix}/src/linux-%{version}/net
-%{_prefix}/src/linux-%{version}/scripts/*
-%exclude %{_prefix}/src/linux-%{version}/scripts/Makefile*
-%exclude %{_prefix}/src/linux-%{version}/scripts/*.c
-%exclude %{_prefix}/src/linux-%{version}/scripts/*.h
-%exclude %{_prefix}/src/linux-%{version}/scripts/*.sh
-%{_prefix}/src/linux-%{version}/sound
-%{_prefix}/src/linux-%{version}/security
-%{_prefix}/src/linux-%{version}/usr
-%{_prefix}/src/linux-%{version}/COPYING
-%{_prefix}/src/linux-%{version}/CREDITS
-%{_prefix}/src/linux-%{version}/MAINTAINERS
-%{_prefix}/src/linux-%{version}/README
-%{_prefix}/src/linux-%{version}/REPORTING-BUGS
+===================================================================
+File: kernel.spec
+
+ Existing Tags:
+ kernel-2_4_20-14 last stable 2.4.20 series with security fix
+ djurban-LINUX_2_6 djurban's kernel branch for desktop users
+ ac-2_6_5-1 2.6.5 official kernel
+ LNX26_IX86_PAXGRSEC 2.6.5/ix86 nondist kernel with PaX and grsecurity
+ (sources only! requires manual build)
+ LINUX_2_5 dead 2.5.x branch
+ LINUX_2_6 2.6.x series on development
+ KERNEL_2_4_for_RA ?
+ DEVEL ?
+ LINUX_2_2 2.2.x mainteance branch for Ra
+ RA-branch tag on the above
+ RA-1_0 kernel-2.2.22-6 (Ra 1.0)
+ LINUX_2_4_DZIMI_DEVEL ?
+ NEST_STABLE ?
+ LINUX_2_2_DEVEL (dead) 2.2.x development branch for Ra
+ LINUX_2_4_STABLE dropped 2.4.18-for-Ra branch
+ LINUX_2_4 2.4.20 developed mainly for Ra
+ STABLE last stable 2.2.x version for Ra