2 Summary: Python bindings for PortAudio
7 Group: Development/Languages/Python
8 Source0: http://people.csail.mit.edu/hubert/pyaudio/packages/%{module}-%{version}.tar.gz
9 # Source0-md5: 623809778f3d70254a25492bae63b575
10 URL: http://people.csail.mit.edu/hubert/pyaudio/
11 BuildRequires: python-devel
12 BuildRequires: python-distribute
13 BuildRequires: rpm-pythonprov
14 # if py_postclean is used
15 BuildRequires: rpmbuild(macros) >= 1.710
17 Requires: python-modules
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 PyAudio provides Python bindings for PortAudio, the cross-platform
22 audio I/O library. With PyAudio, you can easily use Python to play
23 and record audio on a variety of platforms.
25 PyAudio is designed to work with the PortAudio v19 API 2.0. Note that
26 PyAudio currently only supports blocking-mode audio I/O.
29 %setup -q -n PyAudio-%{version}
35 rm -rf $RPM_BUILD_ROOT
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
39 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc CHANGELOG README docs/*
48 %{py_sitedir}/*.py[co]
49 %attr(755,root,root) %{py_sitedir}/*.so
50 %{py_sitedir}/PyAudio-*.egg-info