%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-eyed3 Version: 0.6.12 Release: 1%{?dist} Summary: Python module for processing ID3 tags Group: Development/Languages License: GPL URL: http://eyed3.nicfit.net/ Source0: http://eyed3.nicfit.net/releases/eyeD3-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel %description A Python module and program for processing ID3 tags. Information about mp3 files(i.e bit rate, sample frequency, play time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1 and v2.3/v2.4. %prep %setup -q -n eyeD3-%{version} %build %configure # Make isn't necessary. %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # Remove dup & unnecessary docs rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/AUTHORS rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/COPYING.gz rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/ChangeLog.gz rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/README rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/THANKS %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %{_bindir}/eyeD3 %{_mandir}/man1/*.1.gz %{python_sitelib}/* %changelog * Sat Feb 24 2007 Brian Pepple - 0.6.12-1 - Update to 0.6.12. * Fri Dec 8 2006 Brian Pepple - 0.6.11-3 - Change BR to python-devel. * Fri Dec 8 2006 Brian Pepple - 0.6.11-2 - Rebuild against new python. * Wed Nov 22 2006 Brian Pepple - 0.6.11-1 - Update to 0.6.11. * Sat Oct 7 2006 Brian Pepple - 0.6.10-2 - Change BR to python. - Remove unnecessary make in build section. * Sat Oct 7 2006 Brian Pepple - 0.6.10-1 - Initial FE spec.