Blob Blame History Raw
Name:           nvmetcli
License:        Apache License 2.0
Group:          Applications/System
Summary:        Command line interface for the kernel NVMe nvmet
Version: 0.6
Release:        1%{?dist}
Source:         nvmetcli-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-rpmroot
BuildArch:      noarch
BuildRequires:  python-devel python-setuptools systemd-units
Requires:	python-configshell python-kmod python-six
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd

This package contains the command line interface to the NVMe over Fabrics
nvmet in the Linux kernel.  It allows configuring the nvmet interactively
as well as saving / restoring the configuration to / from a json file.

%setup -q -n nvmetcli-%{version}

%{__python} build

rm -rf %{buildroot}
%{__python} install --skip-build --root=%{buildroot} --prefix=usr
mkdir -p %{buildroot}%{_sysconfdir}/nvmet
mkdir -p %{buildroot}%{_unitdir}
install -m 644 nvmet.service %{buildroot}%{_unitdir}/nvmet.service

rm -rf %{buildroot}

%systemd_post nvmet.service

%systemd_preun nvmet.service

%systemd_postun_with_restart nvmet.service

%dir %{_sysconfdir}/nvmet

* Mon Jan 22 2018 Christoph Hellwig <> 0.6-1
  - Generated from git commit 9d51ae651a1c39a83b0192fbbe1e400abf3a0409.