]> git.pld-linux.org Git - packages/python-pyalsa.git/blob - python-pyalsa.spec
- new
[packages/python-pyalsa.git] / python-pyalsa.spec
1 Summary:        Python binding for the ALSA library
2 Summary(pl.UTF-8):      Wiązanie Pythona do biblioteki ALSA
3 Name:           python-pyalsa
4 Version:        1.0.14
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries/Python
8 Source0:        ftp://ftp.alsa-project.org/pub/pyalsa/pyalsa-%{version}.tar.bz2
9 # Source0-md5:  cc9460605d6af59dbb494ddd3235763f
10 URL:            http://www.alsa-project.org/
11 BuildRequires:  alsa-lib-devel >= 1.0.14
12 BuildRequires:  python-devel >= 1:2.5
13 BuildRequires:  rpm-pythonprov
14 %pyrequires_eq  python-libs
15 Requires:       alsa-lib >= 1.0.14
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Python binding for the ALSA library.
20
21 %description -l pl.UTF-8
22 Wiązanie Pythona do biblioteki ALSA.
23
24 %prep
25 %setup -q -n pyalsa-%{version}
26
27 %build
28 CFLAGS="%{rpmcflags}" \
29 %{__python} setup.py build
30         
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__python} setup.py install \
35         --optimize=2 \
36         --root=$RPM_BUILD_ROOT
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %dir %{py_sitedir}/pyalsa
46 %attr(755,root,root) %{py_sitedir}/pyalsa/alsa*.so
47 %{py_sitedir}/pyalsa/__init__.py[co]
48 %{py_sitedir}/pyalsa-*.egg-info
This page took 0.051162 seconds and 3 git commands to generate.