]> git.pld-linux.org Git - SPECS.git/blob - perl-Audio-Mix.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Audio-Mix.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Audio
6 %define         pnam    Mix
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
9 Name:           perl-Audio-Mix
10 Version:        0.01
11 Release:        5
12 License:        unknown
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
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 # optional, fake
26 %define         _noautoreq      'perl(Audio::CoolEdit)' 'perl(join)'
27
28 %description
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.
35
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
42 CDR.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %patch0 -p1
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes README
67 %{perl_vendorlib}/Audio/Mix.pm
68 %{perl_vendorlib}/Audio/Mix
69 %{_mandir}/man3/*
This page took 0.46195 seconds and 3 git commands to generate.