%define name perl-MP3-Info %define real_name MP3-Info Summary: Perl module to manipulate / fetch info from MP3 audio files Name: %{name} Version: 1.24 Release: 2%{?_dist_release} License: Artistic Group: Development/Libraries URL: http://search.cpan.org/~daniel/MP3-Info/ Source: http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/%{real_name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Obsoletes: perl-MPEG-MP3Info Provides: perl-MPEG-MP3Info = %{version}-%{release} Vendor: Project Vine Distribution: Vine Linux %description Manipulate / fetch info from MP3 audio files : winamp genres, mp3tag, mp3info. A wrapper module is included so scripts calling MPEG::MP3Info will still work. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod | grep -v "\.packlist" > MP3-info-%{version}-filelist if [ "$(cat MP3-info-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %check make test %clean rm -rf $RPM_BUILD_ROOT %files -f MP3-info-%{version}-filelist %defattr(-,root,root) %changelog * Tue Dec 23 2014 Ryoichi INAGAKI 1.24-2 - rebuilt with perl 5.16.3 - fixed spec encoding to UTF-8 * Thu Nov 12 2009 Ryoichi INAGAKI 1.24-1 - new upstream release - applied new versioning policy * Thu Aug 9 2007 Ryoichi INAGAKI 1.23-0vl1 - new upstream release - changed Group to Development/Libraries * Sat Jul 15 2006 Ryoichi INAGAKI 1.20-0vl1 - new upstream release - changed Group to Development/Languages * Mon Jan 10 2005 Satoshi MACHINO 1.10-0vl1 - new upstream release - built with perl-5.8.6 * Sat Oct 02 2004 Satoshi MACHINO 1.02-4vl1 - rebuilt for VineLinux * Wed Feb 25 2004 Olivier Thauvin 1.02-4mdk - rebuild - own dir * Wed Aug 13 2003 Per Øyvind Karlsen 1.02-3mdk - rebuild for new perl - drop Prefix tag - don't use PREFIX - use %%makeinstall_std macro * Tue May 27 2003 Thierry Vignaud 1.02-2mdk - rebuild for new auto{prov,req} * Fri Apr 18 2003 François Pons 1.02-1mdk - 1.02. * Tue Jul 9 2002 Pixel 1.01-2mdk - rebuild for perl 5.8.0 * Tue Mar 26 2002 François Pons 1.01-1mdk - 1.01. * Wed Jan 23 2002 François Pons 1.00-1mdk - 1.00. * Thu Nov 08 2001 François Pons 0.91-5mdk - added url tag. * Mon Oct 15 2001 Stefan van der Eijk 0.91-4mdk - BuildRequires: perl-devel * Wed Sep 05 2001 François Pons 0.91-3mdk - update provides tag. * Sun Jun 17 2001 Geoffrey Lee 0.91-2mdk - Rebuild for the latest perl. * Tue Feb 27 2001 François Pons 0.91-1mdk - 0.91. * Mon Aug 07 2000 François Pons 0.80-3mdk - added missing clean. * Thu Aug 03 2000 François Pons 0.80-2mdk - macroszifications. - noarch. - add doc. * Mon Apr 3 2000 Guillaume Cottenceau 0.80-1mdk - 0.80 with new name (obsoletes perl-MPEG-MP3Info) - fixed group - rebuild with new perl - fixed location * Thu Dec 2 1999 Jerome Dumonteil - typo in description * Thu Dec 2 1999 Jerome Dumonteil - first version of rpm.