b63cd97
%global pypi_name pyotgw
b63cd97
b63cd97
Name:           python-%{pypi_name}
b63cd97
Version:        1.0b1
09ab28e
Release:        5%{?dist}
b63cd97
Summary:        Python library to interface with the OpenTherm Gateway
b63cd97
b63cd97
License:        GPLv3+
b63cd97
URL:            https://github.com/mvn23/pyotgw
b63cd97
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
b63cd97
BuildArch:      noarch
b63cd97
b63cd97
%description
b63cd97
A Python library to interface with the OpenTherm Gateway.
b63cd97
b63cd97
%package -n     python3-%{pypi_name}
b63cd97
Summary:        %{summary}
b63cd97
b63cd97
BuildRequires:  python3-devel
b63cd97
BuildRequires:  python3dist(setuptools)
b63cd97
%{?python_provide:%python_provide python3-%{pypi_name}}
b63cd97
b63cd97
%description -n python3-%{pypi_name}
b63cd97
A Python library to interface with the OpenTherm Gateway
b63cd97
b63cd97
%prep
b63cd97
%autosetup -n %{pypi_name}-%{version}
b63cd97
rm -rf %{pypi_name}.egg-info
b63cd97
b63cd97
%build
b63cd97
%py3_build
b63cd97
b63cd97
%install
b63cd97
%py3_install
b63cd97
b63cd97
%files -n python3-%{pypi_name}
b63cd97
%license LICENSE
b63cd97
%doc README.md
b63cd97
%{python3_sitelib}/%{pypi_name}/
b63cd97
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
b63cd97
b63cd97
%changelog
09ab28e
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0b1-5
09ab28e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
09ab28e
586549a
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0b1-4
586549a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
586549a
956fdc6
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0b1-3
956fdc6
- Rebuilt for Python 3.10
956fdc6
bba972e
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0b1-2
bba972e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
bba972e
b63cd97
* Wed Dec 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.0b1-1
b63cd97
- Fix license tag (#1880665)
b63cd97
- Update versioning
b63cd97
- Update to latest upstream release 1.0b1
b63cd97
b63cd97
* Fri Sep 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.6-0.b
b63cd97
- Initial package for Fedora