9 # _without_alsa - without ALSA support
12 %include /usr/lib/rpm/macros.python
14 Summary: Software package for multitrack audio processing
15 Summary(pl): Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
20 Group: Applications/Sound
21 Source0: http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
22 Patch0: %{name}-link.patch
23 %ifnarch sparc sparc64
24 %{!?_without_alsa:BuildRequires: alsa-lib-devel}
26 BuildRequires: autoconf
27 BuildRequires: automake
28 BuildRequires: libstdc++-devel
29 BuildRequires: libtool >= 2:1.4d
30 BuildRequires: python-devel >= 2.2
31 BuildRequires: python-modules >= 2.2
32 BuildRequires: readline-devel >= 4.2
33 BuildRequires: rpm-pythonprov
36 # libecasound no longer supported
37 Obsoletes: perl-Audio-Ecasound.spec php-pecl-ecasound.spec
38 Obsoletes: libecasound libecasound-devel
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Ecasound is a software package designed for multitrack audio
43 processing. It can be used for simple tasks like audio playback,
44 recording and format conversions, as well as for multitrack effect
45 processing, mixing, recording and signal recycling. Ecasound supports
46 a wide range of audio inputs, outputs and effect algorithms. Several
47 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
48 libaudiofile and MikMod, are directly supported. One of the advantages
49 of ecasound's chain-based design is that effects can easily be
50 combined both in series and in parallel. Oscillators and MIDI-CCs can
51 be used for controlling effect parameters. Included user-interfaces
52 are ecasound - a versatile console mode interface, qtecasound - a
53 Qt-based X-interface and various command-line utils suitable for batch
57 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
58 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
59 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
60 wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
61 wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
62 wyrzucania zniekszta³ceñ) sygna³u.
64 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
65 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
66 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
67 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
68 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
69 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
70 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
71 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
72 interfejs u¿ytkownika - qtecasound.
74 %package -n python-%{name}
75 Summary: Python module for Ecasound
76 Summary(pl): Modu³ jêzyka Python dla programu ecasound
77 Group: Libraries/Python
78 %pyrequires_eq python-modules
80 %description -n python-%{name}
81 Python module for Ecasound.
83 %description -n python-%{name} -l pl
84 Modu³ jêzyka Python dla programu ecasound.
96 CXXFLAGS="%{rpmcflags} -D_REENTRANT %{!?debug:-DNDEBUG} -I/usr/include/ncurses"
97 # disable audiofile - ecasound has native support for wav and raw formats
98 # disable oss - ecasound works nicely with alsa oss emulation;
99 # in case of alsa building conditional, the oss should
101 # disable arts - 'not really useful' as said by ecasound author
103 --enable-sys-readline \
104 --with-python-includes=%{py_incdir} \
105 --with-python-modules=%{py_libdir} \
106 --disable-audiofile \
108 %{?_without_alsa:--disable-alsa} \
109 %{!?_without_alsa:--disable-oss}
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{py_sitedir}
117 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
119 install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
120 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
121 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
124 rm -rf $RPM_BUILD_ROOT
127 %defattr(644,root,root,755)
128 %doc BUGS NEWS README TODO
129 %attr(755,root,root) %{_bindir}/eca*
135 %files -n python-%{name}
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{py_sitedir}/*.so
138 %{py_sitedir}/*.py[co]