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