%define name pyogg %define version 1.3 %define release %mkrel 8 Summary: A wrapper for the Ogg libraries Name: %{name} Version: %{version} Release: %{release} Source0: http://www.andrewchatham.com/pyogg/download/%{name}-%{version}.tar.bz2 License: LGPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libogg-devel BuildRequires: libpython-devel Url: http://www.andrewchatham.com/pyogg/ %description pyogg - a Python wrapper for the Ogg libraries Ogg/Vorbis is available at http://www.xiph.org There's not a whole lot you can do with this module by itself. You'll probably also want the ogg.vorbis module, which can be found wherever you got this. You can now write Python programs to encode and decode Ogg Vorbis files (encoding is quite a bit more involved). The module is self-documenting, though I need to update quite a bit of it. %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 NEWS %dir %{_includedir}/python?.?/pyogg/ %{_includedir}/python?.?/pyogg/pyogg.h %py_platsitedir/* %changelog * Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 1.3-8mdv2007.0 + Revision: 88139 - Import pyogg * Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 1.3-8mdv2007.1 - update file list * Mon Dec 05 2005 Götz Waschk <waschk@mandriva.org> 1.3-7mdk - Rebuild * Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 1.3-6mdk - Rebuild for new python * Fri Sep 3 2004 Götz Waschk <waschk@linux-mandrake.com> 1.3-5mdk - fix URL * Fri Aug 8 2003 Götz Waschk <waschk@linux-mandrake.com> 1.3-4mdk - really new python * Thu Aug 07 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.3-3mdk - rebuild for new python * Fri Jul 18 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.3-2mdk - drop Prefix tag - rm -rf $RPM_BUILD_ROOT in %%install * Thu Jul 17 2003 Götz Waschk <waschk@linux-mandrake.com> 1.3-1mdk - new version * Mon Apr 28 2003 Götz Waschk <waschk@linux-mandrake.com> 1.2-3mdk - fix distriblint warning * Wed Mar 12 2003 Götz Waschk <waschk@linux-mandrake.com> 1.2-2mdk - fix buildrequires * Fri Feb 21 2003 Götz Waschk <waschk@linux-mandrake.com> 1.2-1mdk - adapt file list - new version * Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 1.1-2mdk - rebuild * Tue Oct 29 2002 Götz Waschk <waschk@linux-mandrake.com> 1.1-1mdk - 1.1 * Tue Jul 30 2002 Götz Waschk <waschk@linux-mandrake.com> 1.0-1mdk - 1.0 - build in build stage, not in install * Mon Jul 22 2002 Götz Waschk <waschk@linux-mandrake.com> 0.5-3mdk - arrg, really link with libogg.so, not libogg.a * Mon Jul 22 2002 Götz Waschk <waschk@linux-mandrake.com> 0.5-2mdk - new libogg * Mon Jul 1 2002 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk - 0.5 * Sat Jun 29 2002 Götz Waschk <waschk@linux-mandrake.com> 0.2-1mdk - mandrake adapted