]> git.pld-linux.org Git - packages/perl-Audio-Mad.git/blame - perl-Audio-Mad.spec
use generic url
[packages/perl-Audio-Mad.git] / perl-Audio-Mad.spec
CommitLineData
af647acb
JB
1#
2# Conditional build:
da25d689 3%bcond_without tests # do not perform "make test"
67787597 4
6eccef4c 5%define pdir Audio
6%define pnam Mad
67787597 7%include /usr/lib/rpm/macros.perl
af647acb 8Summary: Audio::Mad Perl module - interface to the mad MPEG decoder library
e61b0bc4 9Summary(pl.UTF-8): Moduł Perla Audio::Mad - interfejs do biblioteki dekodera MPEG mad
af647acb 10Name: perl-Audio-Mad
062a3255
JB
11Version: 0.6
12Release: 1
af647acb
JB
13License: GPL v2
14Group: Development/Languages/Perl
f3454013 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
062a3255 16# Source0-md5: ede73e114efea0956f8abdb4072fa0bf
67787597 17URL: http://search.cpan.org/dist/Audio-Mad/
062a3255 18BuildRequires: libmad-devel
c9e15ed3 19BuildRequires: perl-devel >= 1:5.8.0
0a6e8995 20BuildRequires: rpm-perlprov >= 4.1-13
af647acb
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Audio::Mad is a Perl module designed to provide an abstract interface
25to the low level mad mpeg decoder library. Interfaces for mad_stream,
26mad_frame, mad_synth, and mad_timer_t are provided. Two addon
27interfaces Mad::Resample and Mad::Dither provide methods for
28manipulating raw mad_fixed_t data into usable strings.
29
ead6aec5
JR
30%description -l pl.UTF-8
31Audio::Mad to moduł Perla stworzony by udostępnić abstrakcyjny
af647acb
JB
32interfejs do niskopoziomowej biblioteki dekodera MPEG - mad. Dostarcza
33interfejsy do mad_stream, mad_frame, mad_synth i mad_timer_t. Dwa
ead6aec5
JR
34dodatkowe interfejsy Mad::Resample i Mad::Dither udostępniają metody
35do przekształcania surowych danych mad_fixed_t na użyteczne ciągi.
af647acb
JB
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
0a6e8995 41%{__perl} Makefile.PL \
6c8ce1f7 42 INSTALLDIRS=vendor
ee06cc77 43%{__make} \
96d9e1d9 44 CC="%{__cc}" \
ee06cc77 45 OPTIMIZE="%{rpmcflags}"
af647acb 46
da25d689 47%{?with_tests:%{__make} test}
af647acb
JB
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
0a6e8995 61%{perl_vendorarch}/Audio/Mad.pm
62%{perl_vendorarch}/Audio/Mad
63%dir %{perl_vendorarch}/auto/Audio/Mad
0a6e8995 64%attr(755,root,root) %{perl_vendorarch}/auto/Audio/Mad/*.so
af647acb 65%{_mandir}/man3/*
This page took 0.079179 seconds and 4 git commands to generate.