4969b1f
%global pypi_name connect_box
4969b1f
%global pkg_name connect-box
4969b1f
4969b1f
Name:           python-%{pkg_name}
20d4d8b
Version:        0.3.0
20d4d8b
Release:        1%{?dist}
4969b1f
Summary:        Python client for interacting with Compal CH7465LG devices
4969b1f
4969b1f
License:        MIT
4969b1f
URL:            https://github.com/home-assistant-ecosystem/python-connect-box
4969b1f
Source0:        %{pypi_source}
4969b1f
BuildArch:      noarch
4969b1f
4969b1f
%description
4969b1f
connect-box is a Python Client for interacting with the cable modem/router
4969b1f
Compal CH7465LG which is provided under different names by various ISP in
4969b1f
Europe.
4969b1f
4969b1f
%package -n     python3-%{pkg_name}
4969b1f
Summary:        %{summary}
c90af3c
c90af3c
BuildRequires:  python3-devel
c90af3c
BuildRequires:  python3dist(setuptools)
4969b1f
%{?python_provide:%python_provide python3-%{pkg_name}}
4969b1f
4969b1f
%description -n python3-%{pkg_name}
4969b1f
connect-box is a Python Client for interacting with the cable modem/router
4969b1f
Compal CH7465LG which is provided under different names by various ISP in
4969b1f
Europe.
4969b1f
4969b1f
%prep
4969b1f
%autosetup -n %{pypi_name}-%{version}
4969b1f
rm -rf %{pypi_name}.egg-info
4969b1f
4969b1f
%build
4969b1f
%py3_build
4969b1f
4969b1f
%install
4969b1f
%py3_install
4969b1f
4969b1f
%files -n python3-%{pkg_name}
4969b1f
%license LICENSE
4969b1f
%doc README.rst
4969b1f
%{python3_sitelib}/%{pypi_name}/
4969b1f
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
4969b1f
4969b1f
%changelog
20d4d8b
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.0-1
20d4d8b
- Update to new upstream version 0.3.0 (rhbz#1965162)
20d4d8b
a3ebaa2
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-3
a3ebaa2
- Second attempt - Rebuilt for
a3ebaa2
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a3ebaa2
4af9429
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.9-2
4af9429
- Rebuilt for Python 3.10
4af9429
b6b0654
* Sat Feb 06 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.9-1
b6b0654
- Update to latest upstream release 0.2.9
b6b0654
f49c291
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
f49c291
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f49c291
c90af3c
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.8-1
b6b0654
- Update to latest upstream release 0.2.8 (#1874641)
c90af3c
4969b1f
* Tue Sep 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.7-1
4969b1f
- Initial package for Fedora