3 %bcond_without alsa # without ALSA support (implies without JACK)
4 %bcond_without jack # without JACK support
5 %bcond_without ruby # without ruby support
6 %bcond_with arts # with aRts support
8 Summary: Software package for multitrack audio processing
9 Summary(pl): Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
14 Group: Applications/Sound
15 Source0: http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
16 # Source0-md5: bbc0c4d12c1d21a7e71fc1bdb9fb0e2b
17 Patch0: %{name}-link.patch
18 %{?with_alsa:BuildRequires: alsa-lib-devel}
19 %{?with_arts:BuildRequires: arts-devel}
20 BuildRequires: autoconf
21 BuildRequires: automake
22 %{?with_jack:BuildRequires: jack-audio-connection-kit-devel}
23 BuildRequires: ladspa-devel
24 BuildRequires: libsamplerate-devel
25 BuildRequires: libsndfile-devel
26 BuildRequires: libstdc++-devel
27 BuildRequires: libtool >= 2:1.4d
28 BuildRequires: python-devel >= 2.2
29 BuildRequires: python-modules >= 2.2
30 BuildRequires: readline-devel >= 4.2
31 %{?with_ruby:BuildRequires: ruby}
32 Obsoletes: libecasound
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define ruby_sitelibdir %(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]')
40 Ecasound is a software package designed for multitrack audio
41 processing. It can be used for simple tasks like audio playback,
42 recording and format conversions, as well as for multitrack effect
43 processing, mixing, recording and signal recycling. Ecasound supports
44 a wide range of audio inputs, outputs and effect algorithms. Several
45 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
46 libaudiofile and MikMod, are directly supported. One of the advantages
47 of ecasound's chain-based design is that effects can easily be
48 combined both in series and in parallel. Oscillators and MIDI-CCs can
49 be used for controlling effect parameters. Included user-interfaces
50 are ecasound - a versatile console mode interface, qtecasound - a
51 Qt-based X-interface and various command-line utils suitable for batch
55 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
56 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
57 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
58 wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
59 wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
60 wyrzucania zniekszta³ceñ) sygna³u.
62 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
63 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
64 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
65 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
66 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
67 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
68 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
69 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
70 interfejs u¿ytkownika - qtecasound.
73 Summary: Header files for ecasound libraries
74 Summary(pl): Pliki nag³ówkowe bibliotek ecasound
75 Group: Development/Libraries
76 Requires: %{name} = %{version}-%{release}
77 %{?with_alsa:Requires: alsa-lib-devel}
78 %{?with_arts:Requires: arts-devel}
79 %{?with_jack:Requires: jack-audio-connection-kit-devel}
80 Requires: libsamplerate-devel
81 Requires: libsndfile-devel
82 Requires: libstdc++-devel
83 Obsoletes: libecasound-devel
86 Header files for ecasound libraries.
88 %description devel -l pl
89 Pliki nag³ówkowe bibliotek ecasound.
92 Summary: Static ecasound libraries
93 Summary(pl): Statyczne biblioteki ecasound
94 Group: Development/Libraries
95 Requires: %{name}-devel = %{version}-%{release}
96 Obsoletes: libecasound-static
99 Static ecasound libraries.
101 %description static -l pl
102 Statyczne biblioteki ecasound.
104 %package -n python-%{name}
105 Summary: Python module for Ecasound
106 Summary(pl): Modu³ jêzyka Python dla programu ecasound
107 Group: Libraries/Python
108 Requires: %{name} = %{version}-%{release}
109 %pyrequires_eq python-modules
111 %description -n python-%{name}
112 Python module for Ecasound.
114 %description -n python-%{name} -l pl
115 Modu³ jêzyka Python dla programu ecasound.
117 %package -n ruby-%{name}
118 Summary: Ruby module for Ecasound
119 Summary(pl): Modu³ jêzyka Ruby dla programu ecasound
121 Requires: %{name} = %{version}-%{release}
124 %description -n ruby-%{name}
125 Ruby module for Ecasound.
127 %description -n ruby-%{name} -l pl
128 Modu³ jêzyka Ruby dla programu ecasound.
139 CXXFLAGS="%{rpmcflags} -D_REENTRANT %{!?debug:-DNDEBUG} -I/usr/include/ncurses"
140 # disable audiofile - ecasound has native support for wav and raw formats
141 # disable oss - ecasound works nicely with alsa oss emulation;
142 # in case of alsa building conditional, the oss should
144 # disable arts - 'not really useful' as said by ecasound author
146 %{!?with_alsa:--disable-alsa} \
147 %{!?with_arts:--disable-arts} \
148 --disable-audiofile \
149 %{!?with_jack:--disable-jack} \
150 %{?with_alsa:--disable-oss} \
151 --enable-samplerate \
153 --enable-sys-readline \
154 --enable-pyecasound \
156 --with-python-includes=%{py_incdir} \
157 --with-python-modules=%{py_libdir}
162 rm -rf $RPM_BUILD_ROOT
163 install -d $RPM_BUILD_ROOT%{py_sitedir}
166 DESTDIR=$RPM_BUILD_ROOT \
169 install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
170 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
171 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
174 rm -rf $RPM_BUILD_ROOT
176 %post -p /sbin/ldconfig
177 %postun -p /sbin/ldconfig
180 %defattr(644,root,root,755)
181 %doc BUGS NEWS README TODO
182 %attr(755,root,root) %{_bindir}/eca*
183 %attr(755,root,root) %{_libdir}/lib*.so.*.*
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{_bindir}/*-config
191 %attr(755,root,root) %{_libdir}/lib*.so
193 %{_includedir}/kvutils
194 %{_includedir}/libecasound
195 %{_includedir}/libecasoundc
198 %defattr(644,root,root,755)
201 %files -n python-%{name}
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{py_sitedir}/*.so
204 %{py_sitedir}/*.py[co]
207 %files -n ruby-%{name}
208 %defattr(644,root,root,755)
209 %{ruby_sitelibdir}/ecasound.rb