b457a53
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
b457a53
b457a53
Name:           python-eyed3
9daa3db
Version:        0.6.17
210ce32
Release:        7%{?dist}
b457a53
Summary:        Python module for processing ID3 tags
b457a53
b457a53
Group:          Development/Languages
f386ce3
License:        GPLv2+
b457a53
URL:            http://eyed3.nicfit.net/
b457a53
Source0:        http://eyed3.nicfit.net/releases/eyeD3-%{version}.tar.gz
822bf65
Patch0:         eyed3-fix-empty-usertextframes.patch
b457a53
b457a53
BuildArch:      noarch
95313a0
BuildRequires:  python-devel
b457a53
b457a53
b457a53
%description
a0de91d
A Python module and program for processing ID3 tags. Information about
b457a53
mp3 files(i.e bit rate, sample frequency, play time, etc.) is also
b457a53
provided. The formats supported are ID3 v1.0/v1.1 and v2.3/v2.4.
b457a53
b457a53
b457a53
%prep
b457a53
%setup -q -n eyeD3-%{version}
822bf65
%patch0 -p1 -b .emptytextframes
b457a53
b457a53
b457a53
%build
b457a53
%configure
b457a53
# Make isn't necessary.
b457a53
822bf65
b457a53
%install
b457a53
rm -rf $RPM_BUILD_ROOT
b457a53
make install DESTDIR=$RPM_BUILD_ROOT
b457a53
# Remove dup & unnecessary docs
b457a53
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/AUTHORS
b457a53
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/COPYING.gz
b457a53
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/ChangeLog.gz
b457a53
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/README
b457a53
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/eyeD3-%{version}/THANKS
b457a53
b457a53
b457a53
%files
b457a53
%defattr(-,root,root,-)
b457a53
%doc AUTHORS COPYING NEWS README
b457a53
%{_bindir}/eyeD3
b457a53
%{_mandir}/man1/*.1.gz
b457a53
%{python_sitelib}/*
b457a53
b457a53
b457a53
%changelog
210ce32
* Mon Jan 09 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.6.17-7
210ce32
- Rebuild for new gcc.
210ce32
822bf65
* Fri Aug  5 2011 Brian Pepple <bpepple@fedoraproject.org> - 0.6.17-6
822bf65
- Add patch to fix crashes on files with empty UserTextFrames.
822bf65
- Drop buildroot & clean sections. No longer needed.
822bf65
3ae21ac
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.17-5
3ae21ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3ae21ac
bee7677
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.17-4
bee7677
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
bee7677
0b83d92
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.17-3
0b83d92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0b83d92
ac99da1
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.17-2
ac99da1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ac99da1
9daa3db
* Tue Feb  3 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.17-1
9daa3db
- Update to 0.6.17.
9daa3db
c9d4567
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.6.16-2
c9d4567
- Rebuild for Python 2.6
c9d4567
a51c7a5
* Thu Jun 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.16-1
a51c7a5
- Update to 0.6.16.
a51c7a5
f386ce3
* Sat Mar  8 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.15-1
f386ce3
- Update to 0.6.15.
f386ce3
- Update license tag.
f386ce3
95ecf2f
* Fri May 18 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.6.14-1
95ecf2f
- Update to 0.6.14.
95ecf2f
e625672
* Sat Feb 24 2007 Brian Pepple <bpepple@fedoraproject.org> - 0.6.12-1
e625672
- Update to 0.6.12.
e625672
95313a0
* Fri Dec  8 2006 Brian Pepple <bpepple@fedoraproject.org> - 0.6.11-3
95313a0
- Change BR to python-devel.
95313a0
9962884
* Fri Dec  8 2006 Brian Pepple <bpepple@fedoraproject.org> - 0.6.11-2
9962884
- Rebuild against new python.
9962884
a0de91d
* Wed Nov 22 2006 Brian Pepple <bpepple@fedoraproject.org> - 0.6.11-1
a0de91d
- Update to 0.6.11.
a0de91d
b457a53
* Sat Oct  7 2006 Brian Pepple <bpepple@fedoraproject.org> - 0.6.10-2
b457a53
- Change BR to python.
b457a53
- Remove unnecessary make in build section.
b457a53
b457a53
* Sat Oct  7 2006 Brian Pepple <bpepple@fedoraproject.org> - 0.6.10-1
b457a53
- Initial FE spec.
b457a53