]> git.pld-linux.org Git - packages/python-mad.git/blame - python-mad.spec
- bogus comment removed
[packages/python-mad.git] / python-mad.spec
CommitLineData
1a9089b9
JK
1%define module mad
2Summary: A Python module for the MPEG Audio Decoder library
3Name: python-%{module}
4Version: 0.5.3
5Release: 0.1
6License: GPL
7Group: Libraries/Python
1a9089b9
JK
8Source0: http://spacepants.org/src/pymad/download/pymad-%{version}.tar.gz
9# Source0-md5: 45a4ecc4d0600661199e4040a81ea3fe
10URL: http://spacepants.org/src/pymad/
11BuildRequires: libmad-devel
12BuildRequires: rpmbuild(macros) >= 1.174
13%pyrequires_eq python-modules
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17pymad is a Python module that allows Python programs to use the MPEG
18Audio Decoder library. pymad provides a high-level API, similar to the
19pyogg module, which makes reading PCM data from MPEG audio streams a
20piece of cake.
21
22%prep
23%setup -q -n pymad-%{version}
24
25%build
26python config_unix.py \
27 --prefix %{_prefix}
28python setup.py config
29python setup.py build
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34python setup.py install \
35 --optimize=2 \
36 --root $RPM_BUILD_ROOT
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc AUTHORS README NEWS THANKS
44%doc test/*
45%attr(755,root,root) %{py_sitedir}/%{module}module.so
This page took 0.053338 seconds and 4 git commands to generate.