Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
sox
sox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sox.spec of Package sox
# # spec file for package sox (Version 14.1.0) # # 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/ # Name: sox BuildRequires: alsa-devel flac-devel ladspa-devel libao-devel libgsm-devel libpng-devel libsamplerate-devel libsndfile-devel libvorbis-devel pkg-config wavpack-devel License: BSD 3-Clause; GPL v2 or later Group: Productivity/Multimedia/Sound/Editors and Convertors AutoReqProv: on Version: 14.1.0 Release: 11 Summary: Sound Conversion Tools and Library Url: http://sox.sourceforge.net Source: %{name}-%{version}.tar.bz2 Source1: audioio.h Patch0: %{name}-%{version}-vorbis.patch Patch1: %{name}-%{version}-module-avoid-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. Authors: -------- Chris Bagwell <cbagwell@sprynet.com> %package devel License: BSD 3-Clause; GPL v2 or later Group: Development/Libraries/C and C++ Summary: Sound Conversion Tools and Library Requires: %{name} = %{version} Requires: pkg-config alsa-devel flac-devel libgsm-devel libvorbis-devel libsndfile-devel wavpack-devel ladspa-devel libpng-devel libao-devel libsamplerate-devel %description devel SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. Authors: -------- Chris Bagwell <cbagwell@sprynet.com> %prep %setup -q %patch0 %patch1 %build %{?suse_update_config -f} autoreconf -fi if [ ! -f %{_includedir}/sun/audioio.h ]; then mkdir -p include/sun cp %{S:1} include/sun/audioio.h fi export CFLAGS="$RPM_OPT_FLAGS -fstack-protector -DEXTERNAL_GSM -DHAVE_SYS_SOUNDCARD_H -fPIC -DPIC" export CPPFLAGS=-I$PWD/include export LDFLAGS=-lltdl %configure --disable-static --enable-ltdl-install=no make %{?jobs:-j%jobs} %install mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/{man1,man3,man7}} make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/sox/*.la %clean rm -rf "$RPM_BUILD_ROOT" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README src/monkey.* %{_bindir}/* %{_libdir}/lib*.so.* %dir %{_libdir}/sox %{_libdir}/sox/*.so %{_mandir}/man1/* %{_mandir}/man3/* %{_mandir}/man7/* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/sox.pc %changelog * Thu Oct 23 2008 ro@suse.de - fix build with updated libtool * Mon Sep 01 2008 prusnak@suse.cz - updated to 14.1.0 * New WavPack format. * New htk format. * New .f4 & .f8 raw file extensions. * New `splice' effect; splice together audio sections. * New `remix' effect; mixes any number of channels. * New `norm' (normalise) effect. * New `delay' effect; delay one or more channels. * New `contrast' enhancement effect. * New `rate' high quality resampling effect. * New `spectrogram' effect; creates a PNG (if built with PNG lib). * New `gain' alias for the vol effect. * New option --help-format shows info about supported format(s). * New --combine=mix-power option to mix combine using 1/sqrt(n) scaling instead of 1/n. * New --input-buffer option to specify (only) input buffer size. * New `soxi' utility to extract/display file header fields. * New VU meter. * Can now write .amb (.wav variant) files. * Can now read 2,3(2.6),4 bit ADPCM .voc files. * Can now read some MP3 ID3 tags. * Fix rec shortcut should apply bit depth (8-bit, 16-bit, etc.) to input handler. * Fix endian selection (-B, -L, -x) in some circumstances. * Various other small fixes/improvements. * Fri Jun 27 2008 schwab@suse.de - Use autoreconf. * Tue Mar 25 2008 prusnak@suse.cz - build file format modules with LDFLAGS -module -avoid-version (module-avoid-version.patch) * Wed Mar 19 2008 prusnak@suse.cz - updated to 14.0.1 File formats: o Added support for non-standard, non-WAVE_FORMAT_EXTENSIBLE (esp. 24-bit) PCM wav (see wavpcm in soxformat.7 for details). (robs) Effects: o Reimplemented reverb to be similar to freeverb. (robs) Bug fixes: o Fix Sndtool read error causing noise at start. (Reynir Stefánsson) o Fix mixer with >4 numbers, and mixer -3 behaving as mixer -4. (robs) o Fix [1748909] sox does not report remaining playtime of mp3s. (robs) o Fix failure to read AIFF files with empty MARK chunk. (robs) o Fix spurious 'Premature EOF' message in some circumstances. (robs) o Switched to 16-bit for libao driver since not all its plugins support it (such as oss, nas, and pulse audio) (Morita Sho) o Stop crash when "rec" is run with no arguments (Morita Sho). o Fix -V (without argument) on non-gnu systems. (robs) o Fix reported (with -V) output audio length in some cases. (robs) o Fix actual FLAC output file audio length in some cases. (robs) o Fix poor 24-bit FLAC compression & support newer versions of libFLAC (1.2.x). (robs) o Fix loss of 1 decoded FLAC block when using "trim 0 ...". (robs) o Fix trim when first effect with IMA-ADPCM input wav file. (robs) Internal improvements: o Let "make distcheck" run some automated test scripts. o Distribute missing cmake files. o Fix ogg vorbis compile error on some platforms. o Remove unused libltdl that could cause header mismatch with installed libltdl. o Fix AMR detection with --disable-shared. (robs) o Updated configure to support linking to static libraries on mingw for flac, ogg, and libsamplerate libraries. * Mon Nov 19 2007 prusnak@suse.cz - moved %%{_libdir}/sox/*.so from -devel to main package (these are plugins not development files) - added rpmlintrc to supress warnings about .so files in non-devel package * Tue Sep 25 2007 prusnak@suse.cz - updated to 14.0.0 File formats: o Added ffmpeg support. (Reuben Thomas) o FLAC: added seekable decoding; added seek-table generation. (robs) o Added M3U & PLS playlist formats [FR# 1667341] (Note: SHOUTcast PLS is only partially supported). (robs) o Made format readers and writers into individual modules for easier distribution of differently-licensed code. (Reuben Thomas) o Added libao support. (Reuben Thomas) o Added support for ADPCM-encoded PRC files, based on Danny Smith's rec2wav and sndcmp. (Reuben Thomas) o Added AMR-NB [FR# 728875] & AMR-WB formats (with external libs). (robs) o Added LPC-10 support. (Reuben Thomas) Effects: o Use LADSPA effects (one input, one output). (Reuben Thomas) o --octave option changed to --plot; can now also use gnuplot to plot effect transfer function. (robs) o Added soft-knee companding. (robs) o Show (with --plot) compand transfer function. (robs) o Allow e.g. "vol 6dB" (as well as "vol 6 dB"). (robs) o Changed deemph filter from 1st order to 2nd order for better accuracy. (robs) o Add option to silence effect to leave periods of silence in and only strip out extra silence. (Mark Schreiber) o synth can now generate any number of channels. (robs) o mixer can now mixdown to mono any number of channels. (robs) o Added oops effect (mixer special case). (robs) o All effects that could only work on mono or stereo audio, now work with any number of channels. (robs) o Added WSOLA-based key and tempo effects. (robs) Other new features: o Show (with -S) if clipping is occurring. (robs) o Added internet input file support (needs wget). (robs) o Made it possible to build without sound drivers. (Reuben Thomas) Bug fixes: o Fix (m)compand transfer function non-linearities; fix compand drain volume. (robs) o Fix crash with pan effect. (robs) o Add missing RM define to Makefiles so installs work. (Bug# 1666599) (cbagwell) o Fix I/O performance regression in 13.0.0. (Reuben Thomas) o Fix .lu, .la read regression in 13.0.0 [Bug# 1715076]. (robs) o Fix uncompressed NIST/Sphere read regression in v13 [Bug #1736016]. o Fix displayed times when playing a file and using trim. (robs) o Fix CDDA sector duration display for non-CDDA sample rates. (robs) o synth fixes: brown noise; inverted square wave; offset < 0. (robs) o Fix crash when encoding Vorbis or FLAC: with no comment. (robs) o Fix effect drain problems: chorus, echo(s), phaser. (robs) o Fix rabbit responsiveness and memory problems. (Peter Samuelson) o Fix broken stereo audio when recording using ALSA. (robs) o Fix OSS driver on big endian machines that was introduced in last release. Internal improvements: o Renamed libst to libsox for name recongition and to avoid duplications with other existing libst libraries. (Reuben Thomas) o Moved effects to libsfx. (Reuben Thomas) o Got rid of several hundred compiler warnings. (robs, Reuben Thomas) o Added basic performance testing of I/O. (Reuben Thomas) o Effects chain processing now available in libSoX. (robs) o Added effects-chain buffering for effects that use a window [FR# 1621695]. (robs) o Added cmake build files for Win32. (robs) - dropped obsolete patches: * retval.patch (included in update) * Fri Apr 20 2007 tiwai@suse.de - removed unnecessary requires. * Thu Feb 22 2007 prusnak@suse.cz - updated to 13.0.0 * added ability to merge e.g. 2 mono files to 1 stereo file * removed the restrictions whereby multiple input files had to have the same data encoding & size and same # of channels * added large file support * more fixes to MP3 tag reading * fix to stop, avoiding a crash, when starting of effects fails * fixed a bug introduced in 12.18.2 that stopped the draining of effects from occuring. This had stopped the reverse effect, among others, from working. * fix rounding error when reading command-line time parameters o fixed deemph & earwax effects to work with MP3, vorbis & FLAC * fix wav file handler discarding the last PCM sample in certain circumstances * improved the accuracy of integer and floating point PCM conversions * full changelog here: http://sf.net/project/shownotes.php?group_id=10706&release_id=485784 - fixed random return value (retval.patch) - dropped obsoleted patches: * sox-12.18.1-external_gsm.patch (included in update) * sox-12.18.1-makefile.patch (included in update) * sox-12.18.1-pitch.patch (included in update) * Wed Feb 14 2007 schwab@suse.de - Fix building as non-root. * Thu Nov 09 2006 prusnak@suse.cz - backported some of the changes from 12.8.2 fixing a bug which caused crashes while pitch changing (pitch.patch) [#200088] * Thu Aug 10 2006 nadvornik@suse.cz - updated to 12.18.1 * fixes infinite loops at certain conditions [#197498] * other bugfixes - use external libgsm * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Jan 12 2006 nadvornik@suse.cz - compile with -fstack-protector * Wed Dec 21 2005 nadvornik@suse.cz - updated to 12.17.9: * improved alsa support * optional status line - enabled gsm codec [#137747] * Wed Dec 21 2005 mmj@suse.de - assign return value of realloc to the pointer being realloc'ed * Fri Apr 22 2005 meissner@suse.de - 1 byte buffer overflow in smp.c fixed. * Tue Mar 15 2005 hvogel@suse.de - remove mad from nfb * Fri Jan 28 2005 nadvornik@suse.cz - updated to 12.17.7 * Thu Nov 18 2004 ro@suse.de - fixed file list * Mon Aug 16 2004 nadvornik@suse.cz - updated to 12.17.5 * Mon Jul 19 2004 nadvornik@suse.cz - fixed buffer overflow [#43116] * Mon Apr 19 2004 nadvornik@suse.cz - fixed dangerous compiler warnings * Tue Jul 29 2003 nadvornik@suse.cz - updated to 12.17.4 - compiled with libmad - support for reading mp3 * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides * Fri Aug 09 2002 nadvornik@suse.cz - fixed problems with converting to .ogg format [bug #17530] * Wed Feb 27 2002 nadvornik@suse.cz - removed gsm library due to possible patent problems * Wed Feb 13 2002 nadvornik@suse.cz - used macro %%{_libdir} * Tue Jan 08 2002 nadvornik@suse.cz - updated to 12.17.3 - support for swapping "bit" order for raw u-law and A-law data - many bugfixes * Wed Dec 05 2001 nadvornik@suse.cz - disabled alsa support * Tue Oct 23 2001 nadvornik@suse.cz - updated to 12.17.2 - new effects: earwax, fade in/out, silence, dcshift, synth - updated play/rec/soxeffect scripts to handle all effect - compiled with alsa support - compiled with Ogg Vorbis support * Tue Sep 11 2001 nadvornik@suse.cz - fixed output file handling [bug #10449] * Mon May 21 2001 nadvornik@suse.cz - fixed cast warnings and include files for ia64 * Tue Jan 23 2001 nadvornik@suse.cz - fixed to compile on axp * Fri Nov 24 2000 tiwai@suse.de - Fixed OSS playback on big-endian machine. * Mon Oct 09 2000 nadvornik@suse.cz - fixed Copyright - used bzip2 * Fri Sep 15 2000 nadvornik@suse.cz - update to 12.17 - used suse_update_config * Sat May 20 2000 bk@suse.de - enabled sunaudio (dev/audio) file format support(see man page for use) * Fri May 19 2000 bk@suse.de - added man pages for play and rec * Thu May 18 2000 nadvornik@suse.cz - changed Group tag * Mon Apr 10 2000 nadvornik@suse.cz - now compiles with the oss driver * Thu Apr 06 2000 nadvornik@suse.cz - added BuildRoot - added URL * Tue Jan 25 2000 ro@suse.de - update to 12.16, man to /usr/share using macro * Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Dec 03 1998 ro@suse.de - update to 12.15 * Tue Aug 11 1998 ro@suse.de - back to original names play/rec (wavplay changed the names) - added patches from kevin bradley for polyphase sample rate conversion * Tue May 12 1998 ro@suse.de - initial package version 12.14 changed play and rec to soxplay and soxrec to avoid collision with wavplay
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor