Author: arvenil Date: Sun Jan 6 22:52:01 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - added image config for rc-boot - s#/boot/memtest86#/boot/memtest86.vmlinuz# - release 2
---- Files affected: SPECS: memtest86.spec (1.33 -> 1.34) ---- Diffs: ================================================================ Index: SPECS/memtest86.spec diff -u SPECS/memtest86.spec:1.33 SPECS/memtest86.spec:1.34 --- SPECS/memtest86.spec:1.33 Tue Feb 13 07:46:53 2007 +++ SPECS/memtest86.spec Sun Jan 6 23:51:55 2008 @@ -6,11 +6,12 @@ Summary(uk.UTF-8): Тест пам'яті для x86-архітектури Name: memtest86 Version: 3.2 -Release: 1 +Release: 2 License: GPL Group: Applications/System Source0: http://www.memtest86.com/%{name}-%{version}.tar.gz # Source0-md5: 46028d276c39c2eebe7759ba813f97df +Source1: %{name}.image Patch0: %{name}-rover-centrino+c3+amd.patch Patch1: %{name}-i686-ld.patch URL: http://www.memtest86.com/ @@ -56,8 +57,21 @@ Також може використовуватися для створення завантажувальної тест-дискети. +%package -n rc-boot-image-memtest86 +Summary: memtest86 image for rc-boot +Summary(pl.UTF-8): Obraz memtest86 dla rc-boot +Group: Base +Requires: %{name} = %{version}-%{release} +Requires: rc-boot + +%description -n rc-boot-image-memtest86 +memtest86 image for rc-boot. + +%description -n rc-boot-image-memtest86 -l pl.UTF-8 +Obraz memtest86 dla rc-boot. + %prep -%setup -q +%setup -q %patch0 -p1 %patch1 -p1 @@ -69,17 +83,30 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/boot -install memtest.bin $RPM_BUILD_ROOT/boot/memtest86 +install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-boot/images +install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-boot/images/%{name} + +install -d $RPM_BUILD_ROOT/boot +install memtest.bin $RPM_BUILD_ROOT/boot/%{name}.vmlinuz %clean rm -rf $RPM_BUILD_ROOT +%postun -n rc-boot-image-memtest86 +/sbin/rc-boot 1>&2 || : + +%post -n rc-boot-image-memtest86 +/sbin/rc-boot 1>&2 || : + %files %defattr(644,root,root,755) %doc README -/boot/memtest86 +/boot/%{name}.vmlinuz + +%files -n rc-boot-image-memtest86 +%defattr(644,root,root,755) +%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-boot/images/%{name} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -87,6 +114,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.34 2008-01-06 22:51:55 arvenil +- added image config for rc-boot +- s#/boot/memtest86#/boot/memtest86.vmlinuz# +- release 2 + Revision 1.33 2007-02-13 06:46:53 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/memtest86.spec?r1=1.33&r2=1.34&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
