Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
memtest86+
> memtest86+.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File memtest86+.spec of Package memtest86+ (Revision 9)
Currently displaying revision
9
,
show latest
# # spec file for package memtest86+ (Version 1.70) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: memtest86+ Version: 1.70 Release: 35 # License: BSD 3-Clause Group: System/Boot # BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch x86_64 BuildRequires: glibc-devel-32bit %endif ExclusiveArch: %ix86 x86_64 Provides: lilo:/boot/memtest86+.bin # URL: http://www.memtest.org Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz Patch0: fix-destdir Patch1: include-linkonce Patch2: serial-enable Patch3: include-gnuhash # Summary: Memory Testing Image for x86 Architecture %description Memtest86 is an image that can be booted instead of a real OS. Once booted, it can be used to test the computer's memory. Authors: -------- Samuel Demeulemeester <memtest@memtest.org> Original memtest86 package: John Coffman <JohnInSD@san.rr.com> Werner Almesberger <Werner.Almesberger@epfl.ch> PowerPC part: Paul Mackeras <paulus@samba.org> Cort Dougan <cort@fsmlabs.com> Benjamin Herrenschmidt <benh@kernel.crashing.org> Memtest86: Chris Brady <crsbrady@earthlink.net> %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %ifarch x86_64 make CC="gcc -m32" AS="as --32" %else make %endif %install install -D -m 0644 memtest.bin $RPM_BUILD_ROOT/boot/memtest86+.bin %post if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \ -x /sbin/update-bootloader ]; then /sbin/update-bootloader --add --image /boot/memtest86+.bin --name "Memory Test (memtest86+)" fi true %postun test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force --image /boot/memtest86+.bin || true %files %defattr(-,root,root) /boot/memtest86+.bin %doc README* changelog FAQ %changelog * Sat Jul 05 2008 Carsten Schoene <cs@linux-administrator.com> - update to work with memtest86+ in parallel