memtest86Plus/memtest86+.spec

81 lines
2.5 KiB
RPMSpec

Name: memtest86+
Version: 5.31b
Release: 1mamba
Summary: Thorough, stand alone memory test for x86 architecture computers
Group: System/Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.memtest.org/
Source: http://www.memtest.org/download/%{version}/memtest86+-%{version}.bin.gz
#Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz
Source1: memtest86+-grub
Patch0: memtest86+-5.01-Makefile.patch
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
Based on the well-known original memtest86 written by Chris Brady, memtest86+ is a port by some members of the x86-secret team.
Our goal is to provide an up-to-date and completly reliable version of this software tool aimed at memory failures detection.
%prep
%setup -q -c -T
#% patch0 -p1
%build
cp %{SOURCE0} .
gunzip memtest86+-%{version}.bin.gz
#% make LD=ld.bfd
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -D memtest86+-%{version}.bin %{buildroot}/boot/memtest86+.bin
install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/grub.d/20_memtest86+
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%posttrans
if [ $1 -ge 0 ]; then
update-grub
fi
:
%files
%defattr(-,root,root)
%{_sysconfdir}/grub.d/20_memtest86+
/boot/memtest86+.bin
%changelog
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 5.31b-1mamba
- automatic update by autodist
* Tue Feb 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.01-3mamba
- added grub.d file and run update-grub
- switch to prebuilt binary
* Wed Apr 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 5.01-2mamba
- force build with ld.bfd
* Tue Nov 19 2013 Automatic Build System <autodist@mambasoft.it> 5.01-1mamba
- automatic version update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 4.20-1mamba
- automatic version update by autodist
* Wed Jul 11 2012 Automatic Build System <autodist@mambasoft.it> 4.10-1mamba
- automatic version update by autodist
* Sat Feb 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.00-1mamba
- update to 4.00
* Thu Sep 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.70-2mamba
- specfile updates for openmamba
* Wed Jan 17 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.70-1qilnx
- update to version 1.70 by autospec
* Wed Mar 02 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.51-1qilnx
- package created by autospec