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