forked from nvmecompliance/tnvme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtnvme.spec
41 lines (30 loc) · 764 Bytes
/
tnvme.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%define _distro %(uname -r)
Name: tnvme
Version: %{_major}.%{_minor}
Release: 1%{?dist}
Summary: NVM Express hardware compliance test suite application
Group: Applications/Engineering
License: Commercial
URL: http://www.intel.com
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
NVM Express hardware compliance test suite application.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(755,root,root,755)
%{_bindir}/%{name}
%post
%preun
%postun
%changelog