SPECS (LINUX_2_6_13): kernel.spec - package useful libraries on pp...

sparky sparky at pld-linux.org
Sun Oct 9 21:07:17 CEST 2005


Author: sparky                       Date: Sun Oct  9 19:07:17 2005 GMT
Module: SPECS                         Tag: LINUX_2_6_13
---- Log message:
- package useful libraries on ppc
- TODO: some %trigger/%post when I'll finish mkvmlinuz script

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1221.2.3 -> 1.441.2.1221.2.4) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1221.2.3 SPECS/kernel.spec:1.441.2.1221.2.4
--- SPECS/kernel.spec:1.441.2.1221.2.3	Tue Oct  4 19:52:47 2005
+++ SPECS/kernel.spec	Sun Oct  9 21:07:11 2005
@@ -160,6 +160,7 @@
 # Source0-md5:	4208271a5a7b273b7bf83cabe2c54cf5
 Source1:	kernel-autoconf.h
 Source2:	kernel-config.h
+Source5:	kernel-ppclibs.Makefile
 
 Source20:	kernel-i386.config
 Source21:	kernel-i386-smp.config
@@ -446,6 +447,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
@@ -554,6 +570,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
@@ -672,6 +703,7 @@
 
 %prep
 %setup -q -n linux-%{version}%{_rc}
+install %{SOURCE5} Makefile.ppclibs
 
 %patch0 -p1
 %{?with_pld_vers:%patch1 -p0}
@@ -1044,6 +1076,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
@@ -1402,6 +1436,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
@@ -1488,6 +1536,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
@@ -1586,6 +1648,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1221.2.4  2005/10/09 19:07:11  sparky
+- package useful libraries on ppc
+- TODO: some %trigger/%post when I'll finish mkvmlinuz script
+
 Revision 1.441.2.1221.2.3  2005/10/04 17:52:47  baggins
 - release 2
 - updated vserver to 2.0.1pre2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1221.2.3&r2=1.441.2.1221.2.4&f=u




More information about the pld-cvs-commit mailing list