python-pyalsa/python-pyalsa.spec

77 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-pyalsa
Version: 1.0.26
Release: 2mamba
Summary: Python binding for the ALSA library
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.alsa-project.org/
Source: ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
License: LGPL
Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel >= %{version}
BuildRequires: libpython-devel >= %python_version
BuildRequires: python >= %python_version
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Python binding for the ALSA library
%prep
%setup -q -n pyalsa-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
python setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{python_sitearch}/pyalsa
%{python_sitearch}/pyalsa/__init__.py
%{python_sitearch}/pyalsa/__init__.pyc
%{python_sitearch}/pyalsa/alsacard.so
%{python_sitearch}/pyalsa/alsacontrol.so
%{python_sitearch}/pyalsa/alsahcontrol.so
%{python_sitearch}/pyalsa/alsamixer.so
%{python_sitearch}/pyalsa/alsaseq.so
%{python_sitearch}/pyalsa-%{version}-py*.egg-info
%changelog
* 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