1 Summary: A general purpose sound file conversion tool.
5 Copyright: distributable
6 Group: Applications/Multimedia
7 Source: http://home.sprynet.com/sprynet/cbagwell/sox-12.15.tar.gz
8 Url: http://home.sprynet.com/sprynet/cbagwell/
9 Patch0: sox-12.15-paths.patch
10 Patch1: sox-12.15-space.patch
11 Patch2: sox-play.patch
12 BuildRoot: /var/tmp/sox-root
15 SoX (Sound eXchange) is a sound file format converter for Linux,
16 UNIX and DOS PCs. The self-described 'Swiss Army knife of sound
17 tools,' SoX can convert between many different digitized sound
18 formats and perform simple sound manipulation functions,
19 including sound effects.
21 Install the sox package if you'd like to convert sound file formats
22 or manipulate some sounds.
25 Summary: The SoX sound file format converter libraries.
26 Group: Development/Libraries
28 %description -n sox-devel
29 This package contains the library needed for compiling applications
30 which will use the SoX sound file format converter.
32 Install sox-devel if you want to develop applications which will use
42 make PREFIX=/usr RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
45 rm -rf $RPM_BUILD_ROOT
47 mkdir -p $RPM_BUILD_ROOT/usr/bin/
48 mkdir -p $RPM_BUILD_ROOT/usr/lib/
49 mkdir -p $RPM_BUILD_ROOT/usr/man/man1/
50 mkdir -p $RPM_BUILD_ROOT/usr/man/man3/
52 make PREFIX=$RPM_BUILD_ROOT/usr install INSTALL_DIR=$RPM_BUILD_ROOT
53 make PREFIX=$RPM_BUILD_ROOT/usr install-lib
55 echo "#!/bin/sh" > $RPM_BUILD_ROOT/usr/bin/soxplay
56 echo "" >> $RPM_BUILD_ROOT/usr/bin/soxplay
57 echo '/usr/bin/sox $1 -t .au - > /dev/audio' >> $RPM_BUILD_ROOT/usr/bin/soxplay
58 chmod 755 $RPM_BUILD_ROOT/usr/bin/soxplay
60 strip $RPM_BUILD_ROOT/usr/bin/sox
63 rm -rf $RPM_BUILD_ROOT
67 %doc Changelog README TIPS TODO INSTALL CHEAT*