%define version 0.5.1 %define release %mkrel 6 Summary: Python module for editing ID3v2 tags of MP3 audio files Name: pyid3lib Version: %{version} Release: %{release} License: LGPL Group: Sound URL: http://pyid3lib.sourceforge.net/ Source: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch: pyid3lib-0.5.1-64bit.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libid3-devel BuildRequires: zlib-devel BuildRequires: python-devel %description %{name} is a Python module for editing ID3v2 tags of MP3 audio files. %prep %setup -q %patch -p1 chmod -R go+rX . %build %{_bindir}/python setup.py build %install rm -rf %{buildroot} %{_bindir}/python setup.py install --root=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING doc.html README %py_platsitedir/* %changelog * Mon Dec 11 2006 Götz Waschk <waschk@mandriva.org> 0.5.1-6mdv2007.0 + Revision: 94780 - bump release tag - fix build on 64 bit - Import pyid3lib * Tue Nov 28 2006 Götz Waschk <waschk@mandriva.org> 0.5.1-5mdv2007.1 - update file list * Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.5.1-4mdk - Rebuild for new python * Mon Jun 7 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5.1-3mdk - rebuild for new g++ * Fri Nov 28 2003 Abel Cheung <deaddog@deaddog.org> 0.5.1-2mdk - rpmlint fixes * Tue Nov 25 2003 Abel Cheung <deaddog@deaddog.org> 0.5.1-1mdk - First Mandrake package