Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37567225
en ru br
Репозитории ALT
S:2.10.0-alt2
5.1: 2.0-alt2
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libvamp

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

%def_disable static

Name: libvamp
Version: 2.0
Release: alt2

Summary: plugin system for plugins that extract descriptive information from audio data
License: %bsdstyle
Group: System/Libraries
Url: http://www.vamp-plugins.org/
Packager: Timur Batyrshin <erthad at altlinux.org>

Source0: %name-%version.tar.bz2
BuildPreReq: rpm-build-licenses

BuildRequires: gcc-c++ libsndfile-devel

%description
Vamp is an API for C and C++ plugins that process sampled audio data
to produce descriptive output (measurements or semantic observations).

%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name
%endif

%package -n vamp-tools
Summary: Tools for use with VAMP
Group: Development/Other

%description -n vamp-tools
This package contains VAMP RDF template generator and a command-line host for
VAMP audio analysis plugins.

%package -n vamp-example-plugins
Summary: Example plugins for Vamp
Group: Sound

%description -n vamp-example-plugins
Example plugins implemented using the C++ classes.

These plugins are intended to be useful examples you can draw code
from in order to provide the basic shape and structure of a Vamp
plugin.  They are also intended to be correct and useful, if simple.

- ZeroCrossing calculates the positions and density of zero-crossing
points in an audio waveform.
- SpectralCentroid calculates the centre of gravity of the frequency
domain representation of each block of audio.
- PowerSpectrum calculates a power spectrum from the input audio.
- AmplitudeFollower is a simple implementation of SuperCollider's
amplitude-follower algorithm.
- PercussionOnsetDetector estimates the locations of percussive
onsets.
- FixedTempoEstimator calculates a single beats-per-minute value
which is an estimate of the tempo of a piece of music that is assumed
to be of fixed tempo, using autocorrelation of a frequency domain
energy rise metric.


%prep
%setup

%build
%configure %{subst_enable static}
%make_build

%install
%makeinstall_std
mv %buildroot%_prefix/libX %buildroot%_libdir

%files
%_libdir/*.so.*
%doc CHANGELOG README README.compat

%files devel
%_libdir/*.so
%_pkgconfigdir/*.pc
%dir %_includedir/vamp
%dir %_includedir/vamp-sdk
%dir %_includedir/vamp-hostsdk
%_includedir/*/*.h

%if_enabled static
%files devel-static
%_libdir/lib%name.a
%endif

%files -n vamp-tools
%_bindir/*

%files -n vamp-example-plugins
%_libdir/vamp/vamp-example-plugins*

%changelog

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

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