update to 0.9.2 [release 0.9.2-1mamba;Mon May 09 2022]
This commit is contained in:
parent
3537ff2254
commit
6472b963e7
@ -1,25 +1,28 @@
|
||||
Name: pyalsaaudio
|
||||
Version: 0.7
|
||||
Release: 2mamba
|
||||
Summary: ALSA wrapper for Python
|
||||
Group: Development/Languages
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: pyalsaaudio
|
||||
Version: 0.9.2
|
||||
Release: 1mamba
|
||||
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
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://pyalsaaudio.sourceforge.net/
|
||||
Source: https://pypi.debian.net/pyalsaaudio/pyalsaaudio-%{version}.tar.gz
|
||||
License: Python Software Foundation License, LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-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.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -28,17 +31,28 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%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
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon May 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
|
||||
- update to 0.9.2
|
||||
|
||||
* Sat May 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-2mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user