File python-pytradfri.spec of Package python-pytradfri
#
# spec file for package python-pytradfri
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global module_name pytradfri
%define pythons %{primary_python}
Name: python-pytradfri
Version: 14.0.0
Release: 0
Summary: IKEA Trådfri/Tradfri API
License: MIT
URL: https://pypi.org/project/pytradfri/#files
Source0: %{module_name}-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
Requires: python-pydantic
%python_subpackages
%description
Python package to communicate with IKEA's Trådfri (Tradfri) ZigBee gateway. By
using this library you can communicate with the gateway and control IKEA's
lights, wall plugs and other peripherals.
In July 2024, IKEA announced they will no longer provide updates to the gateway
in favor of their Dirigera hub, which this library does not support. We will
continue to update this library with security patches and bug fixes.
%prep
%autosetup -p1 -n %{module_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/%{module_name}
%{python_sitelib}/%{module_name}-%{version}.dist-info
%changelog