%global srcname pyaudio %global sum Python bindings for PortAudio Name: %{srcname} Version: 0.2.13 Release: 5%{?dist} License: MIT Url: http://people.csail.mit.edu/hubert/pyaudio/ Source0: https://files.pythonhosted.org/packages/91/a0/f439da954d78a987298cb8d1ca1b141c53b1d1d1c7a50e17198ed061b9ac/PyAudio-0.2.13.tar.gz Summary: %{sum} BuildRequires: gcc BuildRequires: portaudio-devel BuildRequires: python3-devel BuildRequires: python3-setuptools %description PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms. %package -n python3-%{srcname} Summary: %{sum} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms. %prep %autosetup -n PyAudio-%{version} sed -i 's/setuptools<=65.1.1/setuptools/' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyaudio %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt %doc README.md CHANGELOG %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.2.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.2.13-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 10 2023 Christian Krause - 0.2.13-1 - Update to new upstream release 0.2.13 - Update spec file to latest Python packaging guidelines - Migrated to SPDX license - Remove version requirement of setuptools dependency - Fixes BZ 2238132 (PyAudio 0.2.11 does not work, needs update to >= 0.2.12) * Fri Jul 21 2023 Fedora Release Engineering - 0.2.11-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.2.11-17 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.11-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.2.11-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.2.11-14 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.11-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.2.11-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.11-11 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.2.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.2.11-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.2.11-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.2.11-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.2.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 18 2019 Miro Hrončok - 0.2.11-3 - Subpackage python2-pyaudio has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Feb 02 2019 Fedora Release Engineering - 0.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 24 2018 Peter Robinson 0.2.11-1 - Update to new upstream release 0.2.11 * Fri Jul 13 2018 Fedora Release Engineering - 0.2.9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.2.9-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.2.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.2.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.2.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.2.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.2.9-4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.2.9-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon May 16 2016 Christian Krause - 0.2.9-2 - Add missing Obsoletes and Provides to fix upgrade path * Mon May 02 2016 Christian Krause - 0.2.9-1 - Update to new upstream release 0.2.9 - Add Python 3 support (BZ 1322480) - Cleanup spec file - Initial patch from Petr Viktorin * Thu Feb 04 2016 Fedora Release Engineering - 0.2.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.2.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Jul 27 2010 David Malcolm - 0.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Apr 10 2010 Christian Krause - 0.2.3-2 - Remove pre-built binaries - Changed Group to System Environment/Libraries - Added CHANGELOG to %%files - Minor beautifications * Sun Apr 04 2010 Christian Krause - 0.2.3-1 - Initial spec file for pyaudio