SPECS: linux-live-kernel.spec (NEW) - initial release
patrys
patrys at pld-linux.org
Sat Dec 15 23:08:47 CET 2007
Author: patrys Date: Sat Dec 15 22:08:47 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial release
---- Files affected:
SPECS:
linux-live-kernel.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/linux-live-kernel.spec
diff -u /dev/null SPECS/linux-live-kernel.spec:1.1
--- /dev/null Sat Dec 15 23:08:47 2007
+++ SPECS/linux-live-kernel.spec Sat Dec 15 23:08:41 2007
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary: Live CD kernel provided by linux-live.org
+Name: linux-live-kernel
+Version: 2.6.21.5
+Release: 1
+License: GPL v2
+Group: Base/Kernel
+Source0: ftp://ftp.slax.org/Linux-Live/kernels/%{version}/linux-%{version}-i486-1.tgz
+# Source0-md5: ddf9e2ea705723acb218766be21398df
+URL: http://www.linux-live.org/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Precompiled Linux kernel with aufs and squashfs modules and ext2
+support.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/{boot,lib/modules/%{version}}
+cp -a boot/vmlinuz $RPM_BUILD_ROOT/boot/vmlinuz-%{version}
+cp -a lib/modules/%{version}/kernel $RPM_BUILD_ROOT/lib/modules/%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+ln -sf vmlinuz-%{version} /boot/vmlinuz
+
+%files
+%defattr(644,root,root,755)
+/boot/vmlinuz-%{version}
+/lib/modules/%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-12-15 22:08:41 patrys
+- initial release
+
================================================================
More information about the pld-cvs-commit
mailing list