1 Star 0 Fork 14

panchenbo/nvme-cli

forked from src-openEuler/nvme-cli 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nvme-cli.spec 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
panchenbo 提交于 2024-03-21 17:35 . Update to version 2.8
Name: nvme-cli
Version: 2.8
Release: 1
Summary: NVMe management command line interface
License: GPLv2+
URL: https://github.com/linux-nvme/nvme-cli
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
Requires: libnvme
BuildRequires: gcc-g++
BuildRequires: libnvme-devel
BuildRequires: make
BuildRequires: meson
BuildRequires: systemd
BuildRequires: zlib-devel
%description
nvme-cli provides NVM-Express user space tooling for Linux.
%package_help
%prep
%autosetup -p1
%build
%meson -Ddocs=man -Dsystemddir=%{_unitdir} -Dudevrulesdir=%{_udevrulesdir}
%meson_build
%install
%meson_install
# hostid and hostnqn are supposed to be unique per machine. We obviously
# can't package them.
rm -f %{buildroot}%{_sysconfdir}/nvme/hostid
rm -f %{buildroot}%{_sysconfdir}/nvme/hostnqn
# Do not install the dracut rule yet. See rhbz 1742764
rm -f %{buildroot}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf
%files
%license LICENSE
%{_sbindir}/nvme
%{_datadir}/bash-completion/completions/nvme
%{_datadir}/zsh/site-functions/_nvme
%dir %{_sysconfdir}/nvme
%{_sysconfdir}/nvme/discovery.conf
%{_unitdir}/nvmefc-boot-connections.service
%{_unitdir}/nvmf-autoconnect.service
%{_unitdir}/nvmf-connect.target
%{_unitdir}/[email protected]
%{_unitdir}/nvmf-connect-nbft.service
%{_udevrulesdir}/70-nvmf-autoconnect.rules
%{_udevrulesdir}/71-nvmf-netapp.rules
%{_udevrulesdir}/65-persistent-net-nbft.rules
%files help
%doc README.md
%{_mandir}/man1/nvme*.gz
%changelog
* Thu Mar 21 2024 panchenbo <[email protected]> - 2.8-1
- Update to version 2.8
* Thu Feb 9 2023 Hongtao Zhang <[email protected]> - 2.2.1-2
- Fix meson build failed
* Mon Dec 19 2022 Qiang Wei <[email protected]> - 2.2.1-1
- Update to version 2.2.1.
* Remove 0001-bash-Fix-nvme-completion.patch, it is fixed in upstream.
* backport upstream patch: Bash completion: move global declare into function.
* Sat Oct 8 2022 zhanghongtao <[email protected]> - 1.16-2
- bash Fix nvme completion
* Wed Dec 29 2021 baizhonggui <[email protected]> - 1.16-1
- update to 1.16
* Tue Nov 19 2019 [email protected] - 1.6-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/panchenbo/nvme-cli.git
[email protected]:panchenbo/nvme-cli.git
panchenbo
nvme-cli
nvme-cli
master

搜索帮助