Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37048209
en ru br
Репозитории ALT
4.1: 2.4.5-alt1
4.0: 2.4.5-alt1
3.0: 2.4.0-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: ecasound

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define dev_ver %nil
%define pre %nil
%def_disable static

Name: ecasound
Version: 2.4.5
Release: alt1%dev_ver%pre

Summary: Multitrack Audio Processing Tool

Packager: Alex V. Myltsev <avm at altlinux.ru>

Group: Sound
License: GPL/LGPL
Url: http://www.eca.cx/ecasound/

Source: http://%name.seul.org/download/%name-%version%dev_ver%pre.tar.gz
Patch1: %name-2.4.3-fix-doc-gen.patch

#%%setup_python_module py%name


%define jack_ver 0.90.0
%define alsa_ver 1.0.0

Requires: lib%name = %version-%release
Requires: libjack >= %jack_ver
BuildPreReq: jackit-devel >= %jack_ver
BuildPreReq: ruby, libruby-devel

# Automatically added by buildreq on Mon Jan 17 2005 (-bi)

BuildRequires: XFree86-libs gcc-c++ ghostscript-classic ghostscript-common ghostscript-module-X ghostscript-utils glib glib2-devel hevea jackit-devel ladspa_sdk libalsa-devel libarts-devel libaudiofile-devel libgimp-print libncurses-devel libreadline-devel libsamplerate-devel libsndfile-devel libstdc++-devel libtinfo-devel ocaml-runtime python-base python-dev python-modules-compiler python-modules-encodings rpm-build-python ruby-stdlibs tetex-core tetex-dvips tetex-latex yodl

%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.
Effects and audio objects can be combined in various ways, and their
parameters can be controlled by operator objects like oscillators
and MIDI-CCs. As most functionality is located in shared libraries,
creating alternative user-interfaces is easy. A versatile console mode
interface is included in the package.

%description -l ru_RU.KOI8-R
Ecasound - это пакет программ для работы с многодорожечным звуком.
Он может быть использован как для выполнения простых задач вроде
воспроизведения записи и преобразования из одного формата в другой,
для и для обработки звука эффектами, сведения и т.д. Ecasound
поддерживает практически все звуковые серверы и большое количество
звуковых эффектов, в частности, LADSPA. Программа может управляться
извне по протоколам OSC и MIDI. Поскольку основная часть функций
находится в разделяемых библиотек, написание графических надстроек
над ecasound проблемой не является. В пакет входит мощная консольная
оболочка к ecasound.

%package -n lib%name
Summary: Shared library for %name
Group: System/Libraries

%description -n lib%name
This package contains shared libraries required for %name to work.

%package -n python-modules-%name
Summary: Python bindings to ecasound control interface
Group: Sound
Obsoletes: %name-python
Provides: %name-python = %version-%release
Requires: %name = %version-%release

%description -n python-modules-%name
Python bindings to ecasound control interface.

%package -n ruby-%name
Summary: Rubi bindings to ecasound control interface
Group: Sound
Obsoletes: %name-ruby
Provides: %name-ruby = %version-%release
Requires: %name = %version-%release

%description -n ruby-%name
Ruby bindings to ecasound control interface.

%package devel
Summary: Development files for Ecasound
Group: Sound
Requires: lib%name = %version-%release

%description devel
Headers files and static libraries needed for compiling other programs
against ecasound.

%define python_libdir %_libdir/python%__python_version
%define python_site_packages_dir %python_libdir/site-packages
%define __docdir %_docdir/%name-%version

%prep
%setup -q -n %name-%version%dev_ver%pre
%patch1 -p1
%__subst 's,libecasound_la_LIBADD = $(eca_LIBADD),libecasound_la_LIBADD = $(eca_LIBADD) $(top_builddir)/kvutils/libkvutils.la,' libecasound/Makefile.am

%build
%__rm -f missing
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf

%configure  \
   %{subst_enable static} \
   --enable-sys-readline \
   --enable-alsa-rawmidi \
   --enable-pyecasound \
   --with-python-modules=%python_libdir \
   --with-largefile \
   --with-jack=%_prefix

%make_build

# Copy hevea.sty, so LaTeX can find it (ugly hack)

ln -s %_libdir/hevea/hevea.sty Documentation/users_guide/
# Now we can build the docs :-]
%make_build -C Documentation docs

%install
%make_install DESTDIR=%buildroot ECA_S_RUBY_SITEDIR=%ruby_sitearchdir install

# install docs

%__mkdir_p %buildroot%__docdir/{html/{programmers_guide,users_guide},printable,examples}
%__cp NEWS README INSTALL BUGS %buildroot%__docdir
%__cp Documentation/*.html %buildroot%__docdir/html/
%__cp -r Documentation/programmers_guide/html_* %buildroot%__docdir/html/programmers_guide/
%__cp Documentation/programmers_guide/*.pdf %buildroot%__docdir/printable/
%__cp Documentation/programmers_guide/*.txt %buildroot%__docdir/printable/
%__cp -r Documentation/users_guide/html_* %buildroot%__docdir/html/users_guide/
%__cp Documentation/users_guide/*pdf %buildroot%__docdir/printable/
%__cp examples/{README,*.c*,*.py} %buildroot%__docdir/examples

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/*
%exclude %_bindir/*-config
%_mandir/man1/*
%_mandir/man5/*
%dir %__docdir
%dir %__docdir/html
%dir %__docdir/printable
%__docdir/[A-Z]*
%__docdir/html/*.html
%__docdir/html/users_guide
%__docdir/printable/ecasound_users_guide.pdf
%config %_datadir/ecasound/*

%files -n python-modules-%name
%python_site_packages_dir/*.py*
%python_site_packages_dir/*.so

%files -n ruby-%name
%ruby_sitearchdir/*

%files -n lib%name
%_libdir/*.so.*

%files devel
%_bindir/*-config
%_includedir/*
%_libdir/*.so
%__docdir/html/programmers_guide
%__docdir/printable/ecasound_eci_doc.pdf
%__docdir/printable/ecasound_programmers_guide.txt
%__docdir/examples

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin