58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
Name: targetcli
|
|
License: ASL 2.0
|
|
Summary: Generic SCSI target CLI shell
|
|
Version: 2.1.54
|
|
Release: 1
|
|
URL: https://github.com/open-iscsi/targetcli-fb
|
|
Source: https://github.com/open-iscsi/targetcli-fb/archive/v%{version}/targetcli-fb-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel python3-setuptools systemd
|
|
Requires: python3-rtslib target-restore python3-configshell python3-six python3-dbus python3-gobject-base
|
|
|
|
%description
|
|
Targetcli is an administration tool for managing storage targets
|
|
using the kernel LIO core target and compatible target fabric modules.
|
|
|
|
%package help
|
|
Summary: Help document for the %{name} package
|
|
|
|
%description help
|
|
Help document for the %{name} package.
|
|
|
|
%prep
|
|
%setup -q -n targetcli-fb-%{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
|
|
%doc README.md
|
|
%license COPYING
|
|
%{python3_sitelib}/targetcli*
|
|
%{_bindir}/targetcli
|
|
%{_bindir}/targetclid
|
|
%{_unitdir}/*
|
|
%dir %{_sysconfdir}/target
|
|
%dir %{_sysconfdir}/target/backup
|
|
|
|
%files help
|
|
%{_mandir}/man8/targetcli*.8*
|
|
|
|
%changelog
|
|
* Wed Dec 29 2021 wulei <wulei80@huawei.com> - 2.1.54-1
|
|
- Package update
|
|
|
|
* Wed Jul 15 2020 wangyue <wangyue92@huawei.com> - 2.1.fb48-10
|
|
- fix unexpected error raised when adding luns
|
|
|
|
* Fri Feb 14 2020 lingsheng <lingsheng@huawei.com> - 2.1.fb48-9
|
|
- Package int
|