## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-bleak Version: 0.22.3 Release: %autorelease Summary: Bluetooth Low Energy platform Agnostic Klient License: MIT URL: https://github.com/hbldh/bleak Source: %{pypi_source bleak} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers. It is designed to provide a asynchronous, cross-platform Python API to connect and communicate with e.g. sensors.} %description %_description %package -n python3-bleak Summary: %{summary} %description -n python3-bleak %_description %prep %autosetup -p1 -n bleak-%{version} %generate_buildrequires %pyproject_buildrequires # Remove backends for other platforms rm -rf bleak/backends/corebluetooth bleak/backends/p4android bleak/backends/winrt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L bleak %check %pyproject_check_import %files -n python3-bleak -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Sat Mar 08 2025 Luca Magrone - 0.22.3-1 - Initial package ## END: Generated by rpmautospec