Репозитории ALT
S: | 14.4.2-alt5 |
5.1: | 14.3.0-alt1.1 |
4.1: | 13.0.0-alt3 |
4.0: | 13.0.0-alt2 |
3.0: | 12.17.7-alt1 |
Группа :: Звук
Пакет: sox
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Packager: Denis Smirnov <mithraen at altlinux.org>
Name: sox
Version: 13.0.0
Release: alt3
Summary: A general purpose sound file conversion tool.
Summary(ru_RU.KOI8-R): Универсальный проигрыватель и конвертер звуковых файлов.
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Source: %name-%version.tar
Source1: soxeffect
Patch1: %name-13.0.0-alt-gsm.patch
BuildPreReq: kernel-headers-alsa
# Automatically added by buildreq on Wed May 03 2006
BuildRequires: libalsa-devel liblame-devel libmad-devel libvorbis-devel libgsm-devel libsamplerate-devel libsndfile-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
Requires: %name = %version-%release
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
%patch1 -p0
%__subst 's,\-I/lib/modules/`uname -r`/build/include,,' configure*
# We must link with external libgsm
#rm -rf src/libgsm
%build
%__autoreconf
%configure
%make_build
%install
%makeinstall install
install %SOURCE1 %buildroot%_bindir/soxeffect
sed -i 's,\(/usr/\)local/,\1,' %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/*
%_libdir/libst.so.*
%exclude %_bindir/*-config
%_man1dir/*
%_man7dir/*
%doc ChangeLog README
%files devel
%_bindir/*-config
%_includedir/*
%exclude %_libdir/*.a
%_libdir/libst.so
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: sox
Version: 13.0.0
Release: alt3
Summary: A general purpose sound file conversion tool.
Summary(ru_RU.KOI8-R): Универсальный проигрыватель и конвертер звуковых файлов.
License: LGPL
Group: Sound
Url: http://%name.sourceforge.net/
Source: %name-%version.tar
Source1: soxeffect
Patch1: %name-13.0.0-alt-gsm.patch
BuildPreReq: kernel-headers-alsa
# Automatically added by buildreq on Wed May 03 2006
BuildRequires: libalsa-devel liblame-devel libmad-devel libvorbis-devel libgsm-devel libsamplerate-devel libsndfile-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
Requires: %name = %version-%release
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
%patch1 -p0
%__subst 's,\-I/lib/modules/`uname -r`/build/include,,' configure*
# We must link with external libgsm
#rm -rf src/libgsm
%build
%__autoreconf
%configure
%make_build
%install
%makeinstall install
install %SOURCE1 %buildroot%_bindir/soxeffect
sed -i 's,\(/usr/\)local/,\1,' %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/*
%_libdir/libst.so.*
%exclude %_bindir/*-config
%_man1dir/*
%_man7dir/*
%doc ChangeLog README
%files devel
%_bindir/*-config
%_includedir/*
%exclude %_libdir/*.a
%_libdir/libst.so
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь