3 %bcond_without tests # do not perform "make test"
7 Summary: Audio::Mad Perl module - interface to the mad MPEG decoder library
8 Summary(pl.UTF-8): Moduł Perla Audio::Mad - interfejs do biblioteki dekodera MPEG mad
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: ede73e114efea0956f8abdb4072fa0bf
16 URL: http://search.cpan.org/dist/Audio-Mad/
17 BuildRequires: libmad-devel
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Audio::Mad is a Perl module designed to provide an abstract interface
24 to the low level mad mpeg decoder library. Interfaces for mad_stream,
25 mad_frame, mad_synth, and mad_timer_t are provided. Two addon
26 interfaces Mad::Resample and Mad::Dither provide methods for
27 manipulating raw mad_fixed_t data into usable strings.
29 %description -l pl.UTF-8
30 Audio::Mad to moduł Perla stworzony by udostępnić abstrakcyjny
31 interfejs do niskopoziomowej biblioteki dekodera MPEG - mad. Dostarcza
32 interfejsy do mad_stream, mad_frame, mad_synth i mad_timer_t. Dwa
33 dodatkowe interfejsy Mad::Resample i Mad::Dither udostępniają metody
34 do przekształcania surowych danych mad_fixed_t na użyteczne ciągi.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 OPTIMIZE="%{rpmcflags}"
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorarch}/Audio/Mad.pm
61 %{perl_vendorarch}/Audio/Mad
62 %dir %{perl_vendorarch}/auto/Audio/Mad
63 %attr(755,root,root) %{perl_vendorarch}/auto/Audio/Mad/*.so