5 Star 0 Fork 4

OpenCloudOS Stream/targetcli

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
targetcli.spec 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
%global oname targetcli-fb
Summary: An administration shell for storage targets
Name: targetcli
Version: 2.1.57
Release: 3%{?dist}
License: ASL 2.0
URL: https://github.com/open-iscsi/%{oname}
Source0: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools systemd-rpm-macros
Requires: python3-rtslib target-restore python3-configshell python3-six python3-dbus python3-gobject-base
BuildArch: noarch
%description
An administration shell for configuring iSCSI, FCoE, and other SCSI targets, using the TCM/LIO
kernel target subsystem. FCoE users will also need to install and use fcoe-utils.
%prep
%autosetup -n %{oname}-%{version}
%build
%py3_build
%install
%py3_install
mkdir -p %{buildroot}%{_sysconfdir}/target/backup
mkdir -p %{buildroot}%{_mandir}/man8/
install -m 644 targetcli*.8 %{buildroot}%{_mandir}/man8/
mkdir -p %{buildroot}%{_unitdir}/
install -m 644 systemd/* %{buildroot}%{_unitdir}/
%files
%license COPYING
%doc README.md
%{_unitdir}/*
%{python3_sitelib}/targetcli*
%{_bindir}/targetcli
%{_bindir}/targetclid
%dir %{_sysconfdir}/target
%dir %{_sysconfdir}/target/backup
%{_mandir}/man8/targetcli*.8*
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.57-3
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.57-2
- Rebuilt for loongarch release
* Wed Jan 03 2024 Upgrade Robot <upbot@opencloudos.org> - 2.1.57-1
- Upgrade to version 2.1.57
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.54-5
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.54-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.54-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.1.54-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Mar 21 2023 Shuo Wang <abushwang@tencent.com> - 2.1.54-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/targetcli.git
git@gitee.com:opencloudos-stream/targetcli.git
opencloudos-stream
targetcli
targetcli
master

搜索帮助