package created using the webbuild interface [release 1.13-1mamba;Sat Dec 26 2020]
This commit is contained in:
parent
886dd99e33
commit
882ffc92eb
@ -1,2 +1,4 @@
|
|||||||
# nvme-cli
|
# nvme-cli
|
||||||
|
|
||||||
|
NVM-Express user space tooling for Linux.
|
||||||
|
|
||||||
|
76
nvme-cli.spec
Normal file
76
nvme-cli.spec
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
Name: nvme-cli
|
||||||
|
Version: 1.13
|
||||||
|
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.git
|
||||||
|
Source: https://github.com/linux-nvme/nvme-cli.git/v%{version}/nvme-cli-%{version}.tar.bz2
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
NVM-Express user space tooling for Linux.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_preun nvmf-autoconnect
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun nvmf-autoconnect
|
||||||
|
:
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post nvmf-autoconnect
|
||||||
|
:
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall \
|
||||||
|
PREFIX=%{_prefix} \
|
||||||
|
LIBDIR=%{_libdir} \
|
||||||
|
UDEVRULESDIR=%{_udevrulesdir} \
|
||||||
|
DRACUTDIR=%{_prefix}/lib/dracut \
|
||||||
|
SYSTEMDDIR=/lib/systemd
|
||||||
|
|
||||||
|
%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 Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user