Name: perl-MP3-Info
Version: 1.23
Release: 2%{?dist}
Summary: Manipulate / fetch info from MP3 audio files
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/MP3-Info
Source0: http://www.cpan.org/modules/by-module/MP3/MP3-Info-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
%description
This module is used for getting info out of and into MP3 files.
%prep
%setup -qn MP3-Info-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-2
Rebuild for new perl
* Sun Sep 30 2007 Christopher Stone <chris.stone@gmail.com> 1.23-1
- Upstream sync
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-3
- Add BuildRequires perl(Test::More)
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-2
- Add BuildRequires perl(ExtUtils::MakeMaker)
* Sat Sep 08 2007 Christopher Stone <chris.stone@gmail.com> 1.22-1
- Upstream sync
- spec file cleanups
* Sun Jan 07 2007 Christopher Stone <chris.stone@gmail.com> 1.21-1
- Upstream sync
* Wed Aug 30 2006 Christopher Stone <chris.stone@gmail.com> 1.20-3
- FC6 Rebuild
* Mon Jun 26 2006 Christopher Stone <chris.stone@gmail.com> 1.20-2
- Remove unneeded BuildRequires
* Fri Jun 23 2006 Christopher Stone <chris.stone@gmail.com> 1.20-1
- Initial Release.