Author: twittner Date: Sat Nov 10 22:42:22 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, by pldcpan
---- Files affected: SPECS: perl-Audio-FLAC-Header.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Audio-FLAC-Header.spec diff -u /dev/null SPECS/perl-Audio-FLAC-Header.spec:1.1 --- /dev/null Sat Nov 10 23:42:22 2007 +++ SPECS/perl-Audio-FLAC-Header.spec Sat Nov 10 23:42:16 2007 @@ -0,0 +1,103 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Audio +%define pnam FLAC-Header +Summary: Audio::FLAC::Header - interface to FLAC header metadata. +#Summary(pl.UTF-8): +Name: perl-Audio-FLAC-Header +Version: 1.8 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Audio/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 2cf7cef460f3cc93709b0c2e4751e798 +# generic URL, check or change before uncommenting +URL: http://search.cpan.org/dist/Audio-FLAC-Header/ +BuildRequires: flac-devel +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +%endif +BuildRoot: %{tmpdir}/%{name}-%{version}-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; the basic set of tags used for FLAC files include: + + ALBUM + ARTIST + TITLE + DATE + GENRE + TRACKNUMBER + COMMENT + +The information returned by Audio::FLAC::info is keyed by: + + MINIMUMBLOCKSIZE + MAXIMUMBLOCKSIZE + MINIMUMFRAMESIZE + MAXIMUMFRAMESIZE + TOTALSAMPLES + SAMPLERATE + NUMCHANNELS + BITSPERSAMPLE + MD5CHECKSUM + +Information stored in the main hash that relates to the file itself or is +calculated from some of the information fields is keyed by: + + + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} \ + OPTIMIZE="%{rpmcflags}" + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README TODO +%dir %{perl_vendorarch}/Audio/FLAC +%{perl_vendorarch}/Audio/FLAC/Header.pm +%dir %{perl_vendorarch}/auto/Audio/FLAC +%dir %{perl_vendorarch}/auto/Audio/FLAC/Header +%{perl_vendorarch}/auto/Audio/FLAC/Header/Header.bs +%attr(755,root,root) %{perl_vendorarch}/auto/Audio/FLAC/Header/Header.so +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/11/10 22:42:16 twittner +- initial, by pldcpan + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
