# # spec file for package libsamplerate (Version 0.1.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libsamplerate BuildRequires: pkgconfig Summary: A Sample Rate Converter Library Version: 0.1.4 Release: 1 License: GPL v2 or later Group: System/Libraries Source: %{name}-%{version}.tar.bz2 Patch: %{name}-ac.diff Url: http://www.mega-nerd.com/SRC/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio. One example of where such a thing would be useful is in 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. The conversion ratio can also vary with time for speeding up and slowing down effects. Authors: -------- Erik de Castro Lopo %package devel License: GPL v2 or later Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ Requires: libsamplerate glibc-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- Erik de Castro Lopo %prep %setup %patch %build autoreconf --force --install %configure --disable-static make %{?jobs:-j %jobs} %install make DESTDIR="$RPM_BUILD_ROOT" install # remove unneeded files rm -f $RPM_BUILD_ROOT%{_libdir}/*.la # remove example binaries rm -f $RPM_BUILD_ROOT%{_bindir}/* # remove document Makefiles rm -f doc/Makefile* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL doc %{_libdir}/lib*.so %{_includedir}/* %{_libdir}/pkgconfig/*.pc %changelog * Wed Nov 12 2008 tiwai@suse.de - fixed misc build errors: remove unnecessary Makefiles in doc and fixed package summary * Tue Nov 11 2008 dominique-rpm@leuenberger.net - Update to version 0.1.4: * Fix buffer overrrun bug at extreme low conversion ratios. Thanks to Russell O'Connor for the report. (bnc# 443794 / CVE-2008-5008 ) * Wed Jun 18 2008 tiwai@suse.de - updated to version 0.1.3: * Huge quality improvements to two best SINC based converters - fix post and postun scripts * Thu Jun 05 2008 ro@suse.de - added baselibs.conf (for alsa-plugins-samplerate) * Mon Apr 16 2007 tiwai@suse.de - follow library package policy * move docs to devel package * remove static library * Mon Apr 16 2007 schwab@suse.de - Fix quoting in autoconf macros. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 21 2005 tiwai@suse.de - updated to version 0.1.2. * Thu Aug 05 2004 tiwai@suse.de - updated to version 0.1.1. * Tue Jan 13 2004 tiwai@suse.de - build as non-root. * Fri Jun 06 2003 tiwai@suse.de - updated to version 0.0.15. - fixed the file list. * Thu Mar 27 2003 tiwai@suse.de - added the missing src_set_ratio in version list. * Fri Jan 17 2003 tiwai@suse.de - added %%run_ldconfig to %%post. * Thu Jan 16 2003 tiwai@suse.de - initial version: 0.0.14.