Summary: Interface to FLAC header metadata Name: perl-Audio-FLAC-Header Version: 2.3 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Audio-FLAC-Header/ Source0: http://www.cpan.org/authors/id/D/DA/DANIEL/Audio-FLAC-Header-%{version}.tar.gz BuildRequires: perl >= 0:5.005 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: flac-devel perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This module returns a hash containing basic information about a FLAC file, a representation of the embedded cue sheet if one exists, as well as tag information contained in the FLAC file's Vorbis tags. There is no complete list of tag keys for Vorbis tags, as they can be defined by the user. %prep %setup -q -n Audio-FLAC-Header-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check %{__make} test %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc Changes README TODO %{perl_vendorarch}/auto/Audio %{perl_vendorarch}/Audio %{_mandir}/man3/Audio::FLAC::Header.3* %changelog * Mon Jan 25 2010 Terje Rosten - 2.3-1 - initial build based on cpanspec