Change-Id: Ie3e4746f82678f80aaa547211bfb331eee99d8d7
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2375
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,45 @@ |
| 0 |
+Summary: Hardware lister |
|
| 1 |
+Name: lshw |
|
| 2 |
+Version: B.02.18 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: GPLv2 |
|
| 5 |
+URL: http://ezix.org/project/wiki/HardwareLiSter |
|
| 6 |
+Source0: http://www.ezix.org/software/files/%{name}-%{version}.tar.gz
|
|
| 7 |
+%define sha1 lshw=c0240f5e53cf40769d52e316719e8010ea6bdea3 |
|
| 8 |
+Group: Applications/System |
|
| 9 |
+Vendor: VMware, Inc. |
|
| 10 |
+Distribution: Photon |
|
| 11 |
+ |
|
| 12 |
+%description |
|
| 13 |
+lshw is a small tool to provide detailed informaton on the hardware |
|
| 14 |
+configuration of the machine. It can report exact memory configuration, |
|
| 15 |
+firmware version, mainboard configuration, CPU version and speed, cache |
|
| 16 |
+configuration, bus speed, etc. Information can be displayed in plain text, |
|
| 17 |
+XML or HTML. |
|
| 18 |
+ |
|
| 19 |
+%package docs |
|
| 20 |
+Summary: lshw docs |
|
| 21 |
+Group: Applications/System |
|
| 22 |
+%description docs |
|
| 23 |
+The package contains lshw doc files. |
|
| 24 |
+ |
|
| 25 |
+%prep |
|
| 26 |
+%setup -q |
|
| 27 |
+ |
|
| 28 |
+%build |
|
| 29 |
+make %{?_smp_mflags}
|
|
| 30 |
+ |
|
| 31 |
+%install |
|
| 32 |
+make DESTDIR=%{buildroot} install
|
|
| 33 |
+ |
|
| 34 |
+%files |
|
| 35 |
+%defattr(-,root,root) |
|
| 36 |
+%{_sbindir}/lshw
|
|
| 37 |
+ |
|
| 38 |
+%files docs |
|
| 39 |
+%defattr(-,root,root) |
|
| 40 |
+/usr/share/* |
|
| 41 |
+ |
|
| 42 |
+%changelog |
|
| 43 |
+* Tue Apr 11 2017 Vinay Kulkarni <kulkarniv@vmware.com> B.02.18-1 |
|
| 44 |
+- Initial version of lshw package for Photon. |