]>
Commit | Line | Data |
---|---|---|
e7f32f62 | 1 | # |
2 | # Conditional build: | |
93ea4fe1 JB |
3 | %bcond_without alsa # without ALSA support (implies without JACK) |
4 | %bcond_without jack # without JACK support | |
d6c18626 | 5 | %bcond_without ruby # without ruby support |
93ea4fe1 | 6 | %bcond_with arts # with aRts support |
e7f32f62 | 7 | # |
8d9b8c33 | 8 | Summary: Software package for multitrack audio processing |
832fd09f | 9 | Summary(pl.UTF-8): Oprogramowanie do wielościeżkowego przetwarzania dźwięku |
8d9b8c33 | 10 | Name: ecasound |
89f98dd0 | 11 | Version: 2.6.0 |
3c8a3694 | 12 | Release: 3 |
3d603d2e | 13 | License: GPL v2+ |
8d9b8c33 | 14 | Group: Applications/Sound |
8d9b8c33 | 15 | Source0: http://ecasound.seul.org/download/%{name}-%{version}.tar.gz |
89f98dd0 | 16 | # Source0-md5: 41f9445b9a9c0cde141831cb53d1ef8f |
e7f32f62 | 17 | Patch0: %{name}-link.patch |
dc713a61 | 18 | Patch1: %{name}-acam.patch |
c7604fdd | 19 | URL: http://ecasound.seul.org/ |
4761a83b | 20 | %{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0} |
93ea4fe1 | 21 | %{?with_arts:BuildRequires: arts-devel} |
5f4f2bac | 22 | BuildRequires: autoconf >= 2.50 |
1c1dbf6f | 23 | BuildRequires: automake >= 1.6.1 |
93ea4fe1 | 24 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel} |
03ed783d | 25 | BuildRequires: ladspa-devel |
623441f4 | 26 | BuildRequires: libsamplerate-devel |
1c1dbf6f | 27 | BuildRequires: libsndfile-devel >= 1.0.12 |
58b3e884 | 28 | BuildRequires: libstdc++-devel |
5db075a1 | 29 | BuildRequires: libtool >= 2:1.4d |
4f372315 | 30 | BuildRequires: python-devel >= 2.2 |
97c63cc8 | 31 | BuildRequires: python-modules >= 2.2 |
d2597bfe | 32 | BuildRequires: readline-devel >= 5.0 |
29a59427 | 33 | BuildRequires: rpm-pythonprov |
f73a17ac | 34 | %if %{with ruby} |
35 | BuildRequires: rpmbuild(macros) >= 1.277 | |
36 | BuildRequires: ruby-devel | |
f73a17ac | 37 | %endif |
cbc1046d | 38 | Obsoletes: libecasound |
8d9b8c33 | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3e379c18 | 40 | |
41 | %description | |
57ff1371 | 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 | |
1c1dbf6f JB |
47 | open-source audio packages, like for instance ALSA, OSS, mpg123, lame |
48 | and MikMod, are directly supported. One of the advantages of | |
49 | ecasound's chain-based design is that effects can easily be combined | |
50 | both in series and in parallel. Oscillators and MIDI-CCs can be used | |
51 | for controlling effect parameters. Included user-interfaces are | |
52 | ecasound - a versatile console mode interface, ecawave - a Qt-based | |
53 | X-interface and various command-line utils suitable for batch | |
57ff1371 | 54 | processing. |
9bab5da3 | 55 | |
33242adf JR |
56 | %description -l pl.UTF-8 |
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. | |
66464718 | 63 | |
33242adf | 64 | Ecasound wspiera szeroką gamę źródeł i wyjść dźwięku oraz algorytmów |
57ff1371 | 65 | do jego przetwarzania. Ecasound wspiera wiele wolnych (open source) |
33242adf JR |
66 | projektów, takich jak ALSA, OSS, mpg123, lame czy też MikMod. Jedną z |
67 | zalet programu ecasound jest możliwość łańcuchowego (szeregowego) lub | |
68 | równoległego łączenia efektów, które mogą być kontrolowane poprzez | |
1c1dbf6f | 69 | oscylatory lub MIDI-CC. Pakiet ten zawiera tekstowy interfejs |
33242adf JR |
70 | użytkownika oraz kilka innych narzędzi nadających się do przetwarzania |
71 | wsadowego. Dostępny jest także graficzny, oparty na Qt interfejs | |
72 | użytkownika - ecawave. | |
3e379c18 | 73 | |
4c8d1d09 JB |
74 | %package devel |
75 | Summary: Header files for ecasound libraries | |
832fd09f | 76 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek ecasound |
4c8d1d09 | 77 | Group: Development/Libraries |
7ed0a343 | 78 | Requires: %{name} = %{version}-%{release} |
07ebcfa1 JB |
79 | %{?with_alsa:Requires: alsa-lib-devel} |
80 | %{?with_arts:Requires: arts-devel} | |
81 | %{?with_jack:Requires: jack-audio-connection-kit-devel} | |
93ea4fe1 | 82 | Requires: libsamplerate-devel |
07ebcfa1 | 83 | Requires: libsndfile-devel |
93ea4fe1 | 84 | Requires: libstdc++-devel |
4c8d1d09 JB |
85 | Obsoletes: libecasound-devel |
86 | ||
87 | %description devel | |
88 | Header files for ecasound libraries. | |
89 | ||
33242adf JR |
90 | %description devel -l pl.UTF-8 |
91 | Pliki nagłówkowe bibliotek ecasound. | |
4c8d1d09 JB |
92 | |
93 | %package static | |
94 | Summary: Static ecasound libraries | |
832fd09f | 95 | Summary(pl.UTF-8): Statyczne biblioteki ecasound |
4c8d1d09 | 96 | Group: Development/Libraries |
7ed0a343 | 97 | Requires: %{name}-devel = %{version}-%{release} |
4c8d1d09 JB |
98 | Obsoletes: libecasound-static |
99 | ||
100 | %description static | |
101 | Static ecasound libraries. | |
102 | ||
33242adf | 103 | %description static -l pl.UTF-8 |
4c8d1d09 JB |
104 | Statyczne biblioteki ecasound. |
105 | ||
0d5d27e1 | 106 | %package -n python-%{name} |
107 | Summary: Python module for Ecasound | |
832fd09f | 108 | Summary(pl.UTF-8): Moduł języka Python dla programu ecasound |
45b52d91 | 109 | Group: Libraries/Python |
7ed0a343 | 110 | Requires: %{name} = %{version}-%{release} |
e7f32f62 | 111 | %pyrequires_eq python-modules |
0d5d27e1 | 112 | |
113 | %description -n python-%{name} | |
e7f32f62 | 114 | Python module for Ecasound. |
0d5d27e1 | 115 | |
33242adf JR |
116 | %description -n python-%{name} -l pl.UTF-8 |
117 | Moduł języka Python dla programu ecasound. | |
0d5d27e1 | 118 | |
8c052ed5 JB |
119 | %package -n ruby-%{name} |
120 | Summary: Ruby module for Ecasound | |
832fd09f | 121 | Summary(pl.UTF-8): Moduł języka Ruby dla programu ecasound |
8c052ed5 | 122 | Group: Libraries |
7ed0a343 | 123 | Requires: %{name} = %{version}-%{release} |
4dc76b24 | 124 | %{?ruby_mod_ver_requires_eq} |
8c052ed5 JB |
125 | |
126 | %description -n ruby-%{name} | |
127 | Ruby module for Ecasound. | |
128 | ||
33242adf JR |
129 | %description -n ruby-%{name} -l pl.UTF-8 |
130 | Moduł języka Ruby dla programu ecasound. | |
8c052ed5 | 131 | |
3e379c18 | 132 | %prep |
133 | %setup -q | |
0cfbad65 | 134 | %patch0 -p1 |
dc713a61 | 135 | %patch1 -p1 |
3e379c18 | 136 | |
137 | %build | |
601d6619 | 138 | %{__libtoolize} |
cbc1046d | 139 | %{__aclocal} |
cdf12d9a | 140 | %{__autoconf} |
141 | %{__automake} | |
e7f32f62 | 142 | CXXFLAGS="%{rpmcflags} -D_REENTRANT %{!?debug:-DNDEBUG} -I/usr/include/ncurses" |
143 | # disable audiofile - ecasound has native support for wav and raw formats | |
144 | # disable oss - ecasound works nicely with alsa oss emulation; | |
145 | # in case of alsa building conditional, the oss should | |
146 | # be enabled | |
147 | # disable arts - 'not really useful' as said by ecasound author | |
8d9b8c33 | 148 | %configure \ |
93ea4fe1 JB |
149 | %{!?with_alsa:--disable-alsa} \ |
150 | %{!?with_arts:--disable-arts} \ | |
d59c1d02 | 151 | --disable-audiofile \ |
93ea4fe1 JB |
152 | %{!?with_jack:--disable-jack} \ |
153 | %{?with_alsa:--disable-oss} \ | |
623441f4 | 154 | --enable-samplerate \ |
f16f7ba7 | 155 | --enable-shared \ |
d59c1d02 PG |
156 | --enable-sys-readline \ |
157 | --enable-pyecasound \ | |
158 | --with-largefile \ | |
159 | --with-python-includes=%{py_incdir} \ | |
160 | --with-python-modules=%{py_libdir} | |
2e638d5c | 161 | |
3e379c18 | 162 | %{__make} |
163 | ||
164 | %install | |
165 | rm -rf $RPM_BUILD_ROOT | |
ebc4a1ea | 166 | install -d $RPM_BUILD_ROOT%{py_sitedir} |
6a2076e0 | 167 | |
d59c1d02 PG |
168 | %{__make} install \ |
169 | DESTDIR=$RPM_BUILD_ROOT \ | |
170 | mandir=%{_mandir} | |
3e379c18 | 171 | |
13bd5966 | 172 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
173 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
1c1dbf6f | 174 | %py_postclean |
dc713a61 | 175 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
0d5d27e1 | 176 | |
3e379c18 | 177 | %clean |
178 | rm -rf $RPM_BUILD_ROOT | |
179 | ||
4c8d1d09 JB |
180 | %post -p /sbin/ldconfig |
181 | %postun -p /sbin/ldconfig | |
182 | ||
3e379c18 | 183 | %files |
8d9b8c33 | 184 | %defattr(644,root,root,755) |
e7f32f62 | 185 | %doc BUGS NEWS README TODO |
186 | %attr(755,root,root) %{_bindir}/eca* | |
dc713a61 JB |
187 | %attr(755,root,root) %{_libdir}/libecasound.so.*.*.* |
188 | %attr(755,root,root) %ghost %{_libdir}/libecasound.so.20 | |
189 | %attr(755,root,root) %{_libdir}/libecasoundc.so.*.*.* | |
190 | %attr(755,root,root) %ghost %{_libdir}/libecasoundc.so.1 | |
191 | %attr(755,root,root) %{_libdir}/libkvutils.so.*.*.* | |
192 | %attr(755,root,root) %ghost %{_libdir}/libkvutils.so.4 | |
e7f32f62 | 193 | %{_datadir}/ecasound |
dc713a61 JB |
194 | %{_mandir}/man1/eca*.1* |
195 | %{_mandir}/man5/ecasoundrc.5* | |
3e379c18 | 196 | |
4c8d1d09 JB |
197 | %files devel |
198 | %defattr(644,root,root,755) | |
dc713a61 JB |
199 | %attr(755,root,root) %{_bindir}/libecasound-config |
200 | %attr(755,root,root) %{_bindir}/libecasoundc-config | |
201 | %attr(755,root,root) %{_libdir}/libecasound.so | |
202 | %attr(755,root,root) %{_libdir}/libecasoundc.so | |
203 | %attr(755,root,root) %{_libdir}/libkvutils.so | |
204 | %{_libdir}/libecasound.la | |
205 | %{_libdir}/libecasoundc.la | |
206 | %{_libdir}/libkvutils.la | |
4c8d1d09 JB |
207 | %{_includedir}/kvutils |
208 | %{_includedir}/libecasound | |
209 | %{_includedir}/libecasoundc | |
210 | ||
211 | %files static | |
212 | %defattr(644,root,root,755) | |
dc713a61 JB |
213 | %{_libdir}/libecasound.a |
214 | %{_libdir}/libecasoundc.a | |
215 | %{_libdir}/libkvutils.a | |
4c8d1d09 | 216 | |
0d5d27e1 | 217 | %files -n python-%{name} |
218 | %defattr(644,root,root,755) | |
dc713a61 JB |
219 | %attr(755,root,root) %{py_sitedir}/pyecasound.so |
220 | %{py_sitedir}/ecacontrol.py[co] | |
221 | %{py_sitedir}/eci.py[co] | |
222 | %{py_sitedir}/pyeca.py[co] | |
8c052ed5 | 223 | |
d6c18626 | 224 | %if %{with ruby} |
8c052ed5 JB |
225 | %files -n ruby-%{name} |
226 | %defattr(644,root,root,755) | |
227 | %{ruby_sitelibdir}/ecasound.rb | |
d6c18626 | 228 | %endif |