File memtester.spec of Package memtester
#
# spec file for package memtester
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Peter Conrad
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: memtester
Version: 4.6.0
Release: 0
Summary: Userspace utility for testing the memory subsystem
License: GPL-2.0
Group: Hardware/Other
Url: https://pyropus.ca/software/memtester/
Source: https://pyropus.ca/software/memtester/old-versions/%{name}-%{version}.tar.gz
BuildRequires: dos2unix
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A userspace utility for testing the memory subsystem for faults.
For hardware developers, memtester can be told to test memory starting at a
particular physical address as of memtester version 4.1.0.
%prep
%setup -q
dos2unix BUGS
%build
sed -i 's/$/ %{optflags}/' conf-*
make %{?_smp_mflags}
%install
install -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -D -m 0644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
%files
%defattr(-,root,root,-)
%doc BUGS CHANGELOG COPYING README*
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8.*
%changelog