3 Summary: Python wrapper for alsa-lib
4 Summary(pl.UTF-8): Moduł alsalib dla Pythona
9 Group: Development/Languages/Python
10 Source0: http://respyre.org/download/alsamodule-%{version}.tgz
11 # Source0-md5: ed051ef696d1ea9e71272a6af44e42f9
12 URL: http://respyre.org/pyalsa.html
13 BuildRequires: alsa-lib-devel
14 BuildRequires: python-devel >= 1:2.3
15 BuildRequires: python-modules
16 BuildRequires: rpm-pythonprov
18 Requires: python >= 2.3
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 PyAlsa is a Python wrapper for ALSA. For now, it supports ALSA mixers.
24 %description -l pl.UTF-8
25 PyAlsa to moduł Pythona dla biblioteki ALSA. Na chwilę obecną
29 %setup -q -n alsamodule
34 INCLUDEPY="%{py_incdir}"
37 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{module}}
41 cp alsamodule.so $RPM_BUILD_ROOT%{py_sitedir}/
42 cp test.py $RPM_BUILD_ROOT%{_examplesdir}/%{module}/
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
50 %dir %{_examplesdir}/%{module}
51 %{_examplesdir}/%{module}/*
52 %attr(755,root,root) %{py_sitedir}/*.so