Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > e1c84ad7fc9ef76bf1d0a1cdead96855 > files > 2

pymad-0.6-7.mga3.src.rpm

%define name pymad
%define version 0.6
%define release %mkrel 7

Summary: A wrapper for the MAD MPEG Audio decoder library
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://spacepants.org/src/pymad/download/%{name}-%{version}.tar.gz
License: GPLv2+
Group: Development/Python
Url: http://spacepants.org/src/pymad/
BuildRequires: libmad-devel
BuildRequires: libpython-devel

%description
pymad is a Python wrapper for the MPEG Audio Decoder library.

Access this module via "import mad" or "from mad import *".  To decode
an mp3 stream, you'll want to create a MadFile object and read data from
that.  You can then write the data to a sound device.  See the example
program in test/ for a simple mp3 player that uses libao for the sound
device.


%prep
%setup -q

%build
python config_unix.py
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%doc README AUTHORS NEWS THANKS
%py_platsitedir/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 0.6-7.mga3
+ Revision: 378416
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Jul 13 2011 stormi <stormi> 0.6-6.mga2
+ Revision: 123699
- increase release so that it's higher than in mageia 1

* Thu Jun 09 2011 ahmad <ahmad> 0.6-5.mga2
+ Revision: 102622
- Fix the License tag

* Thu Jun 09 2011 ahmad <ahmad> 0.6-4.mga2
+ Revision: 102599
- imported package pymad