Репозиторий Sisyphus
Последнее обновление: 19 октября 2019 | Пакетов: 17506 | Посещений: 15301738
en ru br
Репозитории ALT
S:0.1.9-alt2
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_disable static
%def_enable check

Name: libsamplerate
Version: 0.1.9
Release: alt2

Summary: Sample Rate Converter audio library
License: BSD
Group: System/Libraries
Url: http://www.mega-nerd.com/SRC
Source: %url/%name-%version.tar.gz

%if_enabled check
%define libsndfile_ver 1.0.6
Requires: libsndfile >= %libsndfile_ver

BuildPreReq: libsndfile-devel >= %libsndfile_ver

# Automatically added by buildreq on Mon Sep 13 2004

BuildRequires: libfftw3-devel libsndfile-devel
%endif

%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}

%make_build

%check
%make -C tests check

%install
%makeinstall_std

rm -f doc/Makefile*

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

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

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

%files utils
%_bindir/*
%{?_enable_check:%exclude %_bindir/sndfile-resample}

%changelog

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

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