diff --git a/README.md b/README.md index ec6a7cc..103df85 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libsamplerate +Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. +It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. +The conversion ratio can also vary with time for speeding up and slowing down effects. + diff --git a/libsamplerate.spec b/libsamplerate.spec new file mode 100644 index 0000000..a0226e4 --- /dev/null +++ b/libsamplerate.spec @@ -0,0 +1,99 @@ +Name: libsamplerate +Version: 0.1.8 +Release: 1mamba +Summary: Library for performing sample rate conversion on audio +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.mega-nerd.com +Source: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libsndfile-devel +## AUTOBUILDREQ-ENDBuildRequires: pkgconfig >= 0.15 +BuildRequires: libfftw-devel >= 0.15.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME : +# Have libefence : .............. no + +%description +Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. +It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. +The conversion ratio can also vary with time for speeding up and slowing down effects. + +%package devel +Summary: Header files, libraries and development documentation for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the header files, static libraries and development documentation for %{name}. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_bindir}/* +%{_libdir}/libsamplerate.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-, root, root) +%{_includedir}/samplerate.h +%{_libdir}/libsamplerate.a +%{_libdir}/libsamplerate.la +%{_libdir}/libsamplerate.so +%{_libdir}/pkgconfig/*.pc +%dir %{_datadir}/doc/libsamplerate0-dev +%dir %{_datadir}/doc/libsamplerate0-dev/html +%{_datadir}/doc/libsamplerate0-dev/html/* +%doc ChangeLog NEWS README + +%changelog +* Mon Dec 03 2012 Automatic Build System 0.1.8-1mamba +- automatic version update by autodist + +* Sat Feb 28 2009 Silvan Calarco 0.1.7-1mamba +- automatic update by autodist + +* Fri Oct 17 2008 Silvan Calarco 0.1.4-2mamba +- rebuilt to fix an illegal instruction error on Geode LX with oss2jack + +* Wed Jul 16 2008 gil 0.1.4-1mamba +- update to 0.1.4 + +* Sun May 18 2008 Silvan Calarco 0.1.3-1mamba +- update to 0.1.3 + +* Wed Feb 15 2006 Davide Madrisan 0.1.2-2qilnx +- rebuilt + +* Mon Sep 05 2005 Davide Madrisan 0.1.2-1qilnx +- update to version 0.1.2 by autospec + +* Tue Sep 14 2004 Silvan Calarco 0.1.1-2qilnx +- rebuilt and moved from contrib to main repository + +* Fri Sep 10 2004 Matteo Bernasconi 0.1.1-1qilnx +- first build +