Blame SPECS/python-mutagen.spec

6b37a4
%global realname mutagen
6b37a4
6b37a4
Name:           python-%{realname}
6b37a4
Version:        1.20
6b37a4
Release:        6%{?dist}
6b37a4
Summary:        Mutagen is a Python module to handle audio metadata
6b37a4
6b37a4
Group:          Development/Languages
6b37a4
License:        GPLv2
6b37a4
URL:            http://code.google.com/p/mutagen
6b37a4
Source0:        http://mutagen.googlecode.com/files/%{realname}-%{version}.tar.gz
6b37a4
6b37a4
BuildArch:      noarch
6b37a4
BuildRequires:  python-devel
6b37a4
6b37a4
%description
6b37a4
Mutagen is a Python module to handle audio metadata. It supports
6b37a4
reading ID3 (all versions), APEv2, FLAC, and Ogg Vorbis/FLAC/Theora.
6b37a4
It can write ID3v1.1, ID3v2.4, APEv2, FLAC, and Ogg Vorbis/FLAC/Theora
6b37a4
comments. It can also read MPEG audio and Xing headers, FLAC stream
6b37a4
info blocks, and Ogg Vorbis/FLAC/Theora stream headers. Finally, it
6b37a4
includes a module to handle generic Ogg bitstreams.
6b37a4
6b37a4
%prep
6b37a4
%setup -q -n %{realname}-%{version}
6b37a4
# Fix non-executable-script error
6b37a4
sed -i '/^#! \/usr\/bin\/env python/,+1 d' %{realname}/__init__.py
6b37a4
# Fix wrong-file-end-of-line-encoding warning
6b37a4
sed -i 's/\r//' TUTORIAL
6b37a4
6b37a4
%build
6b37a4
%{__python} setup.py build
6b37a4
6b37a4
%install
6b37a4
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
6b37a4
6b37a4
%check
6b37a4
%{__python} setup.py test
6b37a4
6b37a4
%files
6b37a4
%defattr(-,root,root,-)
6b37a4
%doc API-NOTES COPYING NEWS README TODO TUTORIAL
6b37a4
%{_bindir}/m*
6b37a4
%{_mandir}/man1/m*.1*
6b37a4
%{python_sitelib}/%{realname}
6b37a4
%{python_sitelib}/%{realname}-%{version}-*.egg-info
6b37a4
6b37a4
%changelog
6b37a4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.20-6
6b37a4
- Mass rebuild 2013-12-27
6b37a4
6b37a4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-5
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6b37a4
6b37a4
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6b37a4
6b37a4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-3
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6b37a4
6b37a4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-2
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6b37a4
6b37a4
* Sun Dec 19 2010 Silas Sewell <silas@sewell.ch> - 1.20-1
6b37a4
- Update to 1.20
6b37a4
6b37a4
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.19-2
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
6b37a4
6b37a4
* Tue Jul 06 2010 Silas Sewell <silas@sewell.ch> - 1.19-1
6b37a4
- Update to 1.19
6b37a4
- Add tests
6b37a4
6b37a4
* Thu Feb 18 2010 Silas Sewell <silas@sewell.ch> - 1.18-1
6b37a4
- Update to 1.18
6b37a4
6b37a4
* Thu Oct 22 2009 Silas Sewell <silas@sewell.ch> - 1.17-1
6b37a4
- Update to 1.17
6b37a4
6b37a4
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6b37a4
6b37a4
* Thu Jul 02 2009 Silas Sewell <silas@sewell.ch> - 1.16-1
6b37a4
- Update to 1.16
6b37a4
- New project URLs
6b37a4
6b37a4
* Sun Apr 12 2009 Silas Sewell <silas@sewell.ch> - 1.15-3
6b37a4
- Normalize spec
6b37a4
6b37a4
* Fri Apr 10 2009 Silas Sewell <silas@sewell.ch> - 1.15-2
6b37a4
- Make sed safer
6b37a4
- Add back in removed changelogs
6b37a4
6b37a4
* Sun Mar 29 2009 Silas Sewell <silas@sewell.ch> - 1.15-1
6b37a4
- Update to 1.15
6b37a4
6b37a4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
6b37a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6b37a4
6b37a4
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.13-3
6b37a4
- Rebuild for Python 2.6
6b37a4
6b37a4
* Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-2
6b37a4
- Add egg-info to package
6b37a4
6b37a4
* Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-1
6b37a4
- 1.13
6b37a4
6b37a4
* Sat Aug 25 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.12-1
6b37a4
- Update to 1.12
6b37a4
- License tag fix
6b37a4
6b37a4
* Sat Apr 28 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.11-1
6b37a4
- Update to 1.11
6b37a4
6b37a4
* Wed Jan 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.10.1-1
6b37a4
- Update to 1.10.1
6b37a4
6b37a4
* Wed Dec 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.9-1
6b37a4
- Bump to 1.9
6b37a4
6b37a4
* Tue Dec 12 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-2
6b37a4
- Python 2.5 rebuild
6b37a4
6b37a4
* Sun Oct 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-1
6b37a4
- Bump to 1.8
6b37a4
6b37a4
* Fri Sep 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-2
6b37a4
- .pyo files no longer ghosted
6b37a4
6b37a4
* Fri Aug 11 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-1
6b37a4
- Update upstream to 1.6
6b37a4
6b37a4
* Fri Jul 21 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-5
6b37a4
- Some fixes in preamble.
6b37a4
- Change name from mutagen to python-mutagen.
6b37a4
- Delete CFLAGS declaration.
6b37a4
6b37a4
* Thu Jul 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-4
6b37a4
- Add BuildArch: noarch to preamble.
6b37a4
6b37a4
* Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-3
6b37a4
- Remove python-abi dependency.
6b37a4
- Prep section deletes first two lines in __init__.py file due to rpmlint error.
6b37a4
6b37a4
* Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-2
6b37a4
- Clean at files section.
6b37a4
- Fix charset in TUTORIAL file.
6b37a4
6b37a4
* Fri Jul 14 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-1
6b37a4
- First build.