2017-02-23 22:32:59 +00:00
|
|
|
Name: nvmetcli
|
|
|
|
License: ASL 2.0
|
|
|
|
Summary: An adminstration shell for NVMe storage targets
|
2017-05-09 19:31:25 +00:00
|
|
|
Version: 0.4
|
2020-07-28 12:00:48 +00:00
|
|
|
Release: 12%{?dist}
|
2017-02-23 22:32:59 +00:00
|
|
|
URL: ftp://ftp.infradead.org/pub/nvmetcli/
|
|
|
|
Source: ftp://ftp.infradead.org/pub/nvmetcli/%{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2021-01-13 01:31:35 +00:00
|
|
|
BuildRequires: make
|
2017-02-23 22:32:59 +00:00
|
|
|
BuildRequires: python3-devel python3-setuptools systemd-units asciidoc xmlto
|
|
|
|
Requires: python3-configshell python3-kmod
|
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python3} setup.py build
|
|
|
|
cd Documentation
|
|
|
|
make
|
|
|
|
gzip --stdout nvmetcli.8 > nvmetcli.8.gz
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/nvmet
|
|
|
|
install -m 644 nvmet.service %{buildroot}%{_unitdir}/nvmet.service
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man8/
|
|
|
|
install -m 644 Documentation/nvmetcli.8.gz %{buildroot}%{_mandir}/man8/
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post nvmet.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun nvmet.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart nvmet.service
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
%dir %{_sysconfdir}/nvmet
|
2017-05-09 19:31:25 +00:00
|
|
|
%{_sbindir}/nvmetcli
|
2017-02-23 22:32:59 +00:00
|
|
|
%{_unitdir}/nvmet.service
|
|
|
|
%doc README
|
|
|
|
%license COPYING
|
|
|
|
%{_mandir}/man8/nvmetcli.8.gz
|
|
|
|
|
|
|
|
%changelog
|
2020-07-28 12:00:48 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-26 00:54:30 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4-11
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-01-29 19:23:29 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 11:57:29 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-9
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:20:59 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4-8
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-25 22:43:06 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 16:40:59 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 14:37:12 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:48:41 +00:00
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4-4
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-08 08:39:29 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:22:35 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-09 19:31:25 +00:00
|
|
|
* Tue May 9 2017 Andy Grover <agrover@redhat.com> - 0.4-1
|
|
|
|
- Update for new upstream release
|
|
|
|
- Remove fix-setup.patch
|
|
|
|
|
2017-02-23 22:32:59 +00:00
|
|
|
* Tue Feb 21 2017 Andy Grover <agrover@redhat.com> - 0.3-1
|
|
|
|
- Update for new upstream release
|
|
|
|
|
|
|
|
* Wed Oct 12 2016 Andy Grover <agrover@redhat.com> - 0.2-1
|
|
|
|
- Initial packaging
|