59 lines
1.8 KiB
RPMSpec
59 lines
1.8 KiB
RPMSpec
|
Name: pyalsaaudio
|
||
|
Version: 0.7
|
||
|
Release: 2mamba
|
||
|
Summary: ALSA wrapper for Python
|
||
|
Group: Development/Languages
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.7-2mamba
|
||
|
- python 2.7 mass rebuild
|
||
|
|
||
|
* Sat Aug 13 2011 Automatic Build System <autodist@mambasoft.it> 0.7-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 0.6-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 0.5-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Wed Apr 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
||
|
- update to 0.4
|
||
|
|
||
|
* Mon May 12 2008 gil <puntogil@libero.it> 0.3-1mamba
|
||
|
- package created by autospec
|