]> git.pld-linux.org Git - packages/ecasound.git/blame - ecasound.spec
- release 3
[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
89f98dd0 11Version: 2.6.0
3c8a3694 12Release: 3
3d603d2e 13License: GPL v2+
8d9b8c33 14Group: Applications/Sound
8d9b8c33 15Source0: http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
89f98dd0 16# Source0-md5: 41f9445b9a9c0cde141831cb53d1ef8f
e7f32f62 17Patch0: %{name}-link.patch
dc713a61 18Patch1: %{name}-acam.patch
c7604fdd 19URL: http://ecasound.seul.org/
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
623441f4 26BuildRequires: libsamplerate-devel
1c1dbf6f 27BuildRequires: libsndfile-devel >= 1.0.12
58b3e884 28BuildRequires: libstdc++-devel
5db075a1 29BuildRequires: libtool >= 2:1.4d
4f372315 30BuildRequires: python-devel >= 2.2
97c63cc8 31BuildRequires: python-modules >= 2.2
d2597bfe 32BuildRequires: readline-devel >= 5.0
29a59427 33BuildRequires: rpm-pythonprov
f73a17ac 34%if %{with ruby}
35BuildRequires: rpmbuild(macros) >= 1.277
36BuildRequires: ruby-devel
f73a17ac 37%endif
cbc1046d 38Obsoletes: libecasound
8d9b8c33 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3e379c18 40
41%description
57ff1371 42Ecasound is a software package designed for multitrack audio
43processing. It can be used for simple tasks like audio playback,
44recording and format conversions, as well as for multitrack effect
45processing, mixing, recording and signal recycling. Ecasound supports
46a wide range of audio inputs, outputs and effect algorithms. Several
1c1dbf6f
JB
47open-source audio packages, like for instance ALSA, OSS, mpg123, lame
48and MikMod, are directly supported. One of the advantages of
49ecasound's chain-based design is that effects can easily be combined
50both in series and in parallel. Oscillators and MIDI-CCs can be used
51for controlling effect parameters. Included user-interfaces are
52ecasound - a versatile console mode interface, ecawave - a Qt-based
53X-interface and various command-line utils suitable for batch
57ff1371 54processing.
9bab5da3 55
33242adf
JR
56%description -l pl.UTF-8
57Ecasound jest programem do wielościeżkowej edycji dźwięku, który może
58być używany tak do prostych zadań typu odtwarzanie i nagrywanie muzyki
59czy też konwersji pomiędzy formatami plików muzycznych jak i do
60wielościeżkowego nakładania efektów, miksowania (przenikania,
61wyciszania), nagrywania i odzyskiwania (w domyśle odszumiania lub
62wyrzucania zniekształceń) sygnału.
66464718 63
33242adf 64Ecasound wspiera szeroką gamę źródeł i wyjść dźwięku oraz algorytmów
57ff1371 65do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
33242adf
JR
66projektów, takich jak ALSA, OSS, mpg123, lame czy też MikMod. Jedną z
67zalet programu ecasound jest możliwość łańcuchowego (szeregowego) lub
68równoległego łączenia efektów, które mogą być kontrolowane poprzez
1c1dbf6f 69oscylatory lub MIDI-CC. Pakiet ten zawiera tekstowy interfejs
33242adf
JR
70użytkownika oraz kilka innych narzędzi nadających się do przetwarzania
71wsadowego. Dostępny jest także graficzny, oparty na Qt interfejs
72użytkownika - ecawave.
3e379c18 73
4c8d1d09
JB
74%package devel
75Summary: Header files for ecasound libraries
832fd09f 76Summary(pl.UTF-8): Pliki nagłówkowe bibliotek ecasound
4c8d1d09 77Group: Development/Libraries
7ed0a343 78Requires: %{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 82Requires: libsamplerate-devel
07ebcfa1 83Requires: libsndfile-devel
93ea4fe1 84Requires: libstdc++-devel
4c8d1d09
JB
85Obsoletes: libecasound-devel
86
87%description devel
88Header files for ecasound libraries.
89
33242adf
JR
90%description devel -l pl.UTF-8
91Pliki nagłówkowe bibliotek ecasound.
4c8d1d09
JB
92
93%package static
94Summary: Static ecasound libraries
832fd09f 95Summary(pl.UTF-8): Statyczne biblioteki ecasound
4c8d1d09 96Group: Development/Libraries
7ed0a343 97Requires: %{name}-devel = %{version}-%{release}
4c8d1d09
JB
98Obsoletes: libecasound-static
99
100%description static
101Static ecasound libraries.
102
33242adf 103%description static -l pl.UTF-8
4c8d1d09
JB
104Statyczne biblioteki ecasound.
105
0d5d27e1 106%package -n python-%{name}
107Summary: Python module for Ecasound
832fd09f 108Summary(pl.UTF-8): Moduł języka Python dla programu ecasound
45b52d91 109Group: Libraries/Python
7ed0a343 110Requires: %{name} = %{version}-%{release}
e7f32f62 111%pyrequires_eq python-modules
0d5d27e1 112
113%description -n python-%{name}
e7f32f62 114Python module for Ecasound.
0d5d27e1 115
33242adf
JR
116%description -n python-%{name} -l pl.UTF-8
117Moduł języka Python dla programu ecasound.
0d5d27e1 118
8c052ed5
JB
119%package -n ruby-%{name}
120Summary: Ruby module for Ecasound
832fd09f 121Summary(pl.UTF-8): Moduł języka Ruby dla programu ecasound
8c052ed5 122Group: Libraries
7ed0a343 123Requires: %{name} = %{version}-%{release}
4dc76b24 124%{?ruby_mod_ver_requires_eq}
8c052ed5
JB
125
126%description -n ruby-%{name}
127Ruby module for Ecasound.
128
33242adf
JR
129%description -n ruby-%{name} -l pl.UTF-8
130Moduł 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 142CXXFLAGS="%{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
165rm -rf $RPM_BUILD_ROOT
ebc4a1ea 166install -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
178rm -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
This page took 0.314353 seconds and 4 git commands to generate.