258eaf1
%global pypi_name compal
258eaf1
258eaf1
Name:           python-%{pypi_name}
258eaf1
Version:        0.2.0
28d08a9
Release:        12%{?dist}
258eaf1
Summary:        Compal CH7465LG/Ziggo Connect Box client
258eaf1
258eaf1
License:        MIT
258eaf1
URL:            https://github.com/ties/compal_CH7465LG_py
258eaf1
Source0:        %{pypi_source}
258eaf1
BuildArch:      noarch
258eaf1
258eaf1
%description
258eaf1
API wrapper for the web interface of the Ziggo Connect Box (i.e. the Compal
258eaf1
CH7465LG).
258eaf1
258eaf1
%package -n     python3-%{pypi_name}
258eaf1
Summary:        %{summary}
258eaf1
258eaf1
BuildRequires:  python3-devel
258eaf1
BuildRequires:  python3dist(lxml)
258eaf1
BuildRequires:  python3dist(requests)
258eaf1
BuildRequires:  python3dist(setuptools)
258eaf1
BuildRequires:  python3dist(pytest)
258eaf1
%{?python_provide:%python_provide python3-%{pypi_name}}
258eaf1
258eaf1
%description -n python3-%{pypi_name}
258eaf1
API wrapper for the web interface of the Ziggo Connect Box (i.e. the Compal
258eaf1
CH7465LG).
258eaf1
258eaf1
%prep
258eaf1
%autosetup -n %{pypi_name}-%{version}
258eaf1
rm -rf %{pypi_name}.egg-info
258eaf1
258eaf1
%build
258eaf1
%py3_build
258eaf1
258eaf1
%install
258eaf1
%py3_install
258eaf1
258eaf1
%check
258eaf1
%pytest -v tests/
258eaf1
258eaf1
%files -n python3-%{pypi_name}
258eaf1
%license LICENSE.txt
258eaf1
%doc README.md
258eaf1
%{python3_sitelib}/%{pypi_name}/
258eaf1
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
258eaf1
258eaf1
%changelog
28d08a9
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-12
28d08a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
28d08a9
ddfc9d6
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-11
ddfc9d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
ddfc9d6
4a037a1
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-10
4a037a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4a037a1
469e8fe
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.2.0-9
469e8fe
- Rebuilt for Python 3.12
469e8fe
fbb9730
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
fbb9730
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
fbb9730
5a9af44
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
5a9af44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5a9af44
f033dc3
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.0-6
f033dc3
- Rebuilt for Python 3.11
f033dc3
c12be11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
c12be11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
c12be11
d4109b0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
d4109b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d4109b0
681d2df
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.0-3
681d2df
- Rebuilt for Python 3.10
681d2df
ba513c3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
ba513c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ba513c3
258eaf1
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.0-1
258eaf1
- Initial package for Fedora