212 lines
5.7 KiB
RPMSpec
212 lines
5.7 KiB
RPMSpec
# Prevent stripping
|
|
%define __spec_install_post /usr/lib/rpm/brp-compress
|
|
# Turn off debuginfo package
|
|
%define debug_package %{nil}
|
|
|
|
Summary: Stand-alone memory tester for x86 and x86-64 computers
|
|
Name: memtest86+
|
|
Version: 1.70
|
|
Release: 1%{?dist}
|
|
License: GPL
|
|
ExclusiveArch: %{ix86} x86_64
|
|
Group: System Environment/Base
|
|
Source0: http://www.memtest.org/download/1.20/memtest86+-%{version}.tar.gz
|
|
URL: http://www.memtest.org
|
|
Source1: new-memtest-pkg
|
|
Source2: memtest-setup
|
|
Requires(preun): coreutils
|
|
# require glibc-devel.i386 via this file:
|
|
BuildRequires: %{_includedir}/gnu/stubs-32.h
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
%description
|
|
Memtest86+ is a thorough stand-alone memory test for x86 and x86-64
|
|
architecture computers. BIOS based memory tests are only a quick
|
|
check and often miss many of the failures that are detected by
|
|
Memtest86+.
|
|
|
|
Run 'memtest-setup' to add to your GRUB or lilo boot menu.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# Regular build flags not wanted for this binary
|
|
# Note: i486 minimum runtime arch
|
|
make
|
|
# It makes no sense to use smp flags here.
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/boot
|
|
mkdir -p $RPM_BUILD_ROOT/sbin
|
|
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
install -m644 memtest.bin $RPM_BUILD_ROOT/boot/memtest86+-%{version}
|
|
install -m755 %{SOURCE1} $RPM_BUILD_ROOT/sbin/new-memtest-pkg
|
|
install -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/memtest-setup
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
/boot/memtest86+-%{version}
|
|
/sbin/new-memtest-pkg
|
|
%{_sbindir}/memtest-setup
|
|
|
|
%preun
|
|
/sbin/new-memtest-pkg --remove %{version}
|
|
|
|
%changelog
|
|
* Thu Feb 08 2007 Florian La Roche <laroche@redhat.com> - 1.70-1
|
|
- update to 1.70
|
|
|
|
* Sat Feb 03 2007 Warren Togami <wtogami@redhat.com> - 1.65-6
|
|
- some spec cleanups (#226135)
|
|
- remove old Obsoletes
|
|
|
|
* Tue Jun 27 2006 Florian La Roche <laroche@redhat.com> - 1.65-4
|
|
- make sure coreutils is installed for the preun script
|
|
|
|
* Thu Jun 08 2006 Jesse Keating <jkeating@redhat.com> - 1.65-3
|
|
- rebuilt for new buildsystem
|
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.65-2.2
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt
|
|
|
|
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
|
|
- make sure 32bit glibc-devel is installed (#170614)
|
|
|
|
* Sat Oct 01 2005 Warren Togami <wtogami@redhat.com> - 1.65-1
|
|
- 1.65
|
|
|
|
* Wed Jun 29 2005 Warren Togami <wtogami@redhat.com> - 1.60-1
|
|
- 1.60
|
|
|
|
* Mon Mar 28 2005 Warren Togami <wtogami@redhat.com> - 1.55.1-1
|
|
- 1.55.1 fixes K8
|
|
|
|
* Sun Mar 27 2005 Warren Togami <wtogami@redhat.com> - 1.55-1
|
|
- 1.55
|
|
|
|
* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Sat Feb 19 2005 Warren Togami <wtogami@redhat.com> - 1.51-1
|
|
- 1.51
|
|
|
|
* Fri Jan 21 2005 Warren Togami <wtogami@redhat.com> - 1.50-1
|
|
- 1.50
|
|
|
|
* Sun Nov 28 2004 Warren Togami <wtogami@redhat.com> - 1.40-1
|
|
- 1.40
|
|
- remove arch patch, now upstream
|
|
|
|
* Tue Oct 26 2004 Warren Togami <wtogami@redhat.com> - 1.27-1
|
|
- 1.27
|
|
|
|
* Mon Oct 25 2004 Jeremy Katz <katzj@redhat.com> - 1.26-3
|
|
- allow building on all x86 arches
|
|
- pass appropriate compiler options to build on x86_64 as well (#136939)
|
|
|
|
* Wed Sep 02 2004 Warren Togami <wtogami@redhat.com> 1.26-1
|
|
- update to 1.26
|
|
|
|
* Sat Aug 28 2004 Warren Togami <wtogami@redhat.com> 1.25-1
|
|
- update to 1.25
|
|
|
|
* Mon Jun 28 2004 Warren Togami <wtogami@redhat.com>
|
|
- update to 1.20
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Sun May 16 2004 Warren Togami <wtogami@redhat.com> 1.15-1
|
|
- update to 1.15
|
|
|
|
* Sun Feb 29 2004 Warren Togami <wtogami@redhat.com> 1.11-2
|
|
- switch to memtest86+ 1.11
|
|
- add boot loader setup script
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Oct 21 2003 Mike A. Harris <mharris@redhat.com> 3.0-3
|
|
- Pedantic spec file cleanups - s/Copyright/License/ and use _libdir instead of
|
|
/usr/lib everywhere (even though it's currently x86 only)
|
|
|
|
* Tue Oct 21 2003 Jeremy Katz <katzj@redhat.com> 3.0-2
|
|
- fix perms (#107610)
|
|
- doesn't really require dev86 to build
|
|
|
|
* Thu Jul 21 2003 Michael Fulbright <msf@redhat.com>
|
|
- initial integration into distribution. Removed the scripts to install a
|
|
entry in the boot loader for memtest for the moment, and relocated to under
|
|
/usr/lib.
|
|
|
|
* Thu Apr 17 2003 Joe Szep <jszep@bu.edu>
|
|
- rebuilt for Doolittle final
|
|
|
|
* Mon Feb 3 2003 Matthew Miller <mattdm@bu.edu>
|
|
- rebuild for doolittle
|
|
- patches to make build -- new gcc growing pains, I guess
|
|
|
|
* Tue Jul 30 2002 Matthew Miller <mattdm@bu.edu>
|
|
- added grubby stuff
|
|
|
|
* Tue Jul 30 2002 Dave Heistand <davidbh@bu.edu>
|
|
- updated source to v 3
|
|
|
|
* Thu Mar 7 2002 Dave Heistand <davidbh@bu.edu>
|
|
- updated source to 2.9, also changed setup -n
|
|
- to use %{version}.
|
|
|
|
* Thu Nov 1 2001 Matthew Miller <mattdm@bu.edu>
|
|
- v 2.8a
|
|
- removed lilo-configuring scripts. need to figure out the best way to
|
|
work with grub and RH 7.2 / BU Linux 2.5
|
|
- group -> System Environment/Base
|
|
|
|
* Mon Aug 20 2001 Matthew Miller <mattdm@bu.edu>
|
|
- v 2.7
|
|
|
|
* Wed Feb 14 2001 Matthew Miller <mattdm@bu.edu>
|
|
- v 2.5
|
|
|
|
* Fri Oct 06 2000 Matthew Miller <mattdm@bu.edu>
|
|
- v 2.4
|
|
|
|
* Thu Mar 23 2000 Matthew Miller <mattdm@bu.edu>
|
|
- changed so that lilo.conf isn't written if it already exists. This is
|
|
important if you're including memtest86 in a distribution
|
|
- GPG key available from http://www.bu.edu/dsgsupport/linux/BULinux-GPG-KEY
|
|
- changed name of lilo.conf backup file to something less likely to conflict
|
|
with other backups
|
|
|
|
* Wed Mar 01 2000 Matthew Miller <mattdm@bu.edu>
|
|
- Updated to version 2.2
|
|
- Cosmetic changes to spec file
|
|
- updated Source: to reflect actual author's url
|
|
|
|
* Fri Dec 25 1998 Peter Soos <sp@osb.hu>
|
|
|
|
- Corrected the file attributes
|
|
|
|
* Mon Aug 17 1998 Peter Soos <sp@osb.hu>
|
|
|
|
- Moved to 1.4a
|
|
|
|
* Mon Jun 22 1998 Peter Soos <sp@osb.hu>
|
|
|
|
- Moved to 1.4
|
|
|
|
* Wed Dec 31 1997 Peter Soos <sp@osb.hu>
|
|
|
|
- Initial version
|