%define name ecasound %define version 1.7.9r13 %define release 3mdk %define _prefix /usr Summary: ecasound - multitrack audio processing tool Name: %{name} Version: %{version} Release: %{release} Source: http://ecasound.seul.org/download/ecasound-%{version}.tar.bz2 Copyright: Kai Vehmanen URL: http://www.wakkanet.fi/~kaiv Group: Applications/Sound Patch: ecasound-qt2.patch BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Packager: Frank Meurer Requires: qt2 %description Ecasound is a software package designed for multitrack audio processing. It can be used for simple tasks like audio playback, recording and format conversions, as well as for multitrack effect processing, mixing, recording and signal recycling. Ecasound supports a wide range of audio inputs, outputs and effect algorithms. Several open-source audio packages, like for instance ALSA, OSS, mpg123, lame, libaudiofile and MikMod, are directly supported. One of the advantages of ecasound's chain-based design is that effects can easily be combined both in series and in parallel. Oscillators and MIDI-CCs can be used for controlling effect parameters. Included user-interfaces are ecasound - a versatile console mode interface, qtecasound - a Qt-based X-interface and various command-line utils suitable for batch processing. %package devel Summary: Ecasound - Library header files Group: Applications/Sound Requires: ecasound %description devel Headers files needed for compiling other programs against ecasound libraries. This is package is not required for installing other ecasound RPMs. %package qt Summary: Qt-based user-interface to ecasound Group: X11/Applications/Sound Requires: ecasound %description qt Qt-based X-interface to ecasound. %prep %setup %patch0 -p1 -b .orig %build ./configure --prefix=/usr --disable-static make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr make prefix=${RPM_BUILD_ROOT}/usr install make prefix=${RPM_BUILD_ROOT}/usr delete-static-libs make prefix=${RPM_BUILD_ROOT}/usr strip-shared-libs %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README COPYING BUGS TODO FAQ INSTALL NEWS Documentation /usr/man/man1/ecasound.1 /usr/man/man1/qtecasound.1 /usr/man/man1/ecatools.1 /usr/man/man1/ecasound-iam.1 /usr/man/man5/ecasoundrc.5 /usr/bin/ecasound /usr/bin/ecafixdc /usr/bin/ecanormalize /usr/bin/ecaplay /usr/lib/libecasound.* /usr/lib/libkvutils.* %config /usr/share/ecasound/generic_oscillators %config /usr/share/ecasound/effect_presets %files devel %defattr(-, root, root) /usr/include/ecasound /usr/include/kvutils %files qt %defattr(-, root, root) /usr/bin/qtecasound /usr/lib/libqtecasound.* %changelog * Wed Aug 30 2000 Frank Meurer - first ecasound Mandrake spec * Fri Jan 14 2000 Chmouel Boudjnah 1.0-1mdk - First spec file for Mandrake distribution. # end of file