Repository URL to install this package:
|
Version:
4.1.94 ▾
|
%define name %{getenv:TVAULT_PACKAGE}
%define version %{getenv:TVAULT_VERSION}
%define release %{getenv:TVAULT_RELEASE}
Summary: TrilioData workloadmgrclient
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: http://www.trilio.io/
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: TrilioData, Inc <support@trilio.io>
BuildRequires: systemd
Requires: python-pbr python-prettytable python2-requests python2-simplejson python2-six pytz PyYAML python2-pyOpenSSL python2-openstackclient
%description
Python client for Workloadmgr service
=================
TrilioVault is a backup and recovery as service for OpenStack clouds.
Documentation
- https://doc.trilio.io/
.. For Support https://support.trilio.io
%prep
%setup -n %{name}-%{version} -n %{name}-%{version}
%pre
rm -rf /usr/lib/python2.7/site-packages/workloadmgrclient-*.egg-info
rm -rf /usr/lib64/python2.7/site-packages/workloadmgrclient-*.egg-info
%build
python setup.py build
%install
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
mkdir -p %{buildroot}%{_unitdir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)