Summary: A real-time library for audio sampling rate conversion Name: libresample Version: 0.1.3 Release: 7_2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://ccrma-www.stanford.edu/~jos/resample/Free_Resampling_Software.html Source0: http://ccrma.stanford.edu/~jos/gz/libresample-%{version}.tgz Patch0: libresample-0.1.3-shlib-cmake.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake >= 2.4 BuildRequires: doxygen BuildRequires: libsndfile-devel BuildRequires: libsamplerate-devel %lib_dependencies %description A real-time library for audio sampling rate conversion providing several useful features relative to resample-1.7 on which it is based: * It should build "out of the box" on more platforms, including Linux, Solaris, and Mac OS X (using the included configure script). There is also a Visual C++ project file for building under Windows. * Input and output signals are in memory (as opposed to sound files). * Computations are in floating-point (instead of fixed-point). * Filter table increased by a factor of 32, yielding more accurate results, even without linear interpolation (which also makes it faster). * Data can be processed in small chunks, enabling time-varying resampling ratios (ideal for time-warping applications and supporting an ``external clock input'' in software). * Easily applied to any number of simultaneous data channels %lib_package resample 1 %prep %setup0 -q %patch0 -p1 %build %cmake . make VERBOSE=1 %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc LICENSE.txt README.txt docs/html %{_bindir}/resample-sndfile %changelog * Thu Aug 13 2009 Axel Thimm - 0.1.3-7_2 - Fix Source URL. * Wed Aug 05 2009 Tim Verhoeven - 0.1.3-7_1 - Initial Atrpms version based on 0.1.3. * Wed Oct 15 2008 Jeffrey C. Ollie - 0.1.3-7 - Relax CMake requirements * Thu Sep 11 2008 Jeffrey C. Ollie - 0.1.3-6 - Add a patch that switches to cmake for building and build a shared library. * Mon Feb 11 2008 Jeffrey C. Ollie - 0.1.3-5 - Rebuild for GCC 4.3 * Tue Aug 28 2007 Jeffrey C. Ollie - 0.1.3-4 - Update license tag. * Mon Aug 28 2006 Jeffrey C. Ollie - 0.1.3-3 - Bump release and rebuild. * Thu Feb 16 2006 Jeffrey C. Ollie - 0.1.3-2 - Expanded %%description. - Add %%{?dist} to release. * Sun Jan 8 2006 Jeffrey C. Ollie - 0.1.3-1 - Initial build.