Репозиторий Sisyphus
Последнее обновление: 20 октября 2021 | Пакетов: 17365 | Посещений: 22115829
en ru br
Репозитории ALT

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

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

%define realname soxr

Name: lib%realname
Version: 0.1.2
Release: alt1
Group: System/Libraries
Summary: The SoX Resampler library

License: LGPLv2+
Url: https://sourceforge.net/p/soxr/wiki/Home/
Source0: http://downloads.sourceforge.net/%name/%realname-%version-Source.tar.xz

# Automatically added by buildreq on Wed Apr 22 2015 (-bi)

# optimized out: cmake cmake-modules elfutils pkg-config python-base xz
BuildRequires: ccmake ctest

%description
The SoX Resampler library `libsoxr' performs one-dimensional sample-rate
conversion -- it may be used, for example, to resample PCM-encoded audio.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name%{?_isa} = %version-%release

%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%prep
%setup -n %realname-%version-Source

%build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DLIB_INSTALL_DIR:PATH=%_libdir \
-DCMAKE_C_FLAGS:STRING="%optflags" ../.
%make_build

%install
cd build
make DESTDIR=%buildroot install

# Remove docs and use the rpmbuild macro instead

rm -rf %buildroot%_docdir/*

%files
%doc LICENCE NEWS README
%_libdir/*.so.*

%files devel
%doc examples
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/soxr-lsr.pc
%_pkgconfigdir/soxr.pc

%changelog

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

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