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 2)
Currently displaying revision
2
,
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: 3.4 Release: 1 # 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.memtest86.com Source: http://memtest86.com/%{version}/%{name}-%{version}.tar.gz Patch0: fix-destdir Patch1: include-gnuhash.patch # 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. %prep %setup %patch0 -p1 %patch1 %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> - initial build version 3.4