Browse code

Adding hdparm package

Change-Id: Iba30a767ce7e2370f1413ecba3e90c4ca68c6b88
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2026
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>

DheerajSShetty authored on 2017/01/28 08:20:23
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
0
+Summary:	command line utility to set and view hardware parameters
1
+Name:		hdparm
2
+Version:	9.51
3
+Release:	1%{?dist}
4
+License:	BSD
5
+URL:		http://sourceforge.net/projects/%{name}/
6
+Source0:	http://downloads.sourceforge.net/hdparm/%{name}-%{version}.tar.gz
7
+%define sha1 hdparm=cc9dc4cbaa00f7534988c37111be8e2c6e81cf73
8
+Group:		Applications/System
9
+Vendor:		VMware, Inc.
10
+Distribution: 	Photon
11
+
12
+%description
13
+The Hdparm package contains a utility that is useful for controlling ATA/IDE
14
+controllers and hard drives both to increase performance and sometimes to increase stability.
15
+
16
+%prep
17
+%setup -q
18
+%build
19
+make %{?_smp_mflags}
20
+%install
21
+make DESTDIR=%{buildroot} binprefix=%{_prefix} install
22
+
23
+%check
24
+make %{?_smp_mflags} check
25
+
26
+%files
27
+%defattr(-,root,root)
28
+%{_sbindir}/hdparm
29
+%{_mandir}/man8/hdparm.8*
30
+%changelog
31
+*	Wed Jan 25 2017 Dheeraj Shetty <dheerajs@vmware.com> 9.51-1
32
+-	Initial build. First version