|
 |
8aa2adc |
%global pypi_name aioiotprov
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
Name: python-%{pypi_name}
|
|
 |
8aa2adc |
Version: 0.0.7
|
|
 |
a7d087c |
Release: 8%{?dist}
|
|
 |
8aa2adc |
Summary: Library/utility to help provision various IoT devices
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
License: MIT
|
|
 |
8aa2adc |
URL: http://github.com/frawau/aioiotprov
|
|
 |
8aa2adc |
Source0: %{pypi_source}
|
|
 |
8aa2adc |
BuildArch: noarch
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%description
|
|
 |
8aa2adc |
A library/utility to provision IoT devices. It can provision TP-Link
|
|
 |
8aa2adc |
smartplugs, Broadlink IR blasters, Sonoff switches running the Tasmota
|
|
 |
8aa2adc |
firmware, Shelly devices and E-Trix power monitors.
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%package -n python3-%{pypi_name}
|
|
 |
8aa2adc |
Summary: %{summary}
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
BuildRequires: python3-devel
|
|
 |
8aa2adc |
BuildRequires: python3dist(setuptools)
|
|
 |
8aa2adc |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%description -n python3-%{pypi_name}
|
|
 |
8aa2adc |
A library/utility to provision IoT devices. It can provision TP-Link
|
|
 |
8aa2adc |
smartplugs, Broadlink IR blasters, Sonoff switches running the Tasmota
|
|
 |
8aa2adc |
firmware, Shelly devices and E-Trix power monitors.
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%prep
|
|
 |
8aa2adc |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
8aa2adc |
rm -rf %{pypi_name}.egg-info
|
|
 |
8aa2adc |
sed -i -e '/^#!\//, 1d' {aioiotprov/plugins/*.py,aioiotprov/*.py}
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%build
|
|
 |
8aa2adc |
%py3_build
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%install
|
|
 |
8aa2adc |
%py3_install
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%files -n python3-%{pypi_name}
|
|
 |
8aa2adc |
%doc README.md
|
|
 |
8aa2adc |
%{_bindir}/aioiotprov
|
|
 |
8aa2adc |
%{python3_sitelib}/%{pypi_name}/
|
|
 |
8aa2adc |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
 |
8aa2adc |
|
|
 |
8aa2adc |
%changelog
|
|
 |
a7d087c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-8
|
|
 |
a7d087c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
a7d087c |
|
|
 |
be6129b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-7
|
|
 |
be6129b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
be6129b |
|
|
 |
7364587 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.7-6
|
|
 |
7364587 |
- Rebuilt for Python 3.11
|
|
 |
7364587 |
|
|
 |
7932a42 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-5
|
|
 |
7932a42 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
7932a42 |
|
|
 |
a0a141c |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-4
|
|
 |
a0a141c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
a0a141c |
|
|
 |
17207e4 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.7-3
|
|
 |
17207e4 |
- Rebuilt for Python 3.10
|
|
 |
17207e4 |
|
|
 |
f4ded07 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-2
|
|
 |
f4ded07 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
f4ded07 |
|
|
 |
8aa2adc |
* Tue Sep 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.7-1
|
|
 |
8aa2adc |
- Initial package for Fedora
|