]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- initial for 2.6 series.
authorcieciwa <cieciwa@pld-linux.org>
Mon, 14 Jul 2003 08:05:35 +0000 (08:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel.spec -> 1.441

kernel.spec

index db8cbe11441564cff91204315be7cd230431b32d..f1265ad4b5379293a7c06bf504c3117c55d03e62 100644 (file)
 #
 # _without_smp         - don't build SMP kernel
 # _without_up          - don't build UP kernel
-# _without_boot                - don't build BOOT kernel
 # _without_source      - don't build source
-# _without_doc         - don't build documentation package
-# _without_grsec       - don't apply grsecurity patch
-#
+# _without_lsm         - don't build LSM/SELinux kernel
+
 %define                base_arch %(echo %{_target_cpu} | sed 's/i.86/i386/;s/athlon/i386/')
 %define                no_install_post_strip   1
 %define                no_install_post_compress_modules        1
-#
-%define                pre_version             rc6
-%define                ipvs_version            1.0.7
-%define                freeswan_version        2.00
-%define                jfs_version             2.4-1.1.2
-%define                lvm_version             1.0.5
-%define                evms_version            2.0.1
-%define                ntfs_version            2.1.4a
+
+%define                pcmcia_version          3.1.22
 %define                drm_xfree_version       4.3.0
-%define                hostap_version          2002-10-12
-%define                netfilter_snap          20030616
+
 Summary:       The Linux kernel (the core of the Linux operating system)
 Summary(de):   Der Linux-Kernel (Kern des Linux-Betriebssystems)
 Summary(fr):   Le Kernel-Linux (La partie centrale du systeme)
-Summary(pl):   J±dro Linuksa
+Summary(pl):   J±dro Linuxa
 Name:          kernel
-Version:       2.4.21
-Release:       1.1
+Version:       2.6.0
+Release:       0.1
 License:       GPL
 Group:         Base/Kernel
-Source0:       ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-%{version}.tar.bz2
-# Source0-md5: f51e12efa18bb828cf57d9d4a81b2fb1
+Source0:       ftp://ftp.kernel.org/pub/linux/kernel/v2.5/linux-%{version}-test1.tar.bz2
+# Source0-md5: ed4e25318e9cd18dc7e732b3483f271d
 Source1:       %{name}-autoconf.h
-Source2:       %{name}-BuildASM.sh
-Source3:       http://www.garloff.de/kurt/linux/dc395/dc395-141.tar.gz
-# Source3-md5: 8ed492197244b6a772270417c66214d3
-Source4:       linux-2.4.21-netfilter-%{netfilter_snap}.tar.gz
-# Source4-md5: fbbbe9b0669c7e766ddf125dfa11781c
-Source5:       linux-2.4.19-netfilter-IMQ.patch.tar.bz2
-# Source5-md5: b8f2f7a268a5cb75fabcaec3b5d45fcd
-Source7:       http://www10.software.ibm.com/developer/opensource/jfs/project/pub/jfs-%{jfs_version}.tar.gz
-# Source7-md5: 2473f345c66683a03ad27ff132d405b7
-Source8:       http://www.xfree86.org/~alanh/linux-drm-%{drm_xfree_version}-kernelsource.tar.gz
-# Source8-md5: 34515784c7b67f6cc9169aa9eed982c7
-Source9:       http://hostap.epitest.fi/releases/hostap-%{hostap_version}.tar.gz
-# Source9-md5: f5170147792a591120437dd33dbb106d
-Source10:      linux-2.4.20-aacraid.tar.bz2
-# Source10-md5:        3da1f4b229685766cb4f2f5ce242c0d2
 Source20:      %{name}-ia32.config
 Source21:      %{name}-ia32-smp.config
 Source50:      %{name}-sparc.config
-Source51:      %{name}-sparc-smp.config
+#Source51:     %{name}-sparc-smp.config
 Source60:      %{name}-sparc64.config
-Source61:      %{name}-sparc64-smp.config
+#Source61:     %{name}-sparc64-smp.config
 Source70:      %{name}-alpha.config
-Source71:      %{name}-alpha-smp.config
-Source73:      %{name}-ppc.config
-Source74:      %{name}-ppc-smp.config
-Source1000:    %{name}-addon.config
-Source1001:    %{name}-netfilter.config
-Source1002:    %{name}-grsec.config
-Source2000:    %{name}-win4lin.config
-
-# New features/updates/backports
-
-# Essential stuff
-
-Patch0:                %{name}-pldfblogo.patch
-# from ftp://ftp.kerneli.org/pub/linux/kernel/crypto/v2.4/testing/
-Patch10:       patch-int-2.4.20.1.bz2
-Patch11:       loop-jari-2.4.21.0.patch
-# from ftp://ftp.xs4all.nl/pub/crypto/freeswan/freeswan-*
-Patch12:       linux-2.4.21-freeswan-%{freeswan_version}.patch.gz
-Patch15:       linux-2.4.21-sched-O1.patch
-# http://dl.sourceforge.net/user-mode-linux/uml-patch-2.4.20-6.bz2
-Patch20:       uml-patch-2.4.20-6-21.bz2
-Patch21:       linux-2.4.21-uml-o1.patch
-# http://unc.dl.sourceforge.net/sourceforge/user-mode-linux/host-skas3.patch
-Patch22:       linux-2.4.20-uml-host-skas3.patch
-
-# New filesystems
-
-# http://linux-xfs.sgi.com/projects/xfs/
-Patch25:       linux-2.4.21-core-xfs-1.3.0.patch.gz
-Patch26:       linux-xfs-1.3.0pre2.patch.gz
-# http://acl.bestbits.at/
-Patch30:       linux-2.4.21-jfs-xattr.patch
-Patch31:       linux-2.4.21-jfs-acl.patch
-Patch32:       linux-2.4.21-ea+acl+nfsacl-0.8.58.diff.gz
-# http://unc.dl.sourceforge.net/sourceforge/linux-ntfs/
-Patch40:       linux-2.4.21-ntfs-%{ntfs_version}.patch.gz
-# http://dl.sourceforge.net/linux-hfsplus/hfsplus-patch-20020606.patch
-Patch45:       hfsplus-20020606.patch.bz2
-# FC01_davfs_0.2.4.patch
-Patch50:       linux-2.4.20-davfs-0.2.4.patch.bz2
-# FC02_davfs__FUNCTION__.patch
-Patch55:       linux-2.4.20-davfs-_FUNCTION_.patch
-# data logging and quota for reiserfs
-# ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.21/
-Patch60:       linux-2.4.21-reiserfs-data-logging+quota.patch.gz
-# ftp://ftp.suse.com/pub/people/jeffm/reiserfs/aclea/
-#Patch35:      reiserfs-xattrs
-#Patch36:      reiserfs-acl
-#Patch37:      reiserfs-trusted
-# http://dl.sourceforge.net/squashfs/squashfs-1.1b.tar.gz
-Patch65:       squashfs1.2-2.4.21-patch
-#Patch70:      linux-2.4.20-afs.patch.bz2
-#from http://sci.felk.cvut.cz/nwd/linux/nwd-patch-2.4.19
-Patch75:       nwd-2.4.21.patch
-
-# Networking
-
-# new version of netfilter.
-Patch100:      linux-2.4.21-netfilter-%{netfilter_snap}.patch.gz
-# from http://users.pandora.be/bart.de.schuymer/ebtables/sourcecode.html
-#      ebtables_v2.0.003_vs_2.4.20.diff
-Patch110:      ebtables-v2.0.003_vs_2.4.20.patch.bz2
-#      bridge-nf-0.0.10-against-2.4.20.diff
-Patch111:      linux-2.4.20-bridge-nf-0.0.10.patch.bz2
-# http://www.linuxvirtualserver.org/software/kernel-2.4/linux-2.4.18-ipvs-%{ipvs_version}.patch.gz
-Patch115:      linux-2.4.20-ipvs-%{ipvs_version}.patch.bz2
-Patch120:      http://luxik.cdi.cz/~devik/qos/imq-2.4.18.diff-10
-# ftp://ftp.samba.org/pub/unpacked/ppp/linux/mppe/
-Patch125:      linux-2.4.18-mppe.patch
-
-# ATM bugfixes
-# Patches by Chas Williams <chas@locutus.cmf.nrl.navy.mil>
-# Included in Chas patch:
-# http://tulipe.cnam.fr/personne/lizzi/linux/linux-2.3.99-pre6-fore200e-0.2f.tar.gz
-# http://christophe.lizzi.free.fr/linux/linux-2.4.0-test9-fore200e-0.3.tar.gz
-# ftp://ftp.cmf.nrl.navy.mil/pub/chas/linux-atm/
-Patch150:      linux-2.4.21-atm_diffs.patch
-Patch151:      ftp://ftp.cmf.nrl.navy.mil/pub/chas/linux-atm/vbr/vbr-kernel-diffs
-
-# patch for patch in Source9 
-Patch190:      hostap-2.4.19-rc3-patch.patch
-
-# New devices/drivers
-
-# from http://people.sistina.com/~thornber/patches/2.4-stable/2.4.20/2.4.20-dm-10.tar.bz2
-Patch200:      linux-2.4.21-dm-20-10.patch.gz
-# EVMS support (http://www.sourceforge.net/projects/evms/)
-# Disabled due to conflicts with LVM2 and device mapper tools
-Patch201:      linux-2.4.21-evms-2.0.1.patch.gz
-Patch202:      linux-2.4.21-evms-o1.patch
-
-#from http://prdownloads.sourceforge.net/i810fb/linux-2.4.20-i810fb.diff.bz2
-Patch210:      linux-2.4.21-I810FB.patch.gz
-
-# Support for CDRW packet writing
-Patch215:      %{name}-cdrw-packet.patch
-Patch216:      %{name}-cd-mrw-2.patch
-Patch225:      wrr-linux-2.4.9.patch
-
-# http://people.FreeBSD.org/~gibbs/linux/SRC/aic79xx-linux-2.4-20030603-tar.gz
-Patch230:      linux-2.4-aic79xx-20030603.patch.gz
-Patch231:      linux-2.4.21-aic7xxx-mmapio.patch
-Patch235:      linux-2.4.20-audigy.patch.bz2
-Patch240:      linux-2.4.20-ecc.patch
-Patch245:      linux-2.4.20-01-edd.patch
-Patch246:      linux-2.4.20-02-edd-allocate.patch
-# i2c - version 2.7.0
-Patch255:      linux-2.4.21-i2c-2.7.0.patch.gz
-Patch265:      linux-2.4.20-e820.patch
-# Syntax bug
-Patch270:      dc395-tab.patch
-# http://www.qlogic.com/
-Patch275:      linux-2.4.20-qla2x00-v6.04.00-fo.patch.gz
-
-# The following go last as they touch a lot of code
-# and/or are on bcond and/or are ifarch
-
-# Win4Lin
-Patch900:      linux-2.4.20-Win4Lin.PLD.patch.bz2
-Patch991:      linux-2.4.20-Win4Lin-mki-adapter.patch.bz2
-
-# Assorted bugfixes
-
-# jam - http://giga.cps.unizar.es/~magallon/linux/kernel/
-Patch1000:     jam-04-clone-detached.patch
-Patch1002:     jam-06-force-inline.patch
-Patch1003:     jam-07-scsi-error-tmout.patch
-Patch1004:     jam-08-memparam.patch
-Patch1006:     jam-10-highpage-init.patch
-Patch1007:     jam-11-self_exec_id.patch
-Patch1008:     jam-15-fast-csum-D.patch
-Patch1009:     jam-21-mem-barriers.patch
-Patch1010:     jam-30-smptimers-A0.patch
-
-Patch1100:     linux-2.4.21-lvm-VFSlock.patch
-Patch1102:     linux-2.4.20-lvm-updates.patch
-
-# fix lun probing on multilun RAID chassis
-Patch1105:     linux-2.4.12-scsi_scan.patch
-Patch1106:     linux-scsi-debug-bug.patch
-
-# This patch allows to create more than one sound device using alsa
-# and devfs with two or more sound cards
-Patch1111:     linux-sound_core.patch
-
-# rivafb - fix for text background in 16bpp modes
-Patch1150:     linux-rivafb16.patch
-Patch1152:     linux-2.4.20-agp_uninorth.patch
-Patch1153:     linux-2.4.20-radeonfb_clean.patch
-Patch1154:     linux-2.4.20-drm-Makefile.patch
-
-Patch1201:     linux-2.4.21-cpqfc.patch
-Patch1203:     linux-2.4.20-amd-golem.patch
-Patch1205:     linux-53c7,8xx-build.fix
-Patch1207:     linux-2.4.20-serverworks.patch
-# this patch adds support for "io" and "irq" options in PCNet32 driver module
-Patch1209:     linux-2.4.19-pcnet-parms.patch
-
-# disable some networking printk's
-Patch1250:     linux-2.4.1-netdebug.patch
-Patch1251:     linux-2.4.2-raw-ip.patch
-Patch1252:     linux-2.4.19-netmos_pci_parallel_n_serial.patch
-Patch1253:     linux-proc_net_dev-counter-fix.patch
-Patch1254:     kernel-2.4.17-netsyms-export-fix.patch
-Patch1255:     linux-2.4.20-pre1-nr_frags.patch
-
-Patch1301:     linux-2.4.18-hpfs.patch
-Patch1302:     linux-2.4.18-nfs-default-size.patch
-Patch1303:     linux-2.4.20-irixnfs.patch
-# Tru64 NFS kludge
-Patch1304:     linux-2.4.21-tru64nfs.patch
-Patch1305:     linux-2.4.21-nfs-silly-rename.patch
-
-Patch1350:     linux-2.4.21-nousb.patch
-# from http://www.noc.uoa.gr/~avel/page.php?page=nokia&lang=en
-Patch1354:     linux-2.4.20-Nokia5510.patch
-
-# raid5 xor fix for PIII/P4, should go away shortly
-Patch1400:     linux-2.4.0-raid5xor.patch
-Patch1401:     linux-2.4.0-nonintconfig.patch
-# Add an ioctl to the block layer so we can be EFI compliant
-Patch1402:     linux-2.4.2-blkioctl-sector.patch
-Patch1403:     linux-2.4.3-pcipenalty.patch
-Patch1404:     linux-2.4.3-rawio.patch
-Patch1405:     linux-2.4.7-suspend.patch
-Patch1406:     linux-2.4.7-quotareturn.patch
-Patch1407:     kernel-Makefile-include-fix.patch
-Patch1408:     kernel-pswscancode.patch
-Patch1409:     linux-2.4.18-dmi-hall-of-shame.patch
-Patch1410:     linux-2.4.18-input-35215.patch
-Patch1411:     linux-2.4.18-kiobuf.patch
-Patch1413:     linux-2.4.21-andrea-9980_fix-pausing-5.patch
-Patch1414:     linux-2.4.21-oopsmeharder.patch
-Patch1415:     linux-mtd-missing-include-fix-2.4.7-pre6.patch
-Patch1416:     linux-2.4.21-no-FPU.patch
-Patch1417:     linux-2.4.21-ac4-ide.patch
-Patch1418:     linux-2.4.21-hpt372-chicken-egg-hack.patch
-Patch1419:     linux-2.4.21-agp-num_of_masks.patch
-
-Patch2000:     linux-PPC-SMP.patch
-Patch2001:     linux-2.4-ppc-procesor.patch
-Patch2002:     kernel-2.4.18-SPARC64-PLD.patch
-Patch2003:     linux-2.4.20-AXP-avma1_cs.patch
-
-Patch3000:     linux-2.4.1-compilefailure.patch
-Patch3002:     linux-2.4.20-EXPORT_SYMBOL.patch
-Patch3003:     linux-2.4.20-missing-license-tags.patch
-Patch3004:     linux-2.4.20-sym53c8xx_old.patch
-Patch3005:     linux-2.4.21-gcc33.patch
-Patch3006:     linux-2.4.21-sparc-gcc3.patch
-Patch3007:     linux-2.4.21-gcc33-math-emu.patch
-
-# Security patches/fixes
-
-Patch4000:     linux-2.4.21-ow1-stack.patch
-Patch4001:     grsecurity-nopax-2.0-rc1-2.4.21.patch
-
-#Patch10000:   ftp://ftp.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.21-rc6.bz2
-
+#Source71:     %{name}-alpha-smp.config
+#Source73:     %{name}-ppc.config
+#Source74:     %{name}-ppc-smp.config
+Patch0:                linux-2.5.67-genrtc_fix.patch
+Patch1:                linux-2.5.70-fix_missing_symb.patch
+# Alpha specific patch
+Patch2:         linux-2.5.73-pci-semicolon.patch
+# LSM/SELinux
+# Patch10:     http://lsm.immunix.org/patches/2.5/2.5.72/patch-2.5.72-lsm1.gz
+Patch10:       patch-2.5.72-lsm1.gz
 ExclusiveOS:   Linux
 URL:           http://www.kernel.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%ifarch sparc64
-BuildRequires: egcs64
-#%else
-#BuildRequires:        %{kgcc_package}
-%endif
-BuildRequires: modutils
+BuildRequires: module-init-tools
 Buildrequires: perl
-BuildRequires: sed >= 3.95
 Provides:      %{name}-up = %{version}-%{release}
 Provides:      module-info
-Provides:      i2c = 2.7.0
-Provides:      bttv = 0.7.83
-Provides:      %{name}(netfilter) = 1.2.8-%{netfilter_snap}
-Provides:      %{name}(reiserfs) = %{version}
-Provides:      %{name}(agpgart) = %{version}
-#Provides:     %{name}(cdrw)
-#Provides:     %{name}(cdmrw)
-Provides:      %{name}(hostap)
 Autoreqprov:   no
-Prereq:                fileutils
-Prereq:                modutils
-Prereq:                geninitrd >= 2.21
+Prereq:                coreutils
+Prereq:                module-init-tools
+Prereq:                geninitrd >= 2.26
 Obsoletes:     kernel-modules
 ExclusiveArch: %{ix86} sparc sparc64 alpha ppc
-%ifarch                %{ix86}
-BuildRequires: bin86
-%endif
-Conflicts:     iptables < 1.2.8
-Conflicts:     lvm < 1.0.4
-Conflicts:     xfsprogs < 2.1.0
-Conflicts:     reiserfsprogs < 3.6.3
-Conflicts:     e2fsprogs < 1.25
-Conflicts:     jfsutils < 1.0.12
-Conflicts:     util-linux < 2.10o
-Conflicts:     modutils < 2.4.2
-Conflicts:     quota < 3.06
-Conflicts:     linux-atm < 2.4.1
 
 %description
 This package contains the Linux kernel that is used to boot and run
@@ -335,7 +75,7 @@ fonctions basiques d'un syst
 allocation de process, entrée/sortie de peripheriques, etc.
 
 %description -l pl
-Pakiet zawiera j±dro Linuksa niezbêdne do prawid³owego dzia³ania
+Pakiet zawiera j±dro Linuxa niezbêdne do prawid³owego dzia³ania
 Twojego komputera. Zawiera w sobie sterowniki do sprzêtu znajduj±cego
 siê w komputerze, takich jak karty muzyczne, sterowniki dysków, etc.
 
@@ -343,32 +83,13 @@ si
 Summary:       Kernel version %{version} compiled for SMP machines
 Summary(de):   Kernel version %{version} für Multiprozessor-Maschinen
 Summary(fr):   Kernel version %{version} compiler pour les machine Multi-Processeur
-Summary(pl):   J±dro Linuksa %{version} skompilowane dla maszyn wieloprocesorowych
 Group:         Base/Kernel
 Provides:      %{name}-smp = %{version}-%{release}
 Provides:      module-info
-Provides:      i2c = 2.7.0
-Provides:      bttv = 0.7.83
-Provides:      %{name}(netfilter) = 1.2.8-%{netfilter_snap}
-Provides:      %{name}(reiserfs) = %{version}
-Provides:      %{name}(agpgart) = %{version}
-#Provides:     %{name}(cdrw)
-#Provides:     %{name}(cdmrw)
-Provides:      %{name}(hostap)
-Prereq:                fileutils
-Prereq:                modutils
-Prereq:                geninitrd >= 2.21
+Prereq:                coreutils
+Prereq:                module-init-tools
+Prereq:                geninitrd >= 2.26
 Autoreqprov:   no
-Conflicts:     iptables < 1.2.8
-Conflicts:     lvm < 1.0.4
-Conflicts:     xfsprogs < 2.1.0
-Conflicts:     reiserfsprogs < 3.6.3
-Conflicts:     e2fsprogs < 1.25
-Conflicts:     jfsutils < 1.0.12
-Conflicts:     util-linux < 2.10o
-Conflicts:     modutils < 2.4.2
-Conflicts:     quota < 3.06
-Conflicts:     linux-atm < 2.4.1
 
 %description smp
 This package includes a SMP version of the Linux %{version} kernel. It
@@ -382,7 +103,7 @@ Prozessoren gebraucht, sollte aber auch auf Computern mit nur einer
 CPU laufen.
 
 %description smp -l fr
-Ce package inclu une version SMP du noyau de Linux version %{version}.
+Ce package inclu une version SMP du noyau de Linux version {version}.
 Il et nécessaire seulement pour les machine avec deux processeurs ou
 plus, il peut quand même fonctionner pour les système mono-processeur.
 
@@ -395,9 +116,8 @@ Powinno r
 Summary:       Kernel version %{version} used on the installation boot disks
 Summary(de):   Kernel version %{version} für Installationsdisketten
 Summary(fr):   Kernel version %{version} utiliser pour les disquettes d'installation
-Summary(pl):   J±dro Linuksa %{version} dla bootkietek instalacyjnych
 Group:         Base/Kernel
-Prereq:                modutils
+Prereq:                module-init-tools
 Autoreqprov:   no
 
 %description BOOT
@@ -421,7 +141,7 @@ rozmiar.
 
 %package pcmcia-cs
 Summary:       PCMCIA-CS modules
-Summary(pl):   Modu³y PCMCIA-CS 
+Summary(pl):   Modu³y PCMCIA-CS
 Group:         Base/Kernel
 Provides:      %{name}-pcmcia-cs = %{pcmcia_version}
 PreReq:                %{name}-up = %{version}-%{release}
@@ -451,7 +171,7 @@ Modu
 Summary:       DRM kernel modules
 Summary(pl):   Sterowniki DRM
 Group:         Base/Kernel
-Provides:       %{name}-drm = %{drm_xfree_version}
+Provides:      %{name}-drm = %{drm_xfree_version}
 PreReq:                %{name}-up = %{version}-%{release}
 Requires(postun):      %{name}-up = %{version}-%{release}
 
@@ -465,7 +185,7 @@ Sterowniki DRM (%{drm_xfree_version}).
 Summary:       DRM SMP kernel modules
 Summary(pl):   Sterowniki DRM dla maszyn wieloprocesorowych
 Group:         Base/Kernel
-Provides:       %{name}-drm = %{drm_xfree_version}
+Provides:      %{name}-drm = %{drm_xfree_version}
 PreReq:                %{name}-smp = %{version}-%{release}
 Requires(postun):      %{name}-smp = %{version}-%{release}
 
@@ -482,8 +202,8 @@ Group:              Base/Kernel
 Provides:      %{name}-headers(agpgart) = %{version}
 Provides:      %{name}-headers(reiserfs) = %{version}
 Provides:      %{name}-headers(bridging) = %{version}
-Provides:      i2c-devel = 2.7.0
-Provides:      %{name}(netfilter) = 1.2.8-%{netfilter_snap}
+Provides:      i2c-devel = 2.6.1
+Provides:      %{name}_netfilter = 1.2.7a
 Autoreqprov:   no
 
 %description headers
@@ -492,12 +212,12 @@ structures and constants that are needed when building most standard
 programs under Linux, as well as to rebuild the kernel.
 
 %description headers -l pl
-Pakiet zawiera pliki nag³ówkowe j±dra, niezbêdne do rekompilacji j±dra
+Pakiet zawiera pliki nag³ówkowe j±dra, niezbedne do rekompilacji j±dra
 oraz niektórych programów.
 
 %package source
 Summary:       Kernel source tree
-Summary(pl):   Kod ¼ród³owy j±dra Linuksa
+Summary(pl):   Kod ¼ród³owy j±dra Linuxa
 Group:         Base/Kernel
 Autoreqprov:   no
 Requires:      %{name}-headers = %{version}-%{release}
@@ -528,11 +248,11 @@ personnalis
 particuliers.
 
 %description source -l pl
-Pakiet zawiera kod ¼ród³owy j±dra systemu.
+Pakiet zawiera kod ¼ród³owy jadra systemu.
 
 %package doc
 Summary:       Kernel documentation
-Summary(pl):   Dokumentacja do j±dra Linuksa
+Summary(pl):   Dokumentacja do kernela
 Group:         Base/Kernel
 Provides:      %{name}-doc = %{version}
 Autoreqprov:   no
@@ -546,170 +266,21 @@ Pakiet zawiera dokumentacj
 /usr/src/linux/Documentation.
 
 %prep
-%setup -q -a3 -a8 -a9 -n linux-%{version}
-cd hostap-2002-10-12
-%patch190 -p1  
-cd ..
-# JFS 1.1.1
-rm -fr fs/jfs
-gzip -dc %{SOURCE7} | tar -xf -
-# Adaptec AACRaid new drivers
-rm -fr drivers/scsi/aacraid
-bzip2 -dc %{SOURCE10} | tar -xf - -C drivers/scsi/
-# Changing DRM source ....
-cp -f drm/*.{c,h} drivers/char/drm/
-%patch0 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch15 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch25 -p1
-%patch26 -p1
-%patch30 -p1
-%patch32 -p1
-%patch31 -p1
-%patch40 -p1
-%patch45 -p1
-%patch50 -p1
-%patch55 -p1
-%patch60 -p1
-#%patch35 -p1
-#%patch36 -p1
-#%patch37 -p1
-%patch65 -p1
-#%patch70 -p1
-%patch75 -p1
-%patch100 -p1
-%patch110 -p1
-%patch111 -p1
-%patch115 -p1
-%patch120 -p1
-%patch125 -p1
-%patch150 -p1
-%patch151 -p1
-%patch200 -p1
-#%patch201 -p1
-#%patch202 -p1
-%patch210 -p1
-#%patch215 -p1
-#%patch216 -p1
-%patch225 -p1
-%patch230 -p1
-%patch231 -p1
-%patch235 -p1
-%patch240 -p1
-%patch245 -p1
-%patch246 -p1
-%patch255 -p1
-%patch265 -p1
-%patch275 -p1
-%patch1000 -p1
-%patch1002 -p1
-%patch1003 -p1
-%patch1004 -p1
-%patch1006 -p1
-%patch1007 -p1
-%patch1008 -p1
-%patch1009 -p1
-%patch1010 -p1
-%patch1100 -p1
-%patch1102 -p1
-%patch1105 -p1
-%patch1106 -p0
-%patch1111 -p1
-%patch1150 -p1
-%patch1152 -p1
-%patch1153 -p1
-%patch1154 -p1
-%patch1201 -p1
-%patch1203 -p1
-%patch1205 -p1
-%patch1207 -p1
-%patch1209 -p1
-%patch1250 -p1
-%patch1251 -p1
-%patch1252 -p1
-%patch1253 -p1
-%patch1254 -p0
-%patch1255 -p1
-%patch1301 -p1
-%patch1302 -p1
-%patch1303 -p1
-%patch1304 -p1
-%patch1305 -p1
-%patch1350 -p1
-%patch1354 -p1
-%patch1400 -p1
-%patch1401 -p1
-%patch1402 -p1
-%patch1403 -p1
-%patch1404 -p1
-%patch1405 -p1
-%patch1406 -p1
-%patch1407 -p1
-%patch1408 -p1
-%patch1409 -p1
-%patch1410 -p1
-%patch1411 -p1
-#%patch1413 -p1
-%patch1414 -p1
-%patch1415 -p0
-%patch1416 -p1
-%patch1417 -p1
-%patch1418 -p1
-%patch1419 -p1
-
-%patch2000 -p0
-%patch2001 -p1
-%patch2002 -p1
-%patch2003 -p1
-
-%patch3000 -p1
-%patch3002 -p1
-%patch3003 -p1
-%patch3004 -p1
-%patch3005 -p1
-%patch3006 -p1
-%patch3007 -p1
-
-%patch4000 -p1
-%{!?_without_grsec:%patch4001 -p1}
-
-mv -f drivers/scsi/sym53c8xx.c drivers/scsi/sym53c8xx_old.c
-
-# Tekram DC395/315 U/UW SCSI host driver
-echo Adding Tekram DC395/315 driver
-patch -p1 -s <dc395/dc395-integ24.diff
-install dc395/dc395x_trm.? dc395/README.dc395x drivers/scsi/
-%patch270 -p1
-
-# hostap
-echo Installing Host AP support
-patch -p1 -s < hostap-%{hostap_version}/kernel-patches/hostap-linux-2.4.19-rc3.patch
-cp hostap-%{hostap_version}/driver/modules/hostap*.[ch] drivers/net/wireless/
-
-# The following go last as they touch a lot of code
-# and/or are on bcond and/or are ifarch
-
-%ifarch %{ix86}
-%{?_with_win4lin:echo Win4Lin patch ...}
-%{?_with_win4lin:%patch900 -p1}
-%{?_with_win4lin:%patch991 -p1}
+%setup -q -n linux-%{version}
+%patch0 -p0
+%patch1 -p1
+%ifarch alpha
+%patch2 -p1
 %endif
-
-# Remove -g from drivers/atm/Makefile and net/ipsec/Makefile
-sed -i -e 's/EXTRA_CFLAGS.*//g' drivers/atm/Makefile
-sed -i -e 's/EXTRA_CFLAGS.*-g//g' net/ipsec/Makefile
+#%{!?_without_lsm:%patch10 -p1}
 
 # Fix EXTRAVERSION and CC in main Makefile
-sed -i -e 's/EXTRAVERSION =.*/EXTRAVERSION =/g' \
+mv -f Makefile Makefile.orig
+sed -e 's/EXTRAVERSION =.*/EXTRAVERSION =/g' \
 %ifarch sparc64
     -e 's/CC.*$(CROSS_COMPILE)gcc/CC           = sparc64-linux-gcc/g' \
 %endif
-    Makefile
+    Makefile.orig >Makefile
 
 %build
 BuildKernel() {
@@ -752,47 +323,28 @@ BuildKernel() {
 %ifarch athlon
        echo "CONFIG_MK7=y" >> arch/%{base_arch}/defconfig
 %endif
-       cat %{SOURCE1000} >> arch/%{base_arch}/defconfig
-       cat %{SOURCE1001} >> arch/%{base_arch}/defconfig
-       
-       if [ "$BOOT" = "yes" ] ; then
-               echo "# CONFIG_GRKERNSEC is not set" >> arch/%{base_arch}/defconfig
-       else
-               :;
-               %{!?_without_grsec:cat %{SOURCE1002} >> arch/%{base_arch}/defconfig}
-       fi
-%ifarch %{ix86}
-       cat %{SOURCE2000} >> arch/%{base_arch}/defconfig
-%endif
 
 %ifarch i386
-       sed -i -e 's/# CONFIG_MATH_EMULATION is not set/CONFIG_MATH_EMULATION=y/' \
-              -e 's/CONFIG_DRM_\(.*\)=[ym]/# CONFIG_DRM_\1 is not set/' \
-               arch/%{base_arch}/defconfig
+       mv -f arch/%{base_arch}/defconfig arch/%{base_arch}/defconfig.orig
+       sed -e 's/# CONFIG_MATH_EMULATION is not set/CONFIG_MATH_EMULATION=y/' \
+               arch/%{base_arch}/defconfig.orig > arch/%{base_arch}/defconfig
 %endif
 
        %{__make} mrproper
        ln -sf arch/%{base_arch}/defconfig .config
 
 %ifarch sparc
-       sparc32 %{__make} oldconfig
-       sparc32 %{__make} dep clean
+       sparc32 %{__make} clean
 %else
-       %{__make} oldconfig
-       %{__make} dep clean
+       %{__make} clean
 %endif
        %{__make} include/linux/version.h
 
-# making  table for soundmodem.
-       (cd drivers/net/hamradio/soundmodem; \
-       %{__cc} -o gentbl -lm gentbl.c; \
-       ./gentbl)       
-
 %ifarch %{ix86}
        %{__make} bzImage
 %endif
 %ifarch sparc
-       sparc32 %{__make} boot
+       sparc32 %{__make} image
 %else
 %ifnarch %{ix86}
        %{__make}
@@ -818,17 +370,17 @@ BuildKernel() {
        install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinux-$KernelVer
        install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinuz-$KernelVer
 %endif
-%ifarch sparc
-        sparc32 %{__make} modules_install \
+     %{__make} modules_install \
        INSTALL_MOD_PATH=$KERNEL_INSTALL_DIR \
        KERNELRELEASE=$KernelVer
        echo KERNEL RELEASE $KernelVer
-%else
-        %{__make} modules_install \
-       INSTALL_MOD_PATH=$KERNEL_INSTALL_DIR \
-       KERNELRELEASE=$KernelVer
-       echo KERNEL RELEASE $KernelVer
-%endif
+
+       install -d $KERNEL_INSTALL_DIR/usr/src/linux-%{version}/include/linux
+       if [ "$smp" = "yes" ]; then
+               install include/linux/autoconf.h $KERNEL_INSTALL_DIR/usr/src/linux-%{version}/include/linux/autoconf-smp.h
+       else
+               install include/linux/autoconf.h $KERNEL_INSTALL_DIR/usr/src/linux-%{version}/include/linux/autoconf-up.h
+       fi
 }
 
 KERNEL_BUILD_DIR=`pwd`
@@ -836,9 +388,6 @@ KERNEL_INSTALL_DIR=$KERNEL_BUILD_DIR-installed
 rm -rf $KERNEL_INSTALL_DIR
 install -d $KERNEL_INSTALL_DIR
 
-# make drivers/scsi/ missing files
-#      (cd drivers/scsi; make -f M)
-       
 # UP KERNEL
 %{!?_without_up:BuildKernel}
 
@@ -856,7 +405,7 @@ rm -rf $KERNEL_INSTALL_DIR
 rm -rf $RPM_BUILD_ROOT
 umask 022
 
-install -d $RPM_BUILD_ROOT%{_prefix}/{include,src/linux-%{version}}
+install -d $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}
 
 KERNEL_BUILD_DIR=`pwd`
 
@@ -872,32 +421,14 @@ for i in "" smp ; do
                        $RPM_BUILD_ROOT/lib/modules/%{version}-%{release}$i/build
        fi
 done
-ln -sf ../src/linux/include/linux $RPM_BUILD_ROOT%{_includedir}/linux
-ln -sf linux-%{version} $RPM_BUILD_ROOT%{_prefix}/src/linux
 
-%ifarch sparc sparc64
-ln -s /usr/src/linux/include/asm-sparc $RPM_BUILD_ROOT%{_includedir}/asm-sparc
-ln -s ../src/linux/include/asm-sparc64 $RPM_BUILD_ROOT%{_includedir}/asm-sparc64
-%else
-ln -sf ../src/linux/include/asm $RPM_BUILD_ROOT/usr/include/asm
-%endif
+ln -sf linux-%{version} $RPM_BUILD_ROOT%{_prefix}/src/linux
 
-%if %{?_without_source:0}%{!?_without_source:1}
 cp -a . $RPM_BUILD_ROOT/usr/src/linux-%{version}/
-%else
-cp -a {include,scripts,Makefile,Rules.make,Documentation} $RPM_BUILD_ROOT/usr/src/linux-%{version}/
-%endif
-
-%ifarch sparc sparc64
-sh %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}
-cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/asm/BuildASM
-%endif
 
 cd $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}
 
-%if %{?_without_source:0}%{!?_without_source:1}
 %{__make} mrproper
-
 find  -name "*~" -print | xargs rm -f
 find  -name "*.orig" -print | xargs rm -f
 
@@ -919,21 +450,7 @@ echo "CONFIG_M686=y" >> .config
 %ifarch athlon
 echo "CONFIG_MK7=y" >> .config
 %endif
-cat %{SOURCE1000} >> .config
-cat %{SOURCE1001} >> .config
-%{!?_without_grsec:cat %{SOURCE1002} >> .config}
-
-%ifarch %{ix86}
-cat %{SOURCE2000} >> .config
-%endif
-
-%ifarch sparc
-sparc32 %{__make} oldconfig
-%else
-%{__make} oldconfig
-%endif
 
-mv include/linux/autoconf.h include/linux/autoconf-up.h
 cp .config config-up
 
 %ifarch %{ix86}
@@ -955,63 +472,32 @@ echo "CONFIG_M686=y" >> .config
 echo "CONFIG_MK7=y" >> .config
 %endif
 
-cat %{SOURCE1000} >> .config
-cat %{SOURCE1001} >> .config
-%{!?_without_grsec:cat %{SOURCE1002} >> .config}
-
-%ifarch %{ix86}
-cat %{SOURCE2000} >> .config
-%endif
-
-%ifarch sparc
-sparc32 %{__make} oldconfig
-%else
-%{__make} oldconfig
-%endif
-mv include/linux/autoconf.h include/linux/autoconf-smp.h
 cp .config config-smp
-%endif
 
 install %{SOURCE1} $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/linux/autoconf.h
+install $KERNEL_BUILD_DIR-installed/usr/src/linux-%{version}/include/linux/* $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/linux
 
-%if %{?_without_source:0}%{!?_without_source:1}
-# this generates modversions info which we want to include and we may as
-# well include the depends stuff as well
-%{__make} symlinks 
-%{__make} include/linux/version.h
-#%{__make} "`pwd`/include/linux/modversions.h"
+%ifarch %{ix86}
+ln -sf asm-i386 $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version}/include/asm
 %endif
-rm -f include/linux/modversions.h
-echo "#include <linux/modsetver.h>" > include/linux/modversions.h
-
 
-# this generates modversions info which we want to include and we may as
-# well include the depends stuff as well, after we fix the paths
-
-%if %{?_without_source:0}%{!?_without_source:1}
-%{__make} depend 
-find $RPM_BUILD_ROOT/usr/src/linux-%{version} -name ".*depend" | \
-       xargs sed -i -e "s|$RPM_BUILD_ROOT\(/usr/src/linux\)|\1|g"
+%if %{?_without_lsm:0}%{!?_without_lsm:1}
+install -d $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/{linux,asm-i386}/flask
+install -d $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/linux/flask
+install security/lids/include/linux/*.h $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/linux
+install security/selinux/include/linux/flask/*.h $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/linux/flask
+install security/selinux/include/asm-i386/flask/*.h $RPM_BUILD_ROOT/usr/src/linux-%{version}/include/asm-i386/flask
+%endif                 # _without_lsm
 
+%{__make} include/linux/version.h
 %{__make} clean
-rm -f scripts/mkdep
-rm -f drivers/net/hamradio/soundmodem/gentbl
-%endif
-
-# BOOT
-%if %{?_without_boot:0}%{!?_without_boot:1}
-%ifnarch i586 i686 athlon
-install -d $RPM_BUILD_ROOT/%{_libdir}/bootdisk
-cp -rdp $KERNEL_BUILD_DIR-installed/%{_libdir}/bootdisk/* $RPM_BUILD_ROOT/%{_libdir}/bootdisk
-%endif
-%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_DIR/linux-%{version}-installed
+rm -rf $KERNEL_INSTALL_DIR
 
 %post
-mv -f /boot/vmlinuz /boot/vmlinuz.old 2> /dev/null > /dev/null 
+mv -f /boot/vmlinuz /boot/vmlinuz.old 2> /dev/null > /dev/null
 mv -f /boot/System.map /boot/System.map.old 2> /dev/null > /dev/null
 ln -sf vmlinuz-%{version}-%{release} /boot/vmlinuz
 ln -sf System.map-%{version}-%{release} /boot/System.map
@@ -1073,8 +559,8 @@ rm -f %{_libdir}/bootdisk/boot/vmlinuz-%{version}
 ln -snf vmlinuz-%{version}-%{release}BOOT %{_libdir}/bootdisk/boot/vmlinuz-%{version}
 
 %postun
-if [ -L /lib/modules/%{version} ]; then 
-       if [ "`ls -l /lib/modules/%{version} | awk '{ print $11 }'`" = "%{version}-%{release}" ]; then
+if [ -L /lib/modules/%{version} ]; then
+       if [ "`ls -l /lib/modules/%{version} | awk '{ print $10 }'`" = "%{version}-%{release}" ]; then
                if [ "$1" = "0" ]; then
                        rm -f /lib/modules/%{version}
                fi
@@ -1095,8 +581,8 @@ rm -f /boot/initrd-%{version}-%{release}.gz
 /sbin/depmod -a -F /boot/System.map-%{version}-%{release} %{version}-%{release} > /dev/null 2>&1
 
 %postun smp
-if [ -L /lib/modules/%{version} ]; then 
-       if [ "`ls -l /lib/modules/%{version} | awk '{ print $11 }'`" = "%{version}-%{release}smp" ]; then
+if [ -L /lib/modules/%{version} ]; then
+       if [ "`ls -l /lib/modules/%{version} | awk '{ print $10 }'`" = "%{version}-%{release}smp" ]; then
                if [ "$1" = "0" ]; then
                        rm -f /lib/modules/%{version}
                fi
@@ -1117,8 +603,8 @@ rm -f /boot/initrd-%{version}-%{release}smp.gz
 /sbin/depmod -a -F /boot/System.map-%{version}-%{release}smp %{version}-%{release}smp > /dev/null 2>&1
 
 %postun BOOT
-if [ -L %{_libdir}/bootdisk/lib/modules/%{version} ]; then 
-       if [ "`ls -l %{_libdir}/bootdisk/lib/modules/%{version} | awk '{ print $11 }'`" = "%{version}-%{release}BOOT" ]; then
+if [ -L %{_libdir}/bootdisk/lib/modules/%{version} ]; then
+       if [ "`ls -l %{_libdir}/bootdisk/lib/modules/%{version} | awk '{ print $10 }'`" = "%{version}-%{release}BOOT" ]; then
                if [ "$1" = "0" ]; then
                        rm -f %{_libdir}/bootdisk/lib/modules/%{version}
                fi
@@ -1126,139 +612,77 @@ if [ -L %{_libdir}/bootdisk/lib/modules/%{version} ]; then
 fi
 
 %post headers
-rm -f /usr/src/linux
 ln -snf linux-%{version} /usr/src/linux
 
 %postun headers
-if [ -L /usr/src/linux ]; then 
-       if [ "`ls -l /usr/src/linux | awk '{ print $11 }'`" = "linux-%{version}" ]; then
-               if [ "$1" = "0" ]; then
-                       rm -f /usr/src/linux
-               fi
+if [ -L %{_prefix}/src/linux ]; then
+       if [ "`ls -l %{_prefix}/src/linux | awk '{ print $10 }'`" = "linux-%{version}" ]; then
+               rm -f %{_prefix}/src/linux
        fi
 fi
 
 %if %{?_without_up:0}%{!?_without_up:1}
 %files
 %defattr(644,root,root,755)
-%ifarch alpha sparc ppc
+%ifarch alpha sparc sparc64 ppc
 /boot/vmlinux-%{version}-%{release}
 %endif
 /boot/vmlinuz-%{version}-%{release}
 /boot/System.map-%{version}-%{release}
 %dir /lib/modules/%{version}-%{release}
 /lib/modules/%{version}-%{release}/kernel
-%ifnarch sparc
+#pcmcia stuff
 %exclude /lib/modules/%{version}-%{release}/kernel/drivers/pcmcia
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/net/pcmcia
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/scsi/pcmcia
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/char/pcmcia
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/net/wireless/*_cs.o*
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/parport/*_cs.o*
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/bluetooth/*_cs.o*
-%endif
-%ifnarch ppc sparc
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/isdn/hisax/*_cs.o*
-%ifnarch alpha
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/isdn/avmb1/avm_cs.o*
-%exclude /lib/modules/%{version}-%{release}/kernel/drivers/telephony/*_pcmcia.o*
-%endif
-%endif
-%ifnarch sparc i386
+%exclude /lib/modules/%{version}-%{release}/kernel/drivers/*/pcmcia
+#drm stuff
 %exclude /lib/modules/%{version}-%{release}/kernel/drivers/char/drm
-%endif
+
 /lib/modules/%{version}-%{release}/build
 %ghost /lib/modules/%{version}-%{release}/modules.*
 
-%ifnarch sparc
 %files pcmcia-cs
 %defattr(644,root,root,755)
 /lib/modules/%{version}-%{release}/kernel/drivers/pcmcia
-/lib/modules/%{version}-%{release}/kernel/drivers/net/pcmcia
-/lib/modules/%{version}-%{release}/kernel/drivers/scsi/pcmcia
-/lib/modules/%{version}-%{release}/kernel/drivers/char/pcmcia
-/lib/modules/%{version}-%{release}/kernel/drivers/net/wireless/*_cs.o*
-/lib/modules/%{version}-%{release}/kernel/drivers/parport/*_cs.o*
-/lib/modules/%{version}-%{release}/kernel/drivers/bluetooth/*_cs.o*
-%ifnarch ppc
-/lib/modules/%{version}-%{release}/kernel/drivers/isdn/hisax/*_cs.o*
-%ifnarch alpha
-/lib/modules/%{version}-%{release}/kernel/drivers/isdn/avmb1/avm_cs.o*
-/lib/modules/%{version}-%{release}/kernel/drivers/telephony/*_pcmcia.o*
-%endif
-%endif
-%endif
+/lib/modules/%{version}-%{release}/kernel/drivers/*/pcmcia
 
-%ifnarch sparc i386
 %files drm
 %defattr(644,root,root,755)
 /lib/modules/%{version}-%{release}/kernel/drivers/char/drm
 %endif                 # %%{_without_up}
-%endif
 
 %if %{?_without_smp:0}%{!?_without_smp:1}
 %files smp
 %defattr(644,root,root,755)
-%ifarch sparc ppc
+%ifarch alpha sparc sparc64 ppc
 /boot/vmlinux-%{version}-%{release}smp
 %endif
 /boot/vmlinuz-%{version}-%{release}smp
 /boot/System.map-%{version}-%{release}smp
 %dir /lib/modules/%{version}-%{release}smp
 /lib/modules/%{version}-%{release}smp/kernel
-%ifnarch sparc
+#pcmcia stuff
 %exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/pcmcia
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/net/pcmcia
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/scsi/pcmcia
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/char/pcmcia
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/net/wireless/*_cs.o*
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/parport/*_cs.o*
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/bluetooth/*_cs.o*
-%endif
-%ifnarch ppc sparc
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/isdn/hisax/*_cs.o*
-%ifnarch alpha
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/isdn/avmb1/avm_cs.o*
-%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/telephony/*_pcmcia.o*
-%endif
-%endif
-%ifnarch sparc i386
+%exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/*/pcmcia
+#drm stuff
 %exclude /lib/modules/%{version}-%{release}smp/kernel/drivers/char/drm
-%endif
 /lib/modules/%{version}-%{release}smp/build
 %ghost /lib/modules/%{version}-%{release}smp/modules.*
 
-%ifnarch sparc
 %files -n kernel-smp-pcmcia-cs
 %defattr(644,root,root,755)
 /lib/modules/%{version}-%{release}smp/kernel/drivers/pcmcia
-/lib/modules/%{version}-%{release}smp/kernel/drivers/net/pcmcia
-/lib/modules/%{version}-%{release}smp/kernel/drivers/scsi/pcmcia
-/lib/modules/%{version}-%{release}smp/kernel/drivers/char/pcmcia
-/lib/modules/%{version}-%{release}smp/kernel/drivers/net/wireless/*_cs.o*
-/lib/modules/%{version}-%{release}smp/kernel/drivers/parport/*_cs.o*
-/lib/modules/%{version}-%{release}smp/kernel/drivers/bluetooth/dtl1_cs.o*
-%ifnarch ppc
-/lib/modules/%{version}-%{release}smp/kernel/drivers/isdn/hisax/*_cs.o*
-%ifnarch alpha
-/lib/modules/%{version}-%{release}smp/kernel/drivers/isdn/avmb1/avm_cs.o*
-/lib/modules/%{version}-%{release}smp/kernel/drivers/telephony/*_pcmcia.o*
-%endif
-%endif
-%endif
+/lib/modules/%{version}-%{release}smp/kernel/drivers/*/pcmcia
 
-%ifnarch sparc i386
 %files -n kernel-smp-drm
 %defattr(644,root,root,755)
 /lib/modules/%{version}-%{release}smp/kernel/drivers/char/drm
 %endif                 # %%{_without_smp}
-%endif
 
 %if %{?_without_boot:0}%{!?_without_boot:1}
 %ifnarch i586 i686 athlon              # narch
 %files BOOT
 %defattr(644,root,root,755)
-%ifarch alpha sparc ppc                # arch
+%ifarch alpha sparc sparc64 ppc                # arch
 %{_libdir}/bootdisk/boot/vmlinux-%{version}-%{release}BOOT
 %endif                         #arch
 %{_libdir}/bootdisk/boot/vmlinuz-%{version}-%{release}BOOT
@@ -1274,14 +698,13 @@ fi
 %defattr(644,root,root,755)
 %dir %{_prefix}/src/linux-%{version}
 %{_prefix}/src/linux-%{version}/include
-%{_includedir}/asm
-%{_includedir}/linux
+%{_prefix}/src/linux-%{version}/config-smp
+%{_prefix}/src/linux-%{version}/config-up
+%{_prefix}/src/linux-%{version}/.config
 
-%if %{?_without_doc:0}%{!?_without_doc:1}
 %files doc
 %defattr(644,root,root,755)
 %{_prefix}/src/linux-%{version}/Documentation
-%endif
 
 %if %{?_without_source:0}%{!?_without_source:1}
 %files source
@@ -1291,23 +714,19 @@ fi
 %{_prefix}/src/linux-%{version}/drivers
 %{_prefix}/src/linux-%{version}/fs
 %{_prefix}/src/linux-%{version}/init
-%{!?_without_grsec:%{_prefix}/src/linux-%{version}/grsecurity}
 %{_prefix}/src/linux-%{version}/ipc
-#%{_prefix}/src/linux-%{version}/kdb
 %{_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
-%{_prefix}/src/linux-%{version}/.config
-%{_prefix}/src/linux-%{version}/.depend
-%{_prefix}/src/linux-%{version}/.hdepend
+%{_prefix}/src/linux-%{version}/sound
+%{_prefix}/src/linux-%{version}/security
+%{_prefix}/src/linux-%{version}%{_prefix}
 %{_prefix}/src/linux-%{version}/COPYING
 %{_prefix}/src/linux-%{version}/CREDITS
 %{_prefix}/src/linux-%{version}/MAINTAINERS
 %{_prefix}/src/linux-%{version}/Makefile
 %{_prefix}/src/linux-%{version}/README
 %{_prefix}/src/linux-%{version}/REPORTING-BUGS
-%{_prefix}/src/linux-%{version}/Rules.make
-%{_prefix}/src/linux-%{version}/config*
 %endif
This page took 3.70404 seconds and 4 git commands to generate.