# FIXME: noarch or generate debuginfo
%define debug_package %{nil}
Summary: command line utility to set and view hardware parameters
Name: hdparm
Version: 9.51
Release: 1%{?dist}
License: BSD
URL: http://sourceforge.net/projects/%{name}/
Source0: http://downloads.sourceforge.net/hdparm/%{name}-%{version}.tar.gz
%define sha1 hdparm=cc9dc4cbaa00f7534988c37111be8e2c6e81cf73
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
%description
The Hdparm package contains a utility that is useful for controlling ATA/IDE
controllers and hard drives both to increase performance and sometimes to increase stability.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} binprefix=%{_prefix} install
%check
make %{?_smp_mflags} check
%files
%defattr(-,root,root)
%{_sbindir}/hdparm
%{_mandir}/man8/hdparm.8*
%changelog
* Wed Jan 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 9.51-1
- Initial build. First version