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
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Version: 0.7
|
Name: pyalsaaudio
|
||||||
Release: 2mamba
|
Version: 0.9.2
|
||||||
Summary: ALSA wrapper for Python
|
Release: 1mamba
|
||||||
Group: Development/Languages
|
Summary: ALSA wrapper for Python
|
||||||
|
Group: Development/Languages
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://pyalsaaudio.sourceforge.net/
|
URL: http://pyalsaaudio.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/pyalsaaudio/pyalsaaudio-%{version}.tar.gz
|
Source: https://pypi.debian.net/pyalsaaudio/pyalsaaudio-%{version}.tar.gz
|
||||||
License: Python Software Foundation License, LGPL
|
License: Python Software Foundation License, LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -28,17 +31,28 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{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
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/alsaaudio.so
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||||
%{python_sitearch}/pyalsaaudio-%{version}-py*.egg-info
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||||
%doc CHANGES LICENSE README TODO
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat May 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-2mamba
|
||||||
- python 2.7 mass rebuild
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user