python-mutagen-vl.spec 4.3 KB

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