3 # _without_alsa - without ALSA support
6 Summary: A general purpose sound file conversion tool
7 Summary(de): Mehrzweck-Sounddatei-Konvertierungs-Tool
8 Summary(fr): outil général de conversion de fichiers son
9 Summary(pl): Program do konwersji plików d¼wiêkowych
10 Summary(tr): Genel amaçlý ses dosyasý çevirme aracý
14 License: distributable
15 Group: Applications/Sound
16 Group(de): Applikationen/Laut
17 Group(pl): Aplikacje/D¼wiêk
18 Source0: http://prdownloads.sourceforge.net/sox/%{name}-%{version}.tar.gz
19 Patch0: %{name}-play.patch
20 Patch1: %{name}-soundcard.patch
21 Patch2: %{name}-install.patch
22 URL: http://sox.sourceforge.net
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: libgsm-devel
26 %ifnarch sparc sparc64
27 %{!?_without_alsa:BuildRequires: alsa-driver-devel}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 SoX (Sound eXchange) is a sound file format converter for Linux, UNIX
33 and DOS PCs. The self-described 'Swiss Army knife of sound tools,' SoX
34 can convert between many different digitized sound formats and perform
35 simple sound manipulation functions, including sound effects.
37 Install the sox package if you'd like to convert sound file formats or
38 manipulate some sounds.
41 SoX (Sound eXchange) jest konwerterem formatów plików d¼wiêkowych dla
42 Linuksa, Uniksa i Dosa. SoX mo¿e wykonywaæ konwersjê miêdzy wieloma
43 formatami cyfrowego d¼wiêku. Mo¿e tak¿e dokonywaæ prostych manipulacji
44 na d¼wiêku, wliczaj±c w to ró¿ne efekty d¼wiekowe.
47 Summary: The SoX sound file format converter libraries
48 Summary(pl): Biblioteka SoX do konwertowania plików d¼wiêkowych
49 Group: Development/Libraries
50 Group(de): Entwicklung/Libraries
51 Group(es): Desarrollo/Bibliotecas
52 Group(fr): Development/Librairies
53 Group(pl): Programowanie/Biblioteki
54 Group(pt_BR): Desenvolvimento/Bibliotecas
55 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
59 This package contains the library needed for compiling applications
60 which will use the SoX sound file format converter.
62 Install sox-devel if you want to develop applications which will use
65 %description devel -l pl
66 Ten pakiet zawiera biblioteki potrzebne do kompilacji aplikacji, które
67 bêd± wykorzystywa³y konwerter formatów plików d¼wiêkowych SoX.
81 %ifnarch sparc sparc64
82 %{!?_without_alsa:--with-alsa-dsp}
85 %{__make} PREFIX=%{_prefix}
88 rm -rf $RPM_BUILD_ROOT
90 %{__make} install install-lib \
91 DESTDIR=$RPM_BUILD_ROOT
93 echo "#!/bin/sh" > $RPM_BUILD_ROOT%{_bindir}/soxplay
94 echo "" >> $RPM_BUILD_ROOT%{_bindir}/soxplay
95 echo '%{_bindir}/sox $1 -t .au - > /dev/audio' >> $RPM_BUILD_ROOT%{_bindir}/soxplay
97 gzip -9nf Changelog README TODO INSTALL
100 rm -rf $RPM_BUILD_ROOT
103 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_bindir}/sox
106 %attr(755,root,root) %{_bindir}/soxmix
107 %attr(755,root,root) %{_bindir}/play
108 %attr(755,root,root) %{_bindir}/rec
109 %attr(755,root,root) %{_bindir}/soxplay
113 %defattr(644,root,root,755)