3 %bcond_without tests # do not perform "make test"
6 %define pnam FLAC-Header
7 Summary: Audio::FLAC::Header - interface to FLAC header metadata
8 Summary(pl.UTF-8): Audio::FLAC::HEADER - interfejs do metadanych nagłówków FLAC
9 Name: perl-Audio-FLAC-Header
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Audio/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 743292694c050be1b10fb4a307f81e87
17 URL: http://search.cpan.org/dist/Audio-FLAC-Header/
18 BuildRequires: flac-devel
19 BuildRequires: perl-Test-Pod-Coverage
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module returns a hash containing basic information about a FLAC
26 file, a representation of the embedded cue sheet if one exists, as
27 well as tag information contained in the FLAC file's Vorbis tags.
29 %description -l pl.UTF-8
30 Ten moduł zwraca hasza zawierającego podstawowe informacje o pliku
31 FLAC reprezentujące osadzone wskazówki, a także informacje ze
32 znaczników Vorbis zawartych w pliku FLAC.
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc Changes README TODO
58 %dir %{perl_vendorarch}/Audio/FLAC
59 %{perl_vendorarch}/Audio/FLAC/Header.pm
60 %dir %{perl_vendorarch}/auto/Audio/FLAC
61 %dir %{perl_vendorarch}/auto/Audio/FLAC/Header
62 %attr(755,root,root) %{perl_vendorarch}/auto/Audio/FLAC/Header/Header.so