diff --git a/README.md b/README.md index 450a345..5de5b34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pyalsaaudio +ALSA wrapper for Python. The goal is to provide a functionality complete Python wrapper for ALSA. Currently PCM playback and capture, as well as the Mixer API is supported. + diff --git a/pyalsaaudio.spec b/pyalsaaudio.spec new file mode 100644 index 0000000..6d63384 --- /dev/null +++ b/pyalsaaudio.spec @@ -0,0 +1,58 @@ +Name: pyalsaaudio +Version: 0.7 +Release: 2mamba +Summary: ALSA wrapper for Python +Group: Development/Languages +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://pyalsaaudio.sourceforge.net/ +Source: http://downloads.sourceforge.net/pyalsaaudio/pyalsaaudio-%{version}.tar.gz +License: Python Software Foundation License, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END + +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ALSA wrapper for Python. The goal is to provide a functionality complete Python wrapper for ALSA. Currently PCM playback and capture, as well as the Mixer API is supported. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root,-) +%{python_sitearch}/alsaaudio.so +%{python_sitearch}/pyalsaaudio-%{version}-py*.egg-info +%doc CHANGES LICENSE README TODO + +%changelog +* Sat May 18 2013 Silvan Calarco 0.7-2mamba +- python 2.7 mass rebuild + +* Sat Aug 13 2011 Automatic Build System 0.7-1mamba +- automatic version update by autodist + +* Tue May 11 2010 Automatic Build System 0.6-1mamba +- automatic update by autodist + +* Fri Jul 10 2009 Automatic Build System 0.5-1mamba +- automatic update by autodist + +* Wed Apr 01 2009 Silvan Calarco 0.4-1mamba +- update to 0.4 + +* Mon May 12 2008 gil 0.3-1mamba +- package created by autospec