python-pyalsa/python-pyalsa.spec

93 lines
2.9 KiB
RPMSpec

Name: python-pyalsa
Version: 1.2.12
Release: 1mamba
Summary: Python binding for the ALSA library
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.alsa-project.org/wiki/Main_Page
Source: ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
Python binding for the ALSA library
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n pyalsa-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{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 %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/pyalsa-%{version}-py*.egg-info
%{python_sitearch}/pyalsa-%{version}-py*.egg-info/*
%changelog
* Wed Jun 12 2024 Automatic Build System <autodist@openmamba.org> 1.2.12-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.2.7-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Thu Jun 02 2022 Automatic Build System <autodist@mambasoft.it> 1.2.7-1mamba
- automatic version update by autodist
* Fri Dec 10 2021 Automatic Build System <autodist@mambasoft.it> 1.2.6-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Automatic Build System <autodist@mambasoft.it> 1.1.6-1mamba
- automatic version update by autodist
* Thu Mar 26 2015 Automatic Build System <autodist@mambasoft.it> 1.0.29-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.26-2mamba
- python 2.7 mass rebuild
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 1.0.26-1mamba
- automatic version update by autodist
* Mon Jan 30 2012 Automatic Build System <autodist@mambasoft.it> 1.0.25-1mamba
- automatic version update by autodist
* Wed Feb 09 2011 Automatic Build System <autodist@mambasoft.it> 1.0.24-1mamba
- automatic update by autodist
* Sat Feb 20 2010 Automatic Build System <autodist@mambasoft.it> 1.0.22-1mamba
- automatic update by autodist
* Thu Sep 10 2009 Automatic Build System <autodist@mambasoft.it> 1.0.21-1mamba
- automatic update by autodist
* Mon Jun 08 2009 Automatic Build System <autodist@mambasoft.it> 1.0.20-1mamba
- automatic update by autodist
* Thu Aug 21 2008 gil <puntogil@libero.it> 1.0.17-1mamba
- package created by autospec