|
|
7e42285 |
%global pypi_name zm-py
|
|
|
7e42285 |
%global pkg_name zm
|
|
|
7e42285 |
|
|
|
7e42285 |
Name: python-%{pkg_name}
|
|
|
cf978c6 |
Version: 0.5.2
|
|
|
5646b2c |
Release: 6%{?dist}
|
|
|
7e42285 |
Summary: Python wrapper around the ZoneMinder REST API
|
|
|
7e42285 |
|
|
|
7e42285 |
License: ASL 2.0
|
|
|
7e42285 |
URL: https://github.com/rohankapoorcom/zm-py
|
|
|
7e42285 |
Source0: %{pypi_source}
|
|
|
7e42285 |
BuildArch: noarch
|
|
|
7e42285 |
|
|
|
7e42285 |
%description
|
|
|
7e42285 |
A Python wrapper around the ZoneMinder RESTful API.
|
|
|
7e42285 |
|
|
|
7e42285 |
%package -n python3-%{pkg_name}
|
|
|
7e42285 |
Summary: %{summary}
|
|
|
7e42285 |
|
|
|
7e42285 |
BuildRequires: python3-devel
|
|
|
7e42285 |
BuildRequires: python3dist(requests)
|
|
|
7e42285 |
BuildRequires: python3dist(setuptools)
|
|
|
7e42285 |
BuildRequires: python3dist(pytest)
|
|
|
7e42285 |
%{?python_provide:%python_provide python3-%{pkg_name}}
|
|
|
7e42285 |
|
|
|
7e42285 |
%description -n python3-%{pkg_name}
|
|
|
7e42285 |
A Python wrapper around the ZoneMinder RESTful API.
|
|
|
7e42285 |
|
|
|
7e42285 |
%prep
|
|
|
7e42285 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
7e42285 |
rm -rf %{pypi_name}.egg-info
|
|
|
7e42285 |
|
|
|
7e42285 |
%build
|
|
|
7e42285 |
%py3_build
|
|
|
7e42285 |
|
|
|
7e42285 |
%install
|
|
|
7e42285 |
%py3_install
|
|
|
7e42285 |
|
|
|
7e42285 |
%check
|
|
|
7e42285 |
%pytest -v tests
|
|
|
7e42285 |
|
|
|
7e42285 |
%files -n python3-%{pkg_name}
|
|
|
7e42285 |
%license LICENSE.md
|
|
|
7e42285 |
%doc README.md
|
|
|
7e42285 |
%exclude %{python3_sitelib}/tests
|
|
|
7e42285 |
%{python3_sitelib}/zoneminder
|
|
|
7e42285 |
%{python3_sitelib}/zm_py-%{version}-py%{python3_version}.egg-info
|
|
|
7e42285 |
|
|
|
7e42285 |
%changelog
|
|
|
5646b2c |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.2-6
|
|
|
5646b2c |
- Rebuilt for Python 3.11
|
|
|
5646b2c |
|
|
|
08acc17 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-5
|
|
|
08acc17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
08acc17 |
|
|
|
1137f91 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
|
|
|
1137f91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
1137f91 |
|
|
|
d2d3141 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.2-3
|
|
|
d2d3141 |
- Rebuilt for Python 3.10
|
|
|
d2d3141 |
|
|
|
dcfb169 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-2
|
|
|
dcfb169 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
dcfb169 |
|
|
|
cf978c6 |
* Mon Oct 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.2-2
|
|
|
cf978c6 |
- Permission issue was fixed upstream
|
|
|
cf978c6 |
- Update to latest upstream release 0.5.2 (#1888351)
|
|
|
cf978c6 |
|
|
|
7e42285 |
* Sun Oct 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.1-1
|
|
|
7e42285 |
- Initial package for Fedora
|