2024-01-06 07:47:50 +01:00
|
|
|
Name: nvme-cli
|
2024-01-06 07:47:50 +01:00
|
|
|
Version: 1.15
|
2024-01-06 07:47:50 +01:00
|
|
|
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>
|
2024-01-06 07:47:50 +01:00
|
|
|
URL: https://github.com/linux-nvme/nvme-cli
|
2024-01-06 07:47:50 +01:00
|
|
|
Source: https://github.com/linux-nvme/nvme-cli.git/v%{version}/nvme-cli-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 07:47:50 +01:00
|
|
|
BuildRequires: libjson-c-devel
|
2024-01-06 07:47:50 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
NVM-Express user space tooling for Linux.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
2024-01-06 07:47:50 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
UDEVRULESDIR=%{_udevrulesdir} \
|
|
|
|
DRACUTDIR=%{_prefix}/lib/dracut \
|
|
|
|
SYSTEMDDIR=%{_systemd_util_dir}
|
|
|
|
|
2024-01-06 07:47:50 +01:00
|
|
|
%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
|
|
|
|
%{_sysconfdir}/nvme/hostid
|
|
|
|
%{_sysconfdir}/nvme/hostnqn
|
|
|
|
%{_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
|
2024-01-06 07:47:50 +01:00
|
|
|
* Sat Aug 07 2021 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:47:50 +01:00
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:47:50 +01:00
|
|
|
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
|
|
|
- package created using the webbuild interface
|