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