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

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

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

%def_enable snapshot
%def_disable static
# libsndfile & alsa for testing and examples
%def_enable libsndfile
%def_enable alsa
%def_enable check

Name: libsamplerate
Version: 0.2.1
Release: alt1

Summary: Sample Rate Converter audio library
License: BSD-2-Clause
Group: System/Libraries
Url: http://libsndfile.github.io/libsamplerate/

%if_disabled snapshot
Source: https://github.com/libsndfile/%name/releases/download/%version/%name-%version.tar.bz2
%else
Vcs: https://github.com/libsndfile/libsamplerate.git
Source: %name-%version.tar
%endif

%if_enabled libsndfile
%define libsndfile_ver 1.0.6
Requires: libsndfile >= %libsndfile_ver
BuildRequires: libsndfile-devel >= %libsndfile_ver
%endif
BuildRequires: libalsa-devel libfftw3-devel

%description
libsamplerate is a Sample Rate Converter for audio. One example of where
such a thing would be useful is converting audio from the CD sample rate
of 44.1kHz to the 48kHz sample rate used by DAT players.

SRC is capable of arbitrary and time varying conversions; from
downsampling by a factor of 12 to upsampling by the same factor.
Arbitrary in this case means that the ratio of input and output sample
rates can be an irrational number. The conversion ratio can also vary
with time for speeding up and slowing down effects.

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

%description devel
This package contains development files required for building
%name-based software.

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

%description devel-static
This package contains development files required for building
statically linked %name-based software.

%package utils
Summary: Simple utilites from %name package
Group: Sound
Requires: %name = %version-%release

%description utils
This package contains utilites and example programs from %name package.

%prep
%setup

%build
%autoreconf -I m4
%configure \
   %{subst_enable static} \
   %{subst_enable libsndfile} \
   %{subst_enable alsa}
%nil
%make_build

%check
%make check

%install
%makeinstall_std

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog NEWS COPYING

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

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

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