]> git.pld-linux.org Git - packages/perl-Audio-FLAC-Header.git/blame - perl-Audio-FLAC-Header.spec
perl 5.38.0 rebuild
[packages/perl-Audio-FLAC-Header.git] / perl-Audio-FLAC-Header.spec
CommitLineData
4932e780 1#
2# Conditional build:
4932e780 3%bcond_without tests # do not perform "make test"
4#
4932e780 5%define pdir Audio
6%define pnam FLAC-Header
5ddaf955
JB
7Summary: Audio::FLAC::Header - interface to FLAC header metadata
8Summary(pl.UTF-8): Audio::FLAC::HEADER - interfejs do metadanych nagłówków FLAC
4932e780 9Name: perl-Audio-FLAC-Header
0ca029b6 10Version: 2.4
76dabca3 11Release: 16
4932e780 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Audio/%{pdir}-%{pnam}-%{version}.tar.gz
0ca029b6 16# Source0-md5: 743292694c050be1b10fb4a307f81e87
4932e780 17URL: http://search.cpan.org/dist/Audio-FLAC-Header/
18BuildRequires: flac-devel
a42644b9 19BuildRequires: perl-Test-Pod-Coverage
5ddaf955 20BuildRequires: perl-devel >= 1:5.8.0
4932e780 21BuildRequires: rpm-perlprov >= 4.1-13
4932e780 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
5ddaf955
JB
25This module returns a hash containing basic information about a FLAC
26file, a representation of the embedded cue sheet if one exists, as
27well as tag information contained in the FLAC file's Vorbis tags.
4932e780 28
5ddaf955
JB
29%description -l pl.UTF-8
30Ten moduł zwraca hasza zawierającego podstawowe informacje o pliku
31FLAC reprezentujące osadzone wskazówki, a także informacje ze
32znaczników Vorbis zawartych w pliku FLAC.
4932e780 33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40%{__make} \
4492b6d6 41 CC="%{__cc}" \
4932e780 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
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
4932e780 62%attr(755,root,root) %{perl_vendorarch}/auto/Audio/FLAC/Header/Header.so
63%{_mandir}/man3/*
This page took 0.100522 seconds and 4 git commands to generate.