integ/python/python-3parclient/centos/python-3parclient.spec
Dean Troyer 3cd12006bb StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:35 -07:00

36 lines
807 B
RPMSpec

%define name python-3parclient
%define version 4.2.3
Summary: HPE 3PAR HTTP REST Client
Name: %{name}
Version: %{version}
Release: 0%{?_tis_dist}.%{tis_patch_ver}
Source0: %{name}-%{version}.tar.gz
License: Apache License, Version 2.0
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Walter A. Boring IV <walter.boring@hpe.com>
Url: http://packages.python.org/python-3parclient
BuildRequires: python2-devel
BuildRequires: python-setuptools
%description
HPE 3PAR HTTP REST Client
%prep
%setup -q
%build
%{__python2} setup.py build
%install
%{__python2} setup.py install -O1 --skip-build --root %{buildroot} --record=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)