Browse code

Add nvme cli package

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

suezzelur authored on 2018/06/22 05:35:09
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,34 @@
0
+Name:          nvme-cli
1
+Summary:       NVM-Express user space tooling for Linux
2
+Version:       1.5
3
+Release:       1%{?dist}
4
+Group:         Applications/System
5
+Vendor:        VMware, Inc.
6
+Distribution:  Photon
7
+License:       GPLv2
8
+URL:           https://github.com/linux-nvme/nvme-cli
9
+BuildArch:     x86_64
10
+Source0:       %{name}-%{version}.tar.gz
11
+%define sha1   nvme-cli=16864b2df623e822ba2a69b0d5caa8b3f190acf0
12
+
13
+%description
14
+NVM-Express user space tooling for Linux
15
+
16
+%prep
17
+%setup -q
18
+
19
+%build
20
+make
21
+
22
+%install
23
+make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
24
+
25
+%files
26
+%defattr(-,root,root)
27
+%{_sbindir}/nvme
28
+%{_datadir}/*
29
+%{_mandir}/man1/*
30
+
31
+%changelog
32
+*  Thu Jun 14 2018 Anish Swaminathan <anishs@vmware.com> 1.5-1
33
+-  Initial build