%define name pyao %define version 0.82 %define release 4mdk Summary: A wrapper for the ao libraries. Name: %{name} Version: %{version} Release: %{release} Source0: http://www.andrewchatham.com/pyogg/download/%{name}-%{version}.tar.bz2 License: GPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libao-devel BuildRequires: libpython-devel Url: http://www.andrewchatham.com/pyogg/ %description This is a wrapper for libao, an audio device abstraction library. libao is available with ogg/vorbis at http://www.xiph.org. %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 ChangeLog %_libdir/python?.?/site-packages/aomodule.so %changelog * Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 0.82-4mdk - Rebuild for new python * Fri Sep 3 2004 Götz Waschk <waschk@linux-mandrake.com> 0.82-3mdk - rebuild * Fri Aug 29 2003 Götz Waschk <waschk@linux-mandrake.com> 0.82-2mdk - fix the license, it's GPL * Fri Aug 29 2003 Götz Waschk <waschk@linux-mandrake.com> 0.82-1mdk - initial package