From f764892a1fc4dd2baf89123cf3245278c466bc5c Mon Sep 17 00:00:00 2001 From: filon Date: Sat, 19 Jan 2002 20:44:16 +0000 Subject: [PATCH] - updated to 12.17.3 - removed makefile, saywhat, types, paths obsollete patches - added install patch (fixes install), updated play patch - changed install and files section Changed files: sox.spec -> 1.18 --- sox.spec | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/sox.spec b/sox.spec index b095420..7612910 100644 --- a/sox.spec +++ b/sox.spec @@ -2,25 +2,23 @@ # Conditional build: # _without_alsa - without ALSA support # + Summary: A general purpose sound file conversion tool Summary(de): Mehrzweck-Sounddatei-Konvertierungs-Tool Summary(fr): outil général de conversion de fichiers son Summary(pl): Program do konwersji plików d¼wiêkowych Summary(tr): Genel amaçlý ses dosyasý çevirme aracý Name: sox -Version: 12.17.1 -Release: 3 +Version: 12.17.3 +Release: 1 License: distributable Group: Applications/Sound Group(de): Applikationen/Laut Group(pl): Aplikacje/D¼wiêk Source0: http://prdownloads.sourceforge.net/sox/%{name}-%{version}.tar.gz -Patch0: %{name}-paths.patch -Patch1: %{name}-makefile.patch -Patch2: %{name}-play.patch -Patch3: %{name}-types.patch -Patch4: %{name}-saywhat.patch -Patch5: %{name}-soundcard.patch +Patch0: %{name}-play.patch +Patch1: %{name}-soundcard.patch +Patch2: %{name}-install.patch URL: http://sox.sourceforge.net BuildRequires: autoconf BuildRequires: automake @@ -73,9 +71,6 @@ b %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 %build aclocal @@ -91,22 +86,14 @@ autoconf %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{1,3}} %{__make} install install-lib \ - PREFIX=$RPM_BUILD_ROOT%{_prefix} \ - MANDIR=$RPM_BUILD_ROOT%{_mandir} \ - BINDIR=$RPM_BUILD_ROOT%{_bindir} \ - LIBDIR=$RPM_BUILD_ROOT%{_libdir} \ - INCDIR=$RPM_BUILD_ROOT%{_includedir} \ - INSTALL_DIR=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT echo "#!/bin/sh" > $RPM_BUILD_ROOT%{_bindir}/soxplay echo "" >> $RPM_BUILD_ROOT%{_bindir}/soxplay echo '%{_bindir}/sox $1 -t .au - > /dev/audio' >> $RPM_BUILD_ROOT%{_bindir}/soxplay -echo .so play.1 >$RPM_BUILD_ROOT%{_mandir}/man1/rec.1 - gzip -9nf Changelog README TODO INSTALL %clean @@ -116,6 +103,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc *.gz monkey.* %attr(755,root,root) %{_bindir}/sox +%attr(755,root,root) %{_bindir}/soxmix %attr(755,root,root) %{_bindir}/play %attr(755,root,root) %{_bindir}/rec %attr(755,root,root) %{_bindir}/soxplay -- 2.43.0