Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37401279
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_disable static

Name: libsamplerate
Version: 0.1.2
Release: alt1.0

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

%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: gcc-c++ gcc-g77 glib2 libfftw3-devel libsndfile-devel libstdc++-devel pkgconfig

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

%build
%configure \
   %{subst_enable static}

%make_build

%install
%makeinstall

%__rm -f doc/Makefile*

%post -p %post_ldconfig
%postun -p %postun_ldconfig

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

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc doc/*

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

%files utils
%_bindir/*

%changelog

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

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