summaryrefslogtreecommitdiffstats
path: root/cvprac.spec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-11 09:04:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-13 09:34:21 +0000
commit47553c43d71b7b1144f912ab9679f5b60e858fa2 (patch)
tree08378beaeeea8f9bb2686d3037c7b6f5062bb948 /cvprac.spec
parentInitial commit. (diff)
downloadcvprac-47553c43d71b7b1144f912ab9679f5b60e858fa2.tar.xz
cvprac-47553c43d71b7b1144f912ab9679f5b60e858fa2.zip
Adding upstream version 1.3.1+dfsg.upstream/1.3.1+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cvprac.spec')
-rw-r--r--cvprac.spec37
1 files changed, 37 insertions, 0 deletions
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.