nvme-cli/nvme-cli.spec
2019-12-14 21:07:36 +08:00

38 lines
757 B
RPMSpec

Name: nvme-cli
Version: 1.6
Release: 2
Summary: NVMe management command line interface
License: GPLv2+
URL: https://github.com/linux-nvme/nvme-cli
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
BuildRequires: libuuid-devel gcc
%description
nvme-cli provides NVM-Express user space tooling for Linux.
%package_help
%prep
%autosetup -p1
%build
%make_build PREFIX=%{_prefix} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
%install
%make_install PREFIX=%{_prefix}
%files
%license LICENSE
%{_sbindir}/nvme
%{_datadir}/bash_completion.d/nvme
%files help
%doc README.md
%{_mandir}/man1/nvme*.gz
%changelog
* Tue Nov 19 2019 mengxian@huawei.com - 1.6-2
- Package init