3 %bcond_without tests # do not perform "make test"
7 Summary: Audio::Mix Perl module - Wav/CoolEdit Fader/Cross-Fader
8 Summary(pl.UTF-8): Moduł Perla Audio::Mix - dodający wyciszenia lub przejścia do próbek WAV
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 795c50919e094e3472d53993aa39fe50
16 Patch0: %{name}-cue.patch
17 URL: http://search.cpan.org/dist/Audio-Mix/
18 BuildRequires: perl-Audio-Tools
19 BuildRequires: perl-Audio-Wav
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _noautoreq 'perl(Audio::CoolEdit)' 'perl(join)'
29 The purpose of this module is to provide a way to apply fades to
30 uncompressed Microsoft .WAV files. Not being a c programmer, the fades
31 are done completely in Perl, making a minutes fade on a stereo 44.1
32 Khz, 16bit file take a considerable amount of time. The primary reason
33 I wrote this module was because I needed a programmatic way to mix
34 songs together for subsequent burning to a CDR.
36 %description -l pl.UTF-8
37 Celem tego modułu jest udostępnienie sposobu na dodawanie wyciszeń lub
38 płynnych przejść do nieskompresowanych plików .WAV. Efekty te są
39 wykonywane całkowicie w Perlu, więc dodawanie wyciszenia do 16-bitowej
40 próbki stereo 44.1kHz może trochę potrwać. Głównym powodem stworzenia
41 tego modułu była programowego miksowania utworów w celu nagrywania na
45 %setup -q -n %{pdir}-%{pnam}-%{version}
49 %{__perl} Makefile.PL \
53 %{?with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_vendorlib}/Audio/Mix.pm
68 %{perl_vendorlib}/Audio/Mix