perl-MP3-Info-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. %define name perl-MP3-Info
  2. %define real_name MP3-Info
  3. Summary: Perl module to manipulate / fetch info from MP3 audio files
  4. Name: %{name}
  5. Version: 1.24
  6. Release: 1%{?_dist_release}
  7. License: Artistic
  8. Group: Development/Libraries
  9. URL: http://search.cpan.org/~daniel/MP3-Info/
  10. Source: http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/%{real_name}-%{version}.tar.gz
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: perl
  14. Obsoletes: perl-MPEG-MP3Info
  15. Provides: perl-MPEG-MP3Info = %{version}
  16. %description
  17. Manipulate / fetch info from MP3 audio files : winamp genres, mp3tag, mp3info.
  18. A wrapper module is included so scripts calling MPEG::MP3Info will still work.
  19. %prep
  20. %setup -q -n %{real_name}-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make install DESTDIR=$RPM_BUILD_ROOT
  27. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  28. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  29. find $RPM_BUILD_ROOT/usr -type f -print |
  30. sed "s@^$RPM_BUILD_ROOT@@g" |
  31. grep -v perllocal.pod |
  32. grep -v "\.packlist" > MP3-info-%{version}-filelist
  33. if [ "$(cat MP3-info-%{version}-filelist)X" = "X" ] ; then
  34. echo "ERROR: EMPTY FILE LIST"
  35. exit -1
  36. fi
  37. %check
  38. make test
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files -f MP3-info-%{version}-filelist
  42. %defattr(-,root,root)
  43. %changelog
  44. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.24-1
  45. - new upstream release
  46. - applied new versioning policy
  47. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.23-0vl1
  48. - new upstream release
  49. - changed Group to Development/Libraries
  50. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20-0vl1
  51. - new upstream release
  52. - changed Group to Development/Languages
  53. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.10-0vl1
  54. - new upstream release
  55. - built with perl-5.8.6
  56. * Sat Oct 02 2004 Satoshi MACHINO <machino@vinelinux.org> 1.02-4vl1
  57. - rebuilt for VineLinux
  58. * Wed Feb 25 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 1.02-4mdk
  59. - rebuild
  60. - own dir
  61. * Wed Aug 13 2003 Per �©¬yvind Karlsen <peroyvind@linux-mandrake.com> 1.02-3mdk
  62. - rebuild for new perl
  63. - drop Prefix tag
  64. - don't use PREFIX
  65. - use %%makeinstall_std macro
  66. * Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.02-2mdk
  67. - rebuild for new auto{prov,req}
  68. * Fri Apr 18 2003 Fran�«®ois Pons <fpons@mandrakesoft.com> 1.02-1mdk
  69. - 1.02.
  70. * Tue Jul 9 2002 Pixel <pixel@mandrakesoft.com> 1.01-2mdk
  71. - rebuild for perl 5.8.0
  72. * Tue Mar 26 2002 Fran�«®ois Pons <fpons@mandrakesoft.com> 1.01-1mdk
  73. - 1.01.
  74. * Wed Jan 23 2002 Fran�«®ois Pons <fpons@mandrakesoft.com> 1.00-1mdk
  75. - 1.00.
  76. * Thu Nov 08 2001 Fran�«®ois Pons <fpons@mandrakesoft.com> 0.91-5mdk
  77. - added url tag.
  78. * Mon Oct 15 2001 Stefan van der Eijk <stefan@eijk.nu> 0.91-4mdk
  79. - BuildRequires: perl-devel
  80. * Wed Sep 05 2001 Fran�«®ois Pons <fpons@mandrakesoft.com> 0.91-3mdk
  81. - update provides tag.
  82. * Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.91-2mdk
  83. - Rebuild for the latest perl.
  84. * Tue Feb 27 2001 Fran�«®ois Pons <fpons@mandrakesoft.com> 0.91-1mdk
  85. - 0.91.
  86. * Mon Aug 07 2000 Fran�«®ois Pons <fpons@mandrakesoft.com> 0.80-3mdk
  87. - added missing clean.
  88. * Thu Aug 03 2000 Fran�«®ois Pons <fpons@mandrakesoft.com> 0.80-2mdk
  89. - macroszifications.
  90. - noarch.
  91. - add doc.
  92. * Mon Apr 3 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-1mdk
  93. - 0.80 with new name (obsoletes perl-MPEG-MP3Info)
  94. - fixed group
  95. - rebuild with new perl
  96. - fixed location
  97. * Thu Dec 2 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  98. - typo in description
  99. * Thu Dec 2 1999 Jerome Dumonteil <jd@mandrakesoft.com>
  100. - first version of rpm.