%define name pyvorbis %define version 1.0 %define release 1mdk Summary: A wrapper for the Vorbis libraries. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: LGPL Group: Development/Python BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildRequires: libvorbis-devel BuildRequires: python BuildRequires: pyogg = %version Requires: pyogg = %version Url: http://dulug.duke.edu/~andrew/pyogg %description pyvorbis - a Python wrapper for the Ogg/Vorbis library Ogg/Vorbis is available at http://www.xiph.org This is the Vorbis module. You will need to download and install the Python ogg module (available wherever you got this) before you can build the vorbis module. %prep %setup -q %build python config_unix.py python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README AUTHORS ChangeLog NEWS %_libdir/python2.2/site-packages/ogg/vorbismodule.so %changelog * 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 1 2002 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk - 0.5 - requires pyogg of the same version * Sat Jun 29 2002 Götz Waschk <waschk@linux-mandrake.com> 0.2-1mdk - Mandrake adapted