%global srcname webrtcvad-wheels Name: python-%{srcname} Version: 2.0.14 Release: %autorelease Summary: Python interface to the WebRTC Voice Activity Detector (VAD) [released with binary wheels!] License: MIT URL: https://github.com/daanzu/py-webrtcvad-wheels Source0: https://github.com/daanzu/py-webrtcvad-wheels/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %description %{summary}. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{summary}. %prep %autosetup -n py-webrtcvad-wheels-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files webrtcvad _webrtcvad %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog %autochangelog