Group :: Sound
RPM: sox
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: sox
Version: 12.17.7
Release: alt1
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Summary: A general purpose sound file conversion tool.
Summary(ru_RU.KOI8-R): Универсальный проигрыватель и конвертер звуковых файлов.
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Source: http://download.sourceforge.net/%name/%name-%version.tar.gz
Patch: %name-12.17.6-alt-alsa_fix.patch
BuildPreReq: kernel-headers-std kernel-headers-alsa
# Automatically added by buildreq on Tue Dec 21 2004
BuildRequires: liblame-devel libmad-devel libogg-devel libvorbis-devel
%description
SoX (Sound eXchange) is a sound file format converter for Linux,
UNIX and DOS PCs. The self-described 'Swiss Army knife of sound
tools,' SoX can convert between many different digitized sound
formats and perform simple sound manipulation functions,
including sound effects.
Install the %name package if you'd like to convert sound file formats
or manipulate some sounds.
%description -l ru_RU.KOI8-R
SOX - консольная программа для преобразования, записи и проигрывания
звуковых файлов, поддерживает множество форматов.
%package devel
Summary: The SoX sound file format converter headers files and libraries.
Group: Development/C
%description devel
This package contains the headers and library needed for compiling
applications which will use the SoX sound file format converter.
Install %name-devel if you want to develop applications which will use SoX.
%prep
%setup -q
%patch -p1
%__subst 's,\-I/lib/modules/`uname -r`/build/include,,' configure*
%build
%configure
%make_build
%install
%makeinstall install install-lib
%__subst 's,\(/usr/\)local/,\1,' scripts/soxeffect
%__install scripts/soxeffect %buildroot%_bindir/soxeffect
%__rm -f %buildroot%_bindir/rec
%__ln_s play %buildroot%_bindir/rec
%__cat << EOF >%buildroot%_bindir/%{name}play
#!/bin/sh
%_bindir/%name \$1 -t .au - >/dev/audio
EOF
%__chmod 755 %buildroot%_bindir/%{name}play
%files
%_bindir/*
%exclude %_bindir/*-config
%_man1dir/*
%doc Changelog README TODO
%files devel
%_bindir/*-config
%_includedir/*
%_libdir/*.a
%_man3dir/*
%changelog
…
Full changelog you can see here
Version: 12.17.7
Release: alt1
Packager: Yuri N. Sedunov <aris at altlinux.ru>
Summary: A general purpose sound file conversion tool.
Summary(ru_RU.KOI8-R): Универсальный проигрыватель и конвертер звуковых файлов.
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Source: http://download.sourceforge.net/%name/%name-%version.tar.gz
Patch: %name-12.17.6-alt-alsa_fix.patch
BuildPreReq: kernel-headers-std kernel-headers-alsa
# Automatically added by buildreq on Tue Dec 21 2004
BuildRequires: liblame-devel libmad-devel libogg-devel libvorbis-devel
%description
SoX (Sound eXchange) is a sound file format converter for Linux,
UNIX and DOS PCs. The self-described 'Swiss Army knife of sound
tools,' SoX can convert between many different digitized sound
formats and perform simple sound manipulation functions,
including sound effects.
Install the %name package if you'd like to convert sound file formats
or manipulate some sounds.
%description -l ru_RU.KOI8-R
SOX - консольная программа для преобразования, записи и проигрывания
звуковых файлов, поддерживает множество форматов.
%package devel
Summary: The SoX sound file format converter headers files and libraries.
Group: Development/C
%description devel
This package contains the headers and library needed for compiling
applications which will use the SoX sound file format converter.
Install %name-devel if you want to develop applications which will use SoX.
%prep
%setup -q
%patch -p1
%__subst 's,\-I/lib/modules/`uname -r`/build/include,,' configure*
%build
%configure
%make_build
%install
%makeinstall install install-lib
%__subst 's,\(/usr/\)local/,\1,' scripts/soxeffect
%__install scripts/soxeffect %buildroot%_bindir/soxeffect
%__rm -f %buildroot%_bindir/rec
%__ln_s play %buildroot%_bindir/rec
%__cat << EOF >%buildroot%_bindir/%{name}play
#!/bin/sh
%_bindir/%name \$1 -t .au - >/dev/audio
EOF
%__chmod 755 %buildroot%_bindir/%{name}play
%files
%_bindir/*
%exclude %_bindir/*-config
%_man1dir/*
%doc Changelog README TODO
%files devel
%_bindir/*-config
%_includedir/*
%_libdir/*.a
%_man3dir/*
%changelog
…
Full changelog you can see here