%global commit0 3ff37a2a93f05f33ddd2baef017a677e8d02d18e %global date0 20149631 Name: python-vevents # version 0.1.0 unofficially mentioned in sitepackages Version: 0.1.0 Release: 0.1.%{date0}git%{?dist} Summary: VMware vSphere Events from the command-line # guess BSD, PR#2 License: BSD URL: https://github.com/dnaeon/py-vevents Source0: %{url}/archive/%{commit0}.tar.gz BuildArch: noarch %description vEvents is an application that allows you to view and monitor VMware vSphere Events from the command-line. %package -n python%{python3_pkgversion}-vevents Summary: VMware vSphere Events from the command-line BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pyvmomi BuildRequires: python%{python3_pkgversion}-docopt BuildRequires: python%{python3_pkgversion}-vconnector %{?python_provide:%python_provide python%{python3_pkgversion}-vevents} # no magic dependencies in epel %if %{undefined __pythondist_requires} Requires: python%{python3_pkgversion}-pyvmomi Requires: python%{python3_pkgversion}-docopt Requires: python%{python3_pkgversion}-vconnector %endif %description -n python%{python3_pkgversion}-vevents vEvents is an application that allows you to view and monitor VMware vSphere Events from the command-line. %prep %autosetup -npy-vevents-%{commit0} %build %{py3_build} %install %{py3_install} %files -n python%{python3_pkgversion}-vevents #%%license add-license-file-here %doc README.md # egg-info only due to single binary %{python3_sitelib}/vevents-%{version}-py%{python3_version}.egg-info/ %{_bindir}/vevents-cli %changelog * Thu Jul 25 2019 Raphael Groner - 0.1.0-0.1.20149631git - initial