python-mutagen-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Name: python-mutagen
  2. Version: 1.20
  3. Release: 1%{?_dist_release}
  4. Summary: Mutagen is a Python module to handle audio metadata
  5. Summary(ja): Mutagen は音楽のメタデータを扱うためのpythonモジュールです
  6. Group: Development/Languages
  7. License: GPLv2
  8. URL: http://code.google.com/p/mutagen
  9. Source0: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. BuildRequires: python-devel
  13. %description
  14. Mutagen is a Python module to handle audio metadata. It supports
  15. reading ID3 (all versions), APEv2, FLAC, and Ogg Vorbis/FLAC/Theora.
  16. It can write ID3v1.1, ID3v2.4, APEv2, FLAC, and Ogg Vorbis/FLAC/Theora
  17. comments. It can also read MPEG audio and Xing headers, FLAC stream
  18. info blocks, and Ogg Vorbis/FLAC/Theora stream headers. Finally, it
  19. includes a module to handle generic Ogg bitstreams.
  20. %prep
  21. %setup -q -n mutagen-%{version}
  22. # Fix non-executable-script error
  23. sed -i '/^#! \/usr\/bin\/env python/,+1 d' mutagen/__init__.py
  24. # Fix wrong-file-end-of-line-encoding warning
  25. sed -i 's/\r//' TUTORIAL
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. rm -rf %{buildroot}
  30. %{__python} setup.py install -O1 --skip-build --root %{buildroot}
  31. %clean
  32. rm -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc API-NOTES COPYING NEWS README TODO TUTORIAL
  36. %{_bindir}/*
  37. %{_mandir}/man*/*gz
  38. %{python_sitelib}/mutagen
  39. %{python_sitelib}/mutagen-%{version}-*.egg-info
  40. %changelog
  41. * Wed Jul 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.20-1
  42. - new upstream release
  43. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-2
  44. - rebuild with python-2.7.2
  45. * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.18-1
  46. - initial build for Vine Linux
  47. * Thu Feb 18 2010 Silas Sewell <silas@sewell.ch> - 1.18-1
  48. - Update to 1.18
  49. * Thu Oct 22 2009 Silas Sewell <silas@sewell.ch> - 1.17-1
  50. - Update to 1.17
  51. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  53. * Thu Jul 02 2009 Silas Sewell <silas@sewell.ch> - 1.16-1
  54. - Update to 1.16
  55. - New project URLs
  56. * Sun Apr 12 2009 Silas Sewell <silas@sewell.ch> - 1.15-3
  57. - Normalize spec
  58. * Fri Apr 10 2009 Silas Sewell <silas@sewell.ch> - 1.15-2
  59. - Make sed safer
  60. - Add back in removed changelogs
  61. * Sun Mar 29 2009 Silas Sewell <silas@sewell.ch> - 1.15-1
  62. - Update to 1.15
  63. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  65. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.13-3
  66. - Rebuild for Python 2.6
  67. * Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-2
  68. - Add egg-info to package
  69. * Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-1
  70. - 1.13
  71. * Sat Aug 25 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.12-1
  72. - Update to 1.12
  73. - License tag fix
  74. * Sat Apr 28 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.11-1
  75. - Update to 1.11
  76. * Wed Jan 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.10.1-1
  77. - Update to 1.10.1
  78. * Wed Dec 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.9-1
  79. - Bump to 1.9
  80. * Tue Dec 12 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-2
  81. - Python 2.5 rebuild
  82. * Sun Oct 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-1
  83. - Bump to 1.8
  84. * Fri Sep 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-2
  85. - .pyo files no longer ghosted
  86. * Fri Aug 11 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-1
  87. - Update upstream to 1.6
  88. * Fri Jul 21 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-5
  89. - Some fixes in preamble.
  90. - Change name from mutagen to python-mutagen.
  91. - Delete CFLAGS declaration.
  92. * Thu Jul 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-4
  93. - Add BuildArch: noarch to preamble.
  94. * Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-3
  95. - Remove python-abi dependency.
  96. - Prep section deletes first two lines in __init__.py file due to rpmlint error.
  97. * Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-2
  98. - Clean at files section.
  99. - Fix charset in TUTORIAL file.
  100. * Fri Jul 14 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-1
  101. - First build.