Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
python-rtslib
python-rtslib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-rtslib.spec of Package python-rtslib
# # spec file for package python-rtslib # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-rtslib Version: 2.2 Release: 0 Summary: API for Linux kernel SCSI target (aka LIO) License: Apache-2.0 Group: Development/Languages/Python %define oname rtslib Url: https://github.com/Datera/rtslib Source: %{oname}-%{version}.tar.bz2 Patch0: %{oname}-git-update.patch Patch1: %{oname}-set-git-version-for-sle12.patch Patch2: %{oname}-add-prot-info-attributes.patch Patch3: %{oname}-add-iblock-backstore-policy.patch Patch4: %{oname}-mount-configfs-fix.patch Patch5: %{oname}-fix_support_for_disabled_tpgs.patch Patch6: %{oname}-fb-rbd-support.patch Patch7: %{oname}-load-rbd-mod-on-startup.patch Patch8: %{oname}-fix-64bit-SIOCGIFCONF-unmarshalling.patch Patch9: %{oname}-add-qla2xxx_wwn-wwn-type Patch10: %{oname}-fix-iqn-wwn.patch Patch11: %{oname}-add-nvme-support.patch Patch12: 0001-Add-support-for-xen-scsiback.patch Patch13: %{oname}-validate-fc_wwn.patch Patch14: %{oname}-disallow-upper-case-iqn-names.patch Patch15: %{oname}-fix-parse-error-with-new-pyparsing.patch Patch16: %{oname}-add-srpt_wwn-wwn-type.patch Requires: python-configobj Requires: python-ipaddr Requires: python-netifaces Requires: python-pyparsing BuildRequires: python-configobj BuildRequires: python-devel BuildRequires: python-ipaddr BuildRequires: python-netifaces BuildRequires: python-pyparsing BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build # explicit Provides advertising RBD support Provides: %{name}-rbd = %{version} Obsoletes: %{name}-rbd < %{version} Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description RTSlib is a Python library that provides an API to the LIO Linux SCSI Target, and its third-party target fabric modules and backend storage objects. RTSlib was developed by Datera, Inc. (www.daterainc.com). It is useful for developing 3rd-party applications, and as a foundation for the Datera userspace tools. For more information, please see the targetcli User's Guide at: http://linux-iscsi.org/wiki/targetcli and the RTSlib API Reference Guide at: http://linux-iscsi.org/Doc/rtslib/html http://linux-iscsi.org/Doc/rtslib/rtslib-API-reference.pdf %prep %setup -q -n %{oname}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %build python setup.py build %install %define _vardir /var/target python setup.py install --prefix=%{_prefix} --root=%{buildroot} install -vd -m 755 $RPM_BUILD_ROOT%{_vardir} install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/pr install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/alua install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/fabric install -v -m 644 specs/*.spec $RPM_BUILD_ROOT%{_vardir}/fabric/ install -vd -m 755 $RPM_BUILD_ROOT%{_vardir}/policy install -v -m 644 policy/*.lio $RPM_BUILD_ROOT%{_vardir}/policy/ %files %defattr(-,root,root,-) %doc README.md COPYING %{python_sitelib}/* %dir %{_vardir} %dir %{_vardir}/pr %dir %{_vardir}/alua %dir %{_vardir}/fabric %{_vardir}/fabric/* %dir %{_vardir}/policy %{_vardir}/policy/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor