nvme-cli/nvme-cli.spec

82 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: nvme-cli
Version: 1.15
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: libsystemd-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
%description
NVM-Express user space tooling for Linux.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
UDEVRULESDIR=%{_udevrulesdir} \
DRACUTDIR=%{_prefix}/lib/dracut \
SYSTEMDDIR=%{_systemd_util_dir}
%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
* 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