SPECS (LINUX_2_6): kernel.spec - package useful libraries on ppc
sparky
sparky at pld-linux.org
Sun Oct 9 21:14:23 CEST 2005
Author: sparky Date: Sun Oct 9 19:14:23 2005 GMT
Module: SPECS Tag: LINUX_2_6
---- Log message:
- package useful libraries on ppc
---- Files affected:
SPECS:
kernel.spec (1.441.2.1236 -> 1.441.2.1237)
---- Diffs:
================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1236 SPECS/kernel.spec:1.441.2.1237
--- SPECS/kernel.spec:1.441.2.1236 Sun Oct 9 16:59:43 2005
+++ SPECS/kernel.spec Sun Oct 9 21:14:17 2005
@@ -162,6 +162,7 @@
Source2: kernel-config.h
Source3: http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-%{version}%{_rc}-git7.bz2
# Source3-md5: 90e7b66a30dd4987e073df5a92b938a3
+Source5: kernel-ppclibs.Makefile
Source20: kernel-i386.config
Source21: kernel-i386-smp.config
@@ -449,6 +450,21 @@
%description pcmcia -l pl
Moduły PCMCIA (%{pcmcia_version}).
+%package libs
+Summary: Libraries for preparing bootable kernel on PowerPCs
+Summary(pl): Biblioteki do przygotowania bootowalnego jądra dla PowerPC
+Group: Base/Kernel
+Requires: %{name}-up = %{epoch}:%{version}-%{release}
+Autoreqprov: no
+
+%description libs
+Libraries for preparing bootable kernel on PowerPCs.
+Script called mkvmlinuz may be useful for this.
+
+%description libs -l pl
+Biblioteki do przygotowania bootowalnego jądra dla PowerPC.
+Skrypt mkvmlinuz może być do tego przydatny.
+
%package sound-alsa
Summary: ALSA kernel modules
Summary(pl): Sterowniki dźwięku ALSA
@@ -565,6 +581,21 @@
%description smp-pcmcia -l pl
Moduły PCMCIA dla maszyn SMP (%{pcmcia_version}).
+%package smp-libs
+Summary: Libraries for preparing bootable SMP kernel on PowerPCs
+Summary(pl): Biblioteki do przygotowania bootowalnego jądra dla wieloprocesorowych PowerPC
+Group: Base/Kernel
+Requires: %{name}-smp = %{epoch}:%{version}-%{release}
+Autoreqprov: no
+
+%description smp-libs
+Libraries for preparing bootable SMP kernel on PowerPCs.
+Script called mkvmlinuz may be useful for this.
+
+%description smp-libs -l pl
+Biblioteki do przygotowania bootowalnego jądra dla wieloprocesorowych
+PowerPC. Skrypt mkvmlinuz może być do tego przydatny.
+
%package smp-sound-alsa
Summary: ALSA SMP kernel modules
Summary(pl): Sterowniki dźwięku ALSA dla maszyn wieloprocesorowych
@@ -684,6 +715,7 @@
%prep
%setup -q -n linux-%{version}%{_rc}
bzip2 -d -c %{SOURCE3} | patch -p1 -s
+install %{SOURCE5} Makefile.ppclibs
%patch0 -p1
%{?with_pld_vers:%patch1 -p0}
@@ -1053,6 +1085,8 @@
%ifarch ppc ppc64
install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinux-$KernelVer
install vmlinux $KERNEL_INSTALL_DIR/boot/vmlinuz-$KernelVer
+ %{__make} -f Makefile.ppclibs install \
+ DESTDIR=$KERNEL_INSTALL_DIR/boot/libs-$KernelVer
%endif
%ifarch ia64
gzip -cfv vmlinux > vmlinuz
@@ -1411,6 +1445,20 @@
%endif
%endif
+%ifarch ppc
+%files libs
+%defattr(644,root,root,755)
+%dir /boot/libs-%{version}-%{release}
+/boot/libs-%{version}-%{release}/common
+/boot/libs-%{version}-%{release}/kernel
+/boot/libs-%{version}-%{release}/lib
+/boot/libs-%{version}-%{release}/of1275
+/boot/libs-%{version}-%{release}/openfirmware
+/boot/libs-%{version}-%{release}/simple
+%dir /boot/libs-%{version}-%{release}/utils
+%attr(755,root,root) /boot/libs-%{version}-%{release}/utils/*
+%endif
+
%files sound-alsa
%defattr(644,root,root,755)
/lib/modules/%{version}-%{release}/kernel/sound
@@ -1497,6 +1545,20 @@
%endif
%endif
+%ifarch ppc
+%files smp-libs
+%defattr(644,root,root,755)
+%dir /boot/libs-%{version}-%{release}smp
+/boot/libs-%{version}-%{release}smp/common
+/boot/libs-%{version}-%{release}smp/kernel
+/boot/libs-%{version}-%{release}smp/lib
+/boot/libs-%{version}-%{release}smp/of1275
+/boot/libs-%{version}-%{release}smp/openfirmware
+/boot/libs-%{version}-%{release}smp/simple
+%dir /boot/libs-%{version}-%{release}smp/utils
+%attr(755,root,root) /boot/libs-%{version}-%{release}smp/utils/*
+%endif
+
%files smp-sound-alsa
%defattr(644,root,root,755)
/lib/modules/%{version}-%{release}smp/kernel/sound
@@ -1598,6 +1660,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.441.2.1237 2005/10/09 19:14:17 sparky
+- package useful libraries on ppc
+
Revision 1.441.2.1236 2005/10/09 14:59:43 arekm
- drop unneded ocfs2 config
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1236&r2=1.441.2.1237&f=u
More information about the pld-cvs-commit
mailing list