Blame python-connect-box.spec

4969b1f
# Created by pyp2rpm-3.3.4
4969b1f
%global pypi_name connect_box
4969b1f
%global pkg_name connect-box
4969b1f
4969b1f
Name:           python-%{pkg_name}
c90af3c
Version:        0.2.8
4969b1f
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
c90af3c
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.8-1
c90af3c
- Update to latest upstream release 0.2.8 (rhbz#1874641)
c90af3c
4969b1f
* Tue Sep 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.7-1
4969b1f
- Initial package for Fedora