mirror of
https://github.com/danieldemus/pyp2spec.git
synced 2026-07-29 05:34:22 +02:00
54 lines
958 B
RPMSpec
54 lines
958 B
RPMSpec
Name: python-aionotion
|
|
Version: 2.0.3
|
|
Release: 4%{?dist}
|
|
Summary: Python library for Notion Home Monitoring
|
|
|
|
License: MIT
|
|
URL: https://github.com/bachya/aionotion
|
|
Source0: %{pypi_source aionotion}
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
|
|
%global _description %{expand:
|
|
A asyncio-friendly library for Notion Home Monitoring devices.
|
|
}
|
|
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-aionotion
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-aionotion %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n aionotion-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files aionotion
|
|
|
|
|
|
%check
|
|
%py3_check_import aionotion
|
|
|
|
|
|
%files -n python3-aionotion -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
|
|
%changelog
|
|
* Fri Jun 04 2021 Package Manager <package@manager.com> - 2.0.3-4
|
|
- Rebuilt for Python 3.10 |