| 1 |
Name: cvprac |
| 2 |
Version: Replaced_by_make |
| 3 |
Release: 1%{?dist} |
| 4 |
Summary: REST API client for communicating with an Arista Cloudvision(R) Portal node. |
| 5 |
|
| 6 |
Group: Development/Libraries |
| 7 |
License: BSD (3-clause) |
| 8 |
URL: http://www.arista.com |
| 9 |
Source0: %{name}-%{version}.tar.gz |
| 10 |
BuildArch: noarch |
| 11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| 12 |
|
| 13 |
%description |
| 14 |
The cvprac package is part of the devops library for EOS developed by Arista. The cvprac provides a python REST API client for communicating with an Arista Cloudvision(R) Portal node. |
| 15 |
|
| 16 |
%prep |
| 17 |
%setup -q |
| 18 |
|
| 19 |
%build |
| 20 |
%{__python} setup.py build |
| 21 |
|
| 22 |
%install |
| 23 |
rm -rf %{buildroot} |
| 24 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT |
| 25 |
|
| 26 |
%clean |
| 27 |
rm -rf $RPM_BUILD_ROOT |
| 28 |
|
| 29 |
%postun |
| 30 |
|
| 31 |
%files |
| 32 |
%defattr(-,root,root,-) |
| 33 |
%{python_sitelib}/cvprac* |
| 34 |
|
| 35 |
%changelog |
| 36 |
* Thu Apr 19 2016 John Corbin |
| 37 |
-- Initial Build. |