From 47553c43d71b7b1144f912ab9679f5b60e858fa2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 May 2023 11:04:53 +0200 Subject: Adding upstream version 1.3.1+dfsg. Signed-off-by: Daniel Baumann --- cvprac.spec | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cvprac.spec (limited to 'cvprac.spec') diff --git a/cvprac.spec b/cvprac.spec new file mode 100644 index 0000000..2d8ce3e --- /dev/null +++ b/cvprac.spec @@ -0,0 +1,37 @@ +Name: cvprac +Version: Replaced_by_make +Release: 1%{?dist} +Summary: REST API client for communicating with an Arista Cloudvision(R) Portal node. + +Group: Development/Libraries +License: BSD (3-clause) +URL: http://www.arista.com +Source0: %{name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +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. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%postun + +%files +%defattr(-,root,root,-) +%{python_sitelib}/cvprac* + +%changelog +* Thu Apr 19 2016 John Corbin +-- Initial Build. -- cgit v1.2.3