1 Summary: The Linux kernel (the core of the Linux operating system)
3 # Versions of various parts
6 # Polite request for people who spin their own kernel rpms:
7 # please modify the "release" field in a way that identifies
8 # that the kernel isn't the stock RHL kernel, for example by
9 # adding some text to the end of the version number.
11 %define kversion @KERNEL_VERSION@
12 %define kextraver @KERNEL_EXTRA_VERSION@
13 %define release @KERNEL_RELEASE@
14 # /usr/src/%{kslnk} -> /usr/src/linux-%{KVERREL}
15 %define kslnk linux-2.4
17 # groups of related archs
18 %define all_x86 i386 i686 i586 athlon
19 #define all_x86 i686 i386 i586 athlon
21 %define nptlarchs %{all_x86}
22 #define nptlarchs noarch
23 %define rhbuild @RHBUILD@
25 # disable build root strip policy
26 %define __spec_install_post /usr/lib/rpm/brp-compress || :
29 %define _missing_doc_files_terminate_build 0
30 %define _unpackaged_files_terminate_build 0
31 %define debug_package %{nil}
33 # Enable this to build a board-specific kernel configuration
34 # some architectures have LOTS of different setups and this
35 # is a way to deal with that cleanly.
37 #define targetboard assabet
38 %define dashtargetboard %{?targetboard:-%{targetboard}}
39 %define withtargetboard 0
40 %{?targetboard: %{expand: %%define withtargetboard 1}}
42 # Override generic defaults with per-arch defaults (which can
43 # themselves be overridden with --with/--without). These must
44 # ONLY be "0", never "1"
58 %ifarch @BIGMEM_ARCHS@
66 %ifarch @JENSEN_ARCHS@
78 # For board-specific kernels, build only the normal kernel (which may actually be smp, not up).
79 %if %{withtargetboard}
87 Second, per-architecture exclusions (ifarch)
96 # we can't test values inline, only whether a macro exists
97 %{expand: %%define buildup_%{buildup} yadda}
98 %{expand: %%define buildsmp_%{buildsmp} yadda}
99 %{expand: %%define buildBOOT_%{buildBOOT} yadda}
100 %{expand: %%define buildbigmem_%{buildbigmem} yadda}
101 %{expand: %%define buildjensen_%{buildjensen} yadda}
102 %{expand: %%define ikd_%{ikd} yadda}
103 %{expand: %%define ibcs_%{ibcs} yadda}
104 %{expand: %%define debuglevel_%{debugging} yadda}
106 %{expand: %%define kernel_conflicts ppp <= 2.3.15, pcmcia-cs <= 3.1.20, isdn4k-utils <= 3.0, mount < 2.10r-5, nfs-utils < 0.3.1, cipe < 1.4.5, tux < 2.1.0, kudzu <= 0.92, e2fsprogs < 1.22, initscripts < 5.84, dev < 3.2-7, iptables < 1.2.5-3, bcm5820 < 1.81, nvidia-rh72 <= 1.0, oprofile < 0.4}
108 %define BOOT_kernel_prereq fileutils, modutils >= 2.4.18
109 %define kernel_prereq %{BOOT_kernel_prereq}, initscripts >= 5.83, mkinitrd >= 3.2.6
111 %define initrd_dir /boot/efi/redhat
113 %define initrd_dir /boot
116 %ifarch %{all_x86} x86_64
117 %define kernel_glob vmlinu?-%{KVERREL}
120 # <sigh>, no GLOB_BRACE for filelists, efi needs to be done separately
121 %define kernel_glob vmlinuz-%{KVERREL}
124 %define kernel_glob vmlinu?-%{KVERREL}
129 Release: %{release}%{?targetboard:%{targetboard}}%{?debuglevel_1:.dbg}
130 %define KVERREL %{PACKAGE_VERSION}-%{kextraver}%{?targetboard:%{targetboard}}%{?debuglevel_1:.dbg}
132 Group: System Environment/Kernel
133 ExclusiveArch: %{all_x86} x86_64 ia64
135 Obsoletes: kernel-modules, kernel-sparc
136 Provides: kernel = %{version}
137 BuildConflicts: rhbuildsys(DiscFree) < 500Mb
138 %ifarch %{all_x86} ia64 x86_64
139 Provides: kernel-drm = 4.1.0, kernel-drm = 4.2.0, kernel-drm = 4.3.0, kernel-drm = 4.2.99.3
142 Prereq: %{kernel_prereq}
143 Conflicts: %{kernel_conflicts}
145 BuildPreReq: patch >= 2.5.4, bash >= 2.03, sh-utils, gnupg, tar
146 BuildPreReq: bzip2, findutils, dev, gzip, m4
148 Vendor: Cluster File Systems, Inc.
149 URL: http://www.kernel.org/
150 Buildroot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root
152 Source0: @LUSTRE_SOURCE@
153 Source1: @KERNEL_SOURCE@
155 Source15: linux-rhconfig.h
156 Source16: linux-merge-config.awk
157 Source17: linux-merge-modules.awk
160 Summary: The source code for the Linux kernel.
161 Group: Development/System
164 Requires: gcc >= 2.96-98
167 Summary: Various documentation bits found in the kernel source.
171 The kernel package contains the Linux kernel (vmlinuz), the core of a
172 Linux operating system. The kernel handles the basic functions of the
173 operating system: memory allocation, process allocation, device input
177 The kernel-source package contains the source code files for the Linux
178 kernel. These source files are needed to build custom/third party device
179 drivers. The source files can also be used to build a custom kernel that is
180 better tuned to your particular hardware, if you are so inclined (and you
181 know what you're doing).
184 This package contains documentation files form the kernel
185 source. Various bits of information about the Linux kernel and the
186 device drivers shipped with it are documented in these files.
188 You'll want to install this package if you need a reference to the
189 options that can be passed to Linux kernel modules at load time.
192 Summary: The Linux kernel compiled for SMP machines.
193 Group: System Environment/Kernel
194 Provides: module-info, kernel = %{version}
195 %ifarch %{all_x86} ia64 x86_64
196 Provides: kernel-drm = 4.1.0, kernel-drm = 4.2.0, kernel-drm = 4.3.0, kernel-drm = 4.2.99.3
198 Prereq: %{kernel_prereq}
199 Conflicts: %{kernel_conflicts}
202 This package includes a SMP version of the Linux kernel. It is
203 required only on machines with two or more CPUs, although it should
204 work fine on single-CPU boxes.
206 Install the kernel-smp package if your machine uses two or more CPUs.
209 Summary: The Linux Kernel for machines with more than 4 Gigabyte of memory.
210 Group: System Environment/Kernel
211 Provides: module-info, kernel = %{version}
212 %ifarch %{all_x86} ia64 x86_64
213 Provides: kernel-drm = 4.1.0, kernel-drm = 4.2.0, kernel-drm = 4.3.0, kernel-drm = 4.2.99.3
215 Prereq: %{kernel_prereq}
216 Conflicts: %{kernel_conflicts}
217 Obsoletes: kernel-enterprise <= 2.4.10
220 This package includes a kernel that has appropriate configuration options
221 enabled for Pentium III machines with 4 Gigabyte of memory or more.
224 Summary: The version of the Linux kernel used on installation boot disks.
225 Group: System Environment/Kernel
226 Provides: kernel = %{version}
227 Prereq: %{BOOT_kernel_prereq}
228 Conflicts: %{kernel_conflicts}
231 This package includes a trimmed down version of the Linux kernel.
232 This kernel is used on the installation boot disks only and should not
233 be used for an installed system, as many features in this kernel are
234 turned off because of the size constraints.
237 Summary: The Linux kernel used on installation boot disks for SMP machines.
238 Group: System Environment/Kernel
239 Provides: kernel = %{version}
240 Prereq: %{BOOT_kernel_prereq}
241 Conflicts: %{kernel_conflicts}
244 This package includes a trimmed down version of the Linux kernel. This
245 kernel is used on the installation boot disks only and should not be used
246 for an installed system, as many features in this kernel are turned off
247 because of the size constraints. This kernel is used when booting SMP
248 machines that have trouble coming up to life with the uniprocessor kernel.
251 Summary: The Linux Kernel compiled for the Alpha Jensen platform.
252 Group: System Environment/Kernel
253 Provides: kernel = %{version}
254 Prereq: %{kernel_prereq}
255 Conflicts: %{kernel_conflicts}
258 This package includes a kernel that has appropriate configuration
259 options enabled for use on the Alpha Jensen platform. The Jensen
260 platform is not supported in the normal generic alpha kernel support.
262 %package -n lustre-lite-utils
263 Summary: Lustre utils for Linux
264 Group: Applications/System
266 %description -n lustre-lite-utils
267 The Lustre Lite file system utilities. This includes the tools needed
268 to configure, mount, and administer a Lustre filesystem. This package
269 is necessary if you want to access a Lustre filesystem.
271 # the lustre-doc files are just included as %doc wiht
274 #%package -n lustre-doc
275 #Summary: Sample Lustre configurations and documentation
276 #Group: Documentation
278 #%description -n lustre-doc
279 #The Lustre book, sample configurations, and other documentation for
282 %package -n lustre-ldap
283 Summary: LDAP schema files for Lustre
284 Group: System Environment/Daemons
286 %description -n lustre-ldap
287 LDAP schema files for Lustre. These are needed if you plan to store
288 your Lustre configuration in LDAP, rather than on disk.
291 %setup -n lustre-kernel-%{version} -q -c
292 if [ ! -d lustre ] ; then
293 ln -sf lustre* lustre
295 pushd lustre >/dev/null
296 sh -x ./scripts/lmake \
298 --target @LUSTRE_TARGET@ \
299 --kerneldir $RPM_SOURCE_DIR
303 # if RPM_BUILD_NCPUS unset, set it
304 if [ -z "$RPM_BUILD_NCPUS" ] ; then
305 RPM_BUILD_NCPUS=$(egrep -c "^cpu[0-9]+" /proc/stat || :)
306 if [ $RPM_BUILD_NCPUS -eq 0 ] ; then
309 if [ $RPM_BUILD_NCPUS -gt 8 ] ; then
314 rm -rf $RPM_BUILD_ROOT
315 mkdir -p $RPM_BUILD_ROOT
319 target_config=${1:+--target-config $1}
320 sh -x ./scripts/lmake \
322 --target @LUSTRE_TARGET@ \
323 --target-arch %{_target_cpu} \
325 --extraversion %{kextraver} \
331 target_config=${1:+--target-config $1}
332 sh -x ./scripts/lmake \
333 --build-kernel --build-lustre \
335 --target @LUSTRE_TARGET@ \
336 --target-arch %{_target_cpu} \
338 --extraversion %{kextraver} \
339 --kerneldir $RPM_SOURCE_DIR \
340 -j $RPM_BUILD_NCPUS \
341 --destdir $RPM_BUILD_ROOT \
347 target_config=${1:+--target-config $1}
348 sh -x ./scripts/lmake \
351 --target @LUSTRE_TARGET@ \
352 --target-arch %{_target_cpu} \
354 --extraversion %{kextraver} \
355 --kerneldir $RPM_SOURCE_DIR \
356 -j $RPM_BUILD_NCPUS \
357 --destdir $RPM_BUILD_ROOT \
363 sh -x ./scripts/lmake \
365 --target @LUSTRE_TARGET@ \
366 --extraversion %{kextraver} \
367 --destdir $RPM_BUILD_ROOT
370 pushd lustre >/dev/null
388 # we want this one last, so that it is the one populating /usr/bin
389 %if %{buildup} && %{buildbase}
402 pushd lustre >/dev/null
403 # it's already installed, so just clean up some things that are rpm
405 for i in $RPM_BUILD_ROOT/lib/modules/* ; do
408 ln -sf ../../../usr/src/linux-%{KVERREL} $i/build
410 # remove legacy pcmcia symlink that's no longer useful
415 # mark the vmlinux* non-executable to fool strip-to-file
416 chmod a-x $RPM_BUILD_ROOT/boot/vmlinux*
419 ## do -source package cleanup/install
422 pushd linux >/dev/null
423 mkdir -p $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
424 rm -f drivers/net/hamradio/soundmodem/gentbl scripts/mkdep
425 tar cf - . | tar xf - -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
426 perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{kextraver}custom/" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/Makefile
427 ln -sf linux-%{KVERREL} $RPM_BUILD_ROOT/usr/src/linux
428 # install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
430 #clean up the destination
431 make -s mrproper -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
432 rm -rf $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs/*
433 cp ../kernel_patches/kernel_configs/kernel-%{kversion}-@LUSTRE_TARGET@*.config $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/configs
434 cp ../kernel_patches/kernel_configs/kernel-%{kversion}-@LUSTRE_TARGET@-%{_target_cpu}%{dashtargetboard}.config $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/.config
435 make -s oldconfig_nonint -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
436 make -s symlinks -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
437 make -s include/linux/version.h -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
439 #this generates modversions info which we want to include and we may as
440 #well include the depends stuff as well, after we fix the paths
441 make -s depend -C $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}
442 find $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL} -name ".*depend" | \
445 sed -e "s|[^ ]*\(/usr/src/linux\)|\1|g" < $file.old > $file
449 # Try to put some smarter autoconf.h and version.h files in place
450 pushd $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/include/linux ; {
451 rm -rf modules modversions.h autoconf.h version.h
452 cat > modversions.h <<EOF
453 #ifndef _LINUX_MODVERSIONS_H
454 #define _LINUX_MODVERSIONS_H
455 #include <linux/rhconfig.h>
456 #include <linux/modsetver.h>
458 echo '#include <linux/rhconfig.h>' > autoconf.h
459 list=`find ../../savedheaders/* -name '*.ver' -exec basename '{}' \; | sort`
462 sed 's,$,modules/'$l, ../../savedheaders/list | awk -f %{SOURCE17} > modules/$l
463 touch -r modules/$l modules/`basename $l .ver`.stamp
464 echo '#include <linux/modules/'$l'>' >> modversions.h
466 echo '#endif' >> modversions.h
467 sed 's,$,autoconf.h,' ../../savedheaders/list | awk -f %{SOURCE16} >> autoconf.h
468 install -m 644 %{SOURCE15} rhconfig.h
469 echo "#include <linux/rhconfig.h>" >> version.h
471 for i in smp BOOT BOOTsmp bigmem up ; do
472 # When we build in an i386, we don't have an bigmem header directory
473 # in savedheaders/i386/bigmem. We also don't have a BOOT directory
474 # anywhere except in savedheaders/i386. So, we need to use this method
475 # of determining if a kernel version string needs to be included in the
477 verh=`echo ../../savedheaders/*/$i/version.h | awk ' { print $1 } '`
478 if [ -n "$verh" -a -f "$verh" ]; then
479 if [ "$i" = up ]; then
480 if [ "$keyword" = if ]; then
481 echo "#if 0" >> version.h
483 echo "#else" >> version.h
485 echo "#$keyword defined(__module__$i)" >> version.h
488 grep UTS_RELEASE $verh >> version.h
491 echo "#endif" >> version.h
492 if [ -f ../../savedheaders/%{_target_cpu}/up/version.h ] ; then
493 # keep to a standard normally
494 HEADER_FILE=../../savedheaders/%{_target_cpu}/up/version.h
496 # test build not including uniprocessor, must get info from somewhere
497 HEADER_FILE=$(ls ../../savedheaders/*/*/version.h | head -1)
499 grep -v UTS_RELEASE $HEADER_FILE >> version.h
500 rm -rf ../../savedheaders
502 touch $RPM_BUILD_ROOT/boot/kernel.h-%{kversion}
504 rm -f $RPM_BUILD_ROOT/usr/include/linux
506 rm -rf $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/savedheaders
509 # fix up the tmp_include_depends file wrt the buildroot
510 perl -p -i -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL}/tmp_include_depends
519 rm -rf $RPM_BUILD_ROOT
525 # do this for upgrades...in case the old modules get removed we have
526 # loopback in the kernel so that mkinitrd will work.
528 /sbin/modprobe loop 2> /dev/null > /dev/null || :
532 /sbin/modprobe loop 2> /dev/null > /dev/null || :
536 /sbin/modprobe loop 2> /dev/null > /dev/null || :
542 ln -sf vmlinuz-%{KVERREL} vmlinuz
544 ln -sf System.map-%{KVERREL} System.map
545 ln -sf module-info-%{KVERREL} module-info
546 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
547 [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
548 if [ -x /sbin/new-kernel-pkg ] ; then
549 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}
554 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
555 [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
556 if [ -x /sbin/new-kernel-pkg ] ; then
557 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}smp
561 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
562 [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
563 if [ -x /sbin/new-kernel-pkg ] ; then
564 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}bigmem
568 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
569 [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
570 if [ -x /sbin/new-kernel-pkg ] ; then
571 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}jensen
576 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
577 [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth
578 if [ -x /sbin/new-kernel-pkg ] ; then
579 /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}BOOT
584 # Allow clean removal of modules directory
586 /sbin/modprobe loop 2> /dev/null > /dev/null || :
587 #rm -f /lib/modules/%{KVERREL}/modules.*
588 if [ -x /sbin/new-kernel-pkg ] ; then
589 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}
594 /sbin/modprobe loop 2> /dev/null > /dev/null || :
595 rm -f /lib/modules/%{KVERREL}smp/modules.*
596 if [ -x /sbin/new-kernel-pkg ] ; then
597 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}smp
602 /sbin/modprobe loop 2> /dev/null > /dev/null || :
603 rm -f /lib/modules/%{KVERREL}bigmem/modules.*
604 if [ -x /sbin/new-kernel-pkg ] ; then
605 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}bigmem
610 /sbin/modprobe loop 2> /dev/null > /dev/null || :
611 #rm -f /lib/modules/%{KVERREL}BOOT/modules.*
612 if [ -x /sbin/new-kernel-pkg ] ; then
613 /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}BOOT
618 /sbin/modprobe loop 2> /dev/null > /dev/null || :
619 #rm -f /lib/modules/%{KVERREL}jensen/modules.*
622 # We need this here because we don't prereq kudzu; it could be
623 # installed after the kernel
625 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade || :
627 %triggerin smp -- kudzu
628 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade || :
630 %triggerin bigmem -- kudzu
631 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade || :
633 %triggerin BOOT -- kudzu
634 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade || :
636 %triggerin jensen -- kudzu
637 [ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade || :
640 # Old kernel-headers packages owned include symlinks; new
641 # ones just make them so that we can have multiple kernel-headers
642 # packages installed.
644 %triggerpostun source -- kernel-headers < 2.2.16
647 ln -snf linux-%{KVERREL} %{kslnk}
653 ln -snf linux-%{KVERREL} %{kslnk}
656 if [ -L /usr/src/%{kslnk} ]; then
657 if [ -L /usr/src/%{kslnk} -a `ls -ld /usr/src/%{kslnk} 2>/dev/null| awk '{ print $11 }'` = "linux-%{KVERREL}" ]; then
658 [ $1 = 0 ] && rm -f /usr/src/%{kslnk}
669 %defattr(-, root, root)
672 /boot/efi/redhat/%{kernel_glob}
674 /boot/System.map-%{KVERREL}
675 /boot/config-%{KVERREL}
678 /lib/modules/%{KVERREL}
683 %defattr(-, root, root)
684 /boot/%{kernel_glob}smp
686 /boot/efi/redhat/%{kernel_glob}smp
688 /boot/System.map-%{KVERREL}smp
689 /boot/config-%{KVERREL}smp
692 /lib/modules/%{KVERREL}smp
697 %defattr(-, root, root)
698 /boot/%{kernel_glob}bigmem
700 /boot/efi/redhat/%{kernel_glob}bigmem
702 /boot/System.map-%{KVERREL}bigmem
703 /boot/config-%{KVERREL}bigmem
706 /lib/modules/%{KVERREL}bigmem
711 %defattr(-, root, root)
712 /boot/%{kernel_glob}BOOT
714 /boot/efi/redhat/%{kernel_glob}BOOT
716 /boot/System.map-%{KVERREL}BOOT
717 /boot/config-%{KVERREL}BOOT
720 /lib/modules/%{KVERREL}BOOT
727 %defattr(-,root,root)
728 %dir /usr/src/linux-%{KVERREL}
729 /usr/src/linux-%{KVERREL}/COPYING*
730 /usr/src/linux-%{KVERREL}/CREDITS
731 /usr/src/linux-%{KVERREL}/Documentation
732 /usr/src/linux-%{KVERREL}/MAINTAINERS
733 /usr/src/linux-%{KVERREL}/Makefile
734 /usr/src/linux-%{KVERREL}/README
735 /usr/src/linux-%{KVERREL}/REPORTING-BUGS
736 /usr/src/linux-%{KVERREL}/Rules.make
737 /usr/src/linux-%{KVERREL}/arch
739 /usr/src/linux-%{KVERREL}/arch/sparc64
741 /usr/src/linux-%{KVERREL}/drivers
743 /usr/src/linux-%{KVERREL}/crypto
745 /usr/src/linux-%{KVERREL}/fs
746 /usr/src/linux-%{KVERREL}/init
747 /usr/src/linux-%{KVERREL}/ipc
748 /usr/src/linux-%{KVERREL}/kernel
749 /usr/src/linux-%{KVERREL}/lib
750 /usr/src/linux-%{KVERREL}/mm
751 /usr/src/linux-%{KVERREL}/net
752 /usr/src/linux-%{KVERREL}/scripts
754 %{?ibcs_1:/usr/src/linux-%{KVERREL}/abi}
756 /usr/src/linux-%{KVERREL}/configs
757 /usr/src/linux-%{KVERREL}/include
758 /usr/src/linux-%{KVERREL}/include/asm
760 %{?ibcs_1:/usr/src/linux-%{KVERREL}/include/abi}
762 /usr/src/linux-%{KVERREL}/include/linux
764 /usr/src/linux-%{KVERREL}/include/rxrpc
766 /usr/src/linux-%{KVERREL}/include/net
767 /usr/src/linux-%{KVERREL}/include/pcmcia
768 /usr/src/linux-%{KVERREL}/include/scsi
769 /usr/src/linux-%{KVERREL}/include/video
771 /usr/src/linux-%{KVERREL}/tmp_include_depends
773 %dir /usr/src/linux-%{KVERREL}/include
774 %dir /usr/src/linux-%{KVERREL}/arch
776 /usr/src/linux-%{KVERREL}/include/math-emu
781 %defattr(-,root,root)
782 %doc lustre/linux/Documentation/*
784 %files -n lustre-lite-utils
785 %defattr(-, root, root)
786 %doc lustre/COPYING lustre/BUGS lustre/ChangeLog lustre/README lustre/doc/lustre.pdf
790 %{_libdir}/lustre/python
791 %{_sysconfdir}/init.d/lustre
795 #%files -n lustre-doc
796 #%defattr(-, root, root)
797 #/usr/share/doc/lustre/COPYING
798 #/usr/share/doc/lustre/lustre.pdf
799 #/usr/share/doc/lustre/COPYING
801 /usr/lib/lustre/examples
803 %files -n lustre-ldap
804 %defattr(-, root, root)
805 /etc/openldap/slapd-lustre.conf
806 /etc/openldap/schema/lustre.schema
807 /usr/lib/lustre/lustre2ldif.xsl
808 /usr/lib/lustre/top.ldif
810 %endif # %{buildbase}