|
|
7811aaf |
%global pypi_name mystrom
|
|
|
7811aaf |
|
|
|
7811aaf |
Name: python-%{pypi_name}
|
|
|
7722f1e |
Version: 1.1.2
|
|
|
7722f1e |
Release: 1%{?dist}
|
|
|
7811aaf |
Summary: Asynchronous Python API client for interacting with myStrom devices
|
|
|
7811aaf |
|
|
|
7811aaf |
License: MIT
|
|
|
7811aaf |
URL: https://github.com/fabaff/python-mystrom
|
|
|
7722f1e |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
|
7811aaf |
BuildArch: noarch
|
|
|
7811aaf |
|
|
|
7811aaf |
%description
|
|
|
7811aaf |
Asynchronous Python API client for interacting with myStrom devices like bulbs
|
|
|
7811aaf |
and plugs. The buttons can be programmed easily with the command-line tool.
|
|
|
7811aaf |
|
|
|
7811aaf |
%package -n python3-%{pypi_name}
|
|
|
7811aaf |
Summary: %{summary}
|
|
|
7811aaf |
|
|
|
7811aaf |
BuildRequires: python3-devel
|
|
|
7811aaf |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
7811aaf |
|
|
|
7811aaf |
%description -n python3-%{pypi_name}
|
|
|
7811aaf |
Asynchronous Python API client for interacting with myStrom devices like bulbs
|
|
|
7811aaf |
and plugs. The buttons can be programmed easily with the command-line tool.
|
|
|
7811aaf |
|
|
|
7811aaf |
%package -n %{pypi_name}
|
|
|
7811aaf |
Summary: CLI tool to interact with myStrom devices
|
|
|
7811aaf |
|
|
|
7811aaf |
Requires: python3-%{pypi_name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
7811aaf |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
7811aaf |
|
|
|
7811aaf |
%description -n %{pypi_name}
|
|
|
7811aaf |
CLI tool to interact with myStrom devices (bulbs, buttons and plugs).
|
|
|
7811aaf |
|
|
|
7811aaf |
%prep
|
|
|
7811aaf |
%autosetup -n %{name}-%{version}
|
|
|
7811aaf |
|
|
|
7811aaf |
%build
|
|
|
7811aaf |
%py3_build
|
|
|
7811aaf |
|
|
|
7811aaf |
%install
|
|
|
7811aaf |
%py3_install
|
|
|
7811aaf |
|
|
|
7811aaf |
%files -n python3-%{pypi_name}
|
|
|
7811aaf |
%doc README.rst
|
|
|
7811aaf |
%license LICENSE
|
|
|
7811aaf |
%{python3_sitelib}/py%{pypi_name}/
|
|
|
7811aaf |
%{python3_sitelib}/python_mystrom*.egg-info
|
|
|
7811aaf |
|
|
|
7811aaf |
%files -n %{pypi_name}
|
|
|
7811aaf |
%{_bindir}/%{pypi_name}
|
|
|
7811aaf |
|
|
|
7811aaf |
%changelog
|
|
|
7722f1e |
* Tue Apr 28 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.2-1
|
|
|
7722f1e |
- Update to latest upstream release 1.1.2
|
|
|
7722f1e |
|
|
|
49fce7e |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
49fce7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
49fce7e |
|
|
|
7811aaf |
* Wed Jan 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.0-1
|
|
|
7811aaf |
- Initial package for Fedora
|