Группа :: Development/Python3
Пакет: python3-module-pyaudio
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Python3
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
# END SourceDeps(oneline)
%define oldname pyaudio
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global srcname pyaudio
%global sum Python bindings for PortAudio
Name: python3-module-pyaudio
Version: 0.2.11
Release: alt1_7
License: MIT
Url: http://people.csail.mit.edu/hubert/pyaudio/
Source0: https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
Summary: %{sum}
BuildRequires: gcc
BuildRequires: libportaudio2-devel
BuildRequires: python3-devel
Source44: import.info
%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.
%{?python_provide:%python_provide python3-%{srcname}}
%prep
%setup -q -n PyAudio-%{version}
# remove some pre-built binaries
rm -rf packaging
%build
%python3_build
%install
%python3_install
%files
%doc README CHANGELOG
%{python3_sitelibdir}/*.py*
%{python3_sitelibdir}/__pycache__/*.py*
%{python3_sitelibdir}/*.so
%{python3_sitelibdir}/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
# END SourceDeps(oneline)
%define oldname pyaudio
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global srcname pyaudio
%global sum Python bindings for PortAudio
Name: python3-module-pyaudio
Version: 0.2.11
Release: alt1_7
License: MIT
Url: http://people.csail.mit.edu/hubert/pyaudio/
Source0: https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz
Summary: %{sum}
BuildRequires: gcc
BuildRequires: libportaudio2-devel
BuildRequires: python3-devel
Source44: import.info
%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.
%{?python_provide:%python_provide python3-%{srcname}}
%prep
%setup -q -n PyAudio-%{version}
# remove some pre-built binaries
rm -rf packaging
%build
%python3_build
%install
%python3_install
%files
%doc README CHANGELOG
%{python3_sitelibdir}/*.py*
%{python3_sitelibdir}/__pycache__/*.py*
%{python3_sitelibdir}/*.so
%{python3_sitelibdir}/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь