85 lines
2.2 KiB
RPMSpec
85 lines
2.2 KiB
RPMSpec
Name: nvme-cli
|
|
Version: 2.6
|
|
Release: 1mamba
|
|
Summary: NVM-Express user space tooling for Linux
|
|
Group: System/Kernel and Hardware
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/linux-nvme/nvme-cli
|
|
Source: https://github.com/linux-nvme/nvme-cli.git/v%{version}/nvme-cli-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libjson-c-devel
|
|
BuildRequires: libnvme-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
NVM-Express user space tooling for Linux.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%preun
|
|
%systemd_preun nvmf-autoconnect
|
|
:
|
|
|
|
%postun
|
|
%systemd_postun nvmf-autoconnect
|
|
:
|
|
|
|
%post
|
|
%systemd_post nvmf-autoconnect
|
|
:
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_sysconfdir}/nvme
|
|
%config(noreplace) %{_sysconfdir}/nvme/discovery.conf
|
|
%{_sbindir}/nvme
|
|
%{_prefix}/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
|
|
%{_unitdir}/nvmefc-boot-connections.service
|
|
%{_unitdir}/nvmf-autoconnect.service
|
|
%{_unitdir}/nvmf-connect.target
|
|
%{_unitdir}/nvmf-connect@.service
|
|
%{_udevrulesdir}/70-nvmf-autoconnect.rules
|
|
%{_udevrulesdir}/71-nvmf-iopolicy-netapp.rules
|
|
%{_datadir}/bash-completion/completions/nvme
|
|
%{_datadir}/zsh/site-functions/_nvme
|
|
#%{_mandir}/man1/nvme*.1*
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Sat Sep 30 2023 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 21 2023 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Nov 14 2021 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 07 2021 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
|
- package created using the webbuild interface
|