ea11322
%global commit0 3ff37a2a93f05f33ddd2baef017a677e8d02d18e
ea11322
%global date0   20149631
ea11322
%global scommit0 %(c=%{commit0}; echo ${c:0:7})
ea11322
ea11322
Name:           python-vevents
ea11322
# version 0.1.0 unofficially mentioned in sitepackages
ea11322
Version:        0.1.0
15e5ed1
Release:        0.17.%{date0}git%{scommit0}%{?dist}
f632b1e
Summary:        vSphere Events from the command-line
ea11322
ea11322
# license header in src/vevents-cli for BSD, PR#2
ea11322
License:        BSD
ea11322
URL:            https://github.com/dnaeon/py-vevents
ea11322
Source0:        %{url}/archive/%{commit0}/%{name}-%{scommit0}.tar.gz
ea11322
ea11322
BuildArch:      noarch
ea11322
ea11322
%description
ea11322
vEvents is an application that allows you to view and monitor
f632b1e
vSphere Events from the command-line.
ea11322
ea11322
%package     -n python%{python3_pkgversion}-vevents
f632b1e
Summary:        vSphere Events from the command-line
ea11322
BuildRequires:  python%{python3_pkgversion}-devel
ea11322
BuildRequires:  python%{python3_pkgversion}-setuptools
ea11322
BuildRequires:  python%{python3_pkgversion}-pyvmomi
ea11322
BuildRequires:  python%{python3_pkgversion}-docopt
ea11322
BuildRequires:  python%{python3_pkgversion}-vconnector 
ea11322
%{?python_provide:%python_provide python%{python3_pkgversion}-vevents}
ea11322
# no magic dependencies in epel
ea11322
%if %{undefined __pythondist_requires}
ea11322
Requires:       python%{python3_pkgversion}-pyvmomi
ea11322
Requires:       python%{python3_pkgversion}-docopt
ea11322
Requires:       python%{python3_pkgversion}-vconnector
ea11322
%endif
ea11322
ea11322
%description -n python%{python3_pkgversion}-vevents
ea11322
vEvents is an application that allows you to view and monitor
f632b1e
 vSphere Events from the command-line.
ea11322
ea11322
ea11322
%prep
ea11322
%autosetup -npy-vevents-%{commit0}
ea11322
ea11322
%build
ea11322
%{py3_build}
ea11322
ea11322
%install
ea11322
%{py3_install}
ea11322
ea11322
ea11322
%files -n python%{python3_pkgversion}-vevents
ea11322
#%%license add-license-file-here
ea11322
%doc README.md
ea11322
# egg-info only due to single binary
ea11322
%{python3_sitelib}/vevents-%{version}-py%{python3_version}.egg-info/
ea11322
%{_bindir}/vevents-cli
ea11322
ea11322
ea11322
%changelog
15e5ed1
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 0.1.0-0.17.20149631git3ff37a2
15e5ed1
- Rebuilt for Python 3.13
15e5ed1
d7192fc
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.16.20149631git3ff37a2
d7192fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d7192fc
6ffe720
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.15.20149631git3ff37a2
6ffe720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
6ffe720
1f3b2a0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.14.20149631git3ff37a2
1f3b2a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1f3b2a0
7c0e0a8
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.13.20149631git3ff37a2
7c0e0a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
7c0e0a8
ebc9ac5
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.12.20149631git3ff37a2
ebc9ac5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
ebc9ac5
0ef4bc6
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 0.1.0-0.11.20149631git3ff37a2
0ef4bc6
- Rebuilt for Python 3.11
0ef4bc6
bc7626c
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.10.20149631git3ff37a2
bc7626c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
bc7626c
1484f87
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.9.20149631git3ff37a2
1484f87
- Second attempt - Rebuilt for
1484f87
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1484f87
ce4d467
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.0-0.8.20149631git3ff37a2
ce4d467
- Rebuilt for Python 3.10
ce4d467
6b3e6a1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.7.20149631git3ff37a2
6b3e6a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6b3e6a1
9d4545b
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.6.20149631git3ff37a2
9d4545b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9d4545b
cbfab88
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.0-0.5.20149631git3ff37a2
cbfab88
- Rebuilt for Python 3.9
cbfab88
6c183f7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-0.4.20149631git3ff37a2
6c183f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6c183f7
61a4fea
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.0-0.3.20149631git3ff37a2
61a4fea
- Rebuilt for Python 3.8
61a4fea
f632b1e
* Thu Aug 01 2019 Raphael Groner <projects.rg@smart.ms> - 0.1.0-0.2.20149631git3ff37a2
f632b1e
- drop brand
f632b1e
ea11322
* Thu Jul 25 2019 Raphael Groner <projects.rg@smart.ms> - 0.1.0-0.1.20149631git3ff37a2
ea11322
- initial