blob: ba83f4bc22af39ee28a50df352b0224ef6c8dee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
%define oname targetcli
Name: targetcli
License: AGPLv3
Group: Applications/System
Summary: RisingTide Systems generic SCSI target CLI shell.
Version: VERSION
Release: 1%{?dist}
URL: http://www.risingtidesystems.com/git/
Source: %{oname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot
BuildArch: noarch
BuildRequires: python-devel, python-rtslib, python-configshell
Requires: python-rtslib, python-configshell, lio-utils
Vendor: RisingTide Systems
%description
RisingTide Systems generic SCSI target CLI shell.
%prep
%setup -q -n %{oname}-%{version}
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root=%{buildroot} --prefix=usr
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}
%{_bindir}/targetcli
%doc COPYING README
%changelog
|