Репозиторий Sisyphus
Последнее обновление: 28 ноября 2022 | Пакетов: 17931 | Посещений: 25412428
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: targetcli

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 


Name:           targetcli
License:        ASL 2.0
Group:          System/Libraries
Summary:        An administration shell for storage targets
Version:        2.1.fb49
Release:        alt1
URL:             https://github.com/open-iscsi/targetcli-fb
Source:         %name-%version.tar
BuildArch:      noarch

Requires: target-restore
Requires: python3-module-%name = %EVR

BuildRequires: python-devel python-module-setuptools

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools

%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.

%package -n python-module-%name
Summary:        An administration shell for storage targets
Group:          Development/Python

%description -n python-module-%name
An administration shell for storage targets

%package -n python3-module-%name
Summary:        An administration shell for storage targets
Group:          Development/Python3

%description -n python3-module-%name
An administration shell for storage targets


%prep
%setup

sed -i "s/__version__ = .*/__version__ = '%version'/g" \
%name/__init__.py

rm -rf ../python3
cp -a . ../python3

%build
%python_build
bzip2 --stdout targetcli.8 > targetcli.8.bz2

pushd ../python3
%python3_build
popd

%install
%python_install

pushd ../python3
%python3_install
popd

mkdir -p %buildroot%_man8dir/
install -m 644 targetcli.8.bz2 %buildroot%_man8dir/

%files
%_bindir/targetcli
%doc COPYING README.md
%_man8dir/targetcli.8.*

%files -n python-module-%name
%python_sitelibdir/*

%files -n python3-module-%name
%python3_sitelibdir/*


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin