%define name perl-MP3-Tag %define module MP3-Tag %define version 0.94 %define release 1mdk Summary: Perl MP3::Tag module Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source: %{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module}/ BuildRoot: %{_tmppath}/%{name}-buildroot Requires: perl >= 5.6.1 Requires: perl-Compress-Zlib BuildRequires: perl-devel >= 5.6.1 BuildRequires: perl-Compress-Zlib BuildArch: noarch %description Tag is a wrapper module to read different tags of mp3 files. It provides an easy way to access the functions of separate modules which do the handling of reading/writing the tags itself. At the moment MP3::Tag::ID3v1 and MP3::Tag::ID3v2 are supported for read and write; MP3::Tag::Inf, MP3::Tag::CDDB_File, MP3::Tag::File, MP3::Tag::LastResort are supported for read access (the information obtained by parsing CDDB files, .inf file and the filename). %prep %setup -q -n %{module}-%{version} %build CFLAGS="${RPM_OPT_FLAGS}" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf ${RPM_BUILD_ROOT} make PREFIX=${RPM_BUILD_ROOT}%{_prefix} install %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(644,root,root,755) %doc Changes README.txt TODO examples %{perl_vendorlib}/MP3/*.pm %{perl_vendorlib}/MP3/Tag/*.pm %dir %{perl_vendorlib}/MP3/Tag %{_mandir}/man3/* %changelog * Thu Oct 14 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.94-1mdk - 0.94 - add handy examples scripts in documentation * Tue Jul 20 2004 Austin Acton <austin@mandrake.org> 0.92-1mdk - 0.92 * Thu Jun 12 2003 Maxim Heijndijk <cchq@wanadoo.nl> 0.40-1mdk - Initial wrap.