python-mutagen-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: python-mutagen
  2. Version: 1.18
  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. * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.18-1
  42. - initial build for Vine Linux
  43. * Thu Feb 18 2010 Silas Sewell <silas@sewell.ch> - 1.18-1
  44. - Update to 1.18
  45. * Thu Oct 22 2009 Silas Sewell <silas@sewell.ch> - 1.17-1
  46. - Update to 1.17
  47. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-2
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  49. * Thu Jul 02 2009 Silas Sewell <silas@sewell.ch> - 1.16-1
  50. - Update to 1.16
  51. - New project URLs
  52. * Sun Apr 12 2009 Silas Sewell <silas@sewell.ch> - 1.15-3
  53. - Normalize spec
  54. * Fri Apr 10 2009 Silas Sewell <silas@sewell.ch> - 1.15-2
  55. - Make sed safer
  56. - Add back in removed changelogs
  57. * Sun Mar 29 2009 Silas Sewell <silas@sewell.ch> - 1.15-1
  58. - Update to 1.15
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.13-3
  62. - Rebuild for Python 2.6
  63. * Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-2
  64. - Add egg-info to package
  65. * Mon Dec 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.13-1
  66. - 1.13
  67. * Sat Aug 25 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.12-1
  68. - Update to 1.12
  69. - License tag fix
  70. * Sat Apr 28 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.11-1
  71. - Update to 1.11
  72. * Wed Jan 31 2007 Michał Bentkowski <mr.ecik at gmail.com> - 1.10.1-1
  73. - Update to 1.10.1
  74. * Wed Dec 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.9-1
  75. - Bump to 1.9
  76. * Tue Dec 12 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-2
  77. - Python 2.5 rebuild
  78. * Sun Oct 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.8-1
  79. - Bump to 1.8
  80. * Fri Sep 29 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-2
  81. - .pyo files no longer ghosted
  82. * Fri Aug 11 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.6-1
  83. - Update upstream to 1.6
  84. * Fri Jul 21 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-5
  85. - Some fixes in preamble.
  86. - Change name from mutagen to python-mutagen.
  87. - Delete CFLAGS declaration.
  88. * Thu Jul 20 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-4
  89. - Add BuildArch: noarch to preamble.
  90. * Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-3
  91. - Remove python-abi dependency.
  92. - Prep section deletes first two lines in __init__.py file due to rpmlint error.
  93. * Sat Jul 15 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-2
  94. - Clean at files section.
  95. - Fix charset in TUTORIAL file.
  96. * Fri Jul 14 2006 Michał Bentkowski <mr.ecik at gmail.com> - 1.5.1-1
  97. - First build.