+
Summary: Software package for multitrack audio processing
Summary(pl): Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
Name: ecasound
-Version: 1.8.0d14
+Version: 2.0.3
Release: 2
License: GPL
Group: Applications/Sound
+Group(de): Applikationen/Laut
Group(pl): Aplikacje/D¼wiêk
Source0: http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
-Patch0: ecasound-ncurses.patch.bz2
-Patch1: ecasound-kvutils.patch.bz2
-BuildRequires: qt-devel >= 2.0
-BuildRequires: audiofile-devel >= 0.1.7
-BuildRequires: readline-devel
-BuildRequires: ncurses-devel >= 5.0
+Patch0: %{name}-am_fix.patch
+Patch1: %{name}-ac_fix.patch
+Patch2: %{name}-readline.patch
+Patch3: %{name}-am15.patch
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: audiofile-devel >= 0.2.0
+%ifnarch sparc sparc64
+%{!?_without_alsa:BuildRequires: alsa-lib-devel}
+%endif
+BuildRequires: libtool
+BuildRequires: libstdc++-devel
+BuildRequires: readline-devel >= 4.2
+BuildRequires: rpm-pythonprov
+BuildRequires: python-devel >= 2.1
Requires: lame
Requires: mpg123
+Requires: libecasound = %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%include /usr/lib/rpm/macros.python
+
%description
Ecasound is a software package designed for multitrack audio
processing. It can be used for simple tasks like audio playback,
Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
-wielo¶cie¿kowego przetwarzania ...(TODO)...
+wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
+wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
+wyrzucania zniekszta³ceñ) sygna³u.
Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
Summary: Ecasound libraries
Summary(pl): Biblioteki programu ecasound
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
%description -n libecasound
Ecasound libraries.
Summary: Ecasound headers
Summary(pl): Pliki nag³ówkowe bibliotek programu ecasound
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: libecasound = %{version}
%description -n libecasound-devel
Summary: Ecasound static libraries
Summary(pl): Biblioteki statyczne programu ecasound
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: libecasound-devel = %{version}
%description -n libecasound-static
%description -l pl -n libecasound-static
Biblioteki statyczne programu ecasound.
-%package -n qtecasound
-Summary: Ecasound QT frontend
-Summary(pl): Interfejs graficzny dla programu ecasound
+%package plugins
+Summary: Ecasound plugins (ALSA, Audio File Library, aRts)
+Summary(pl): Wtyczki dla programu ecasound (ALSA, Audio File Library, aRts)
Group: Applications/Sound
+Group(de): Applikationen/Laut
Group(pl): Aplikacje/D¼wiêk
+Requires: ecasound = %{version}
-%description -n qtecasound
-This is qtecasound, Qt-based X-interface for ecasound. It is usable
-but isn't yet as powerful as the console mode version. This program
-features:
-- control panel (start, stop, rewind, forward, ...)
-- session setup (load, save and view chainsetups)
-- chainsetup view (add, remove, attach and view inputs, outputs and
- chains; enable/disable chains)
-- waveform view (supports caching)
-- chain view (chain and effect status)
-
-%description -l pl -n qtecasound
-N/A.
-
-%package -n libqtecasound
-Summary: Ecasound QT frontend library
-Summary(pl): Biblioteki interfejsu graficznego programu ecasound
-Group: Development/Libraries
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-
-%description -n libqtecasound
-Ecasound QT frontend library.
+%description plugins
+This package contains ecasound plugins, which give support for ALSA,
+Audio File Library and aRts.
-%description -l pl -n libqtecasound
-Biblioteki interfejsu graficznego programu ecasound.
+%description -l pl plugins
+Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
+wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
+Library oraz aRts.
-%package -n libqtecasound-devel
-Summary: Ecasound QT frontend library headers
-Summary(pl): Pliki nag³ówkowe bibliotek interfejsu graficznego programu ecasound
-Group: Development/Libraries
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Requires: ibqtecasound = %{version}
-
-%description -n libqtecasound-devel
-Ecasound QT frontend library headers.
-
-%description -l pl -n libqtecasound-devel
-Pliki nag³ówkowe bibliotek interfejsu graficznego programu ecasound.
-
-%package -n libqtecasound-static
-Summary: Ecasound QT frontend static library
-Summary(pl): Biblioteki stayczne interfejsu graficznego programu ecasound
-Group: Development/Libraries
-Group(fr): Development/Librairies
-Group(pl): Programowanie/Biblioteki
-Requires: libqtecasound-devel = %{version}
+%package -n python-%{name}
+Summary: Python module for Ecasound
+Summary(pl): Modu³ jêzyka Python dla biblioteki programu ecasound
+Group: Development/Languages/Python
+Group(de): Entwicklung/Sprachen/Python
+Group(pl): Programowanie/Jêzyki/Python
+%requires_eq python
-%description -n libqtecasound-static
-Ecasound QT frontend static library.
+%description -n python-%{name}
+Python module for Ecasound library.
-%description -l pl -n libqtecasound-static
-Biblioteki stayczne interfejsu graficznego programu ecasound.
+%description -l pl -n python-%{name}
+Modu³ jêzyka Python dla biblioteki programu ecasound.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
-automake
+rm missing
+%ifarch sparc sparc64
+libtoolize --copy --force
+%endif
+aclocal
autoconf
-LDFLAGS="-s"
-CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
-export LDFLAGS CXXFLAGS
+automake -a -c
+CXXFLAGS="%{rpmcflags} -D_REENTRANT"
%configure \
- --with-qt-includes=%{_prefix}/X11R6/include \
- --with-qt-libraries=%{_prefix}/X11R6/lib \
- --enable-sys-readline
+ --enable-sys-readline \
+ --with-python-includes=%{py_incdir} \
+ --with-python-modules=%{py_libdir} \
+ %{?_without_alsa:--disable-alsa}
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
+%{__install} -d $RPM_BUILD_ROOT%{py_sitedir}
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/*
+%{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
-%clean
-rm -rf $RPM_BUILD_ROOT
+install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
%post -n libecasound -p /sbin/ldconfig
%postun -n libecasound -p /sbin/ldconfig
-%post -n libqtecasound -p /sbin/ldconfig
-%postun -n libqtecasound -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ecaconvert
%attr(755,root,root) %{_bindir}/ecafixdc
%attr(755,root,root) %{_bindir}/ecanormalize
%attr(755,root,root) %{_bindir}/ecaplay
+%attr(755,root,root) %{_bindir}/ecasignalview
%attr(755,root,root) %{_bindir}/ecasound
%{_mandir}/man1/eca*
%{_mandir}/man5/eca*
%files -n libecasound-devel
%defattr(644,root,root,755)
-%{_includedir}/ecasound/[^qe]*
+%attr(755,root,root) %{_bindir}/ecasound-config
+%attr(755,root,root) %{_bindir}/ecasoundc-config
+%{_includedir}/ecasound/*
%{_includedir}/kvutils/*
%attr(755,root,root) %{_libdir}/libkvutils.so
%attr(755,root,root) %{_libdir}/libkvutils.la
%files -n libecasound-static
%defattr(644,root,root,755)
%{_libdir}/libkvutils.a
-%{_libdir}/libecasound*.a
-
-%files -n qtecasound
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/qtecasound
-%{_mandir}/man1/qt*
-
-%files -n libqtecasound
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libqtecasound*.so.*.*
+%{_libdir}/libecasound.a
+%{py_dyndir}/*.a
-%files -n libqtecasound-devel
+%files plugins
%defattr(644,root,root,755)
-%{_includedir}/ecasound/qe*
-%attr(755,root,root) %{_libdir}/libqtecasound*.so
-%attr(755,root,root) %{_libdir}/libqtecasound*.la
+%dir %{_libdir}/ecasound-plugins
+%attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
+%{_libdir}/ecasound-plugins/lib*.la
+%{_libdir}/ecasound-plugins/lib*.a
-%files -n libqtecasound-static
+%files -n python-%{name}
%defattr(644,root,root,755)
-%{_libdir}/libqtecasound*.a
+%attr(755,root,root) %{py_dyndir}/*.so
+%{py_sitedir}/*.py[co]