]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox.spec
- spelling fixes
[packages/sox.git] / sox.spec
index 7612910420306c6c0c276bfdc895e7ac1bfb98c4..80c7ea8dca58cac20fa5ea803e16d600319bde6b 100644 (file)
--- a/sox.spec
+++ b/sox.spec
@@ -1,31 +1,31 @@
 #
-# Conditional build:   
-# _without_alsa - without ALSA support
+# Conditional build:
+%bcond_without alsa    # without ALSA support
 #
-
 Summary:       A general purpose sound file conversion tool
 Summary(de):   Mehrzweck-Sounddatei-Konvertierungs-Tool
+Summary(es):   Herramienta para conversión de archivos de sonido
 Summary(fr):   outil général de conversion de fichiers son
 Summary(pl):   Program do konwersji plików d¼wiêkowych
+Summary(pt_BR):        Ferramenta para conversão de arquivos de som
+Summary(ru):   õÔÉÌÉÔÁ ÏÂÝÅÇÏ ÎÁÚÎÁÞÅÎÉÑ ÄÌÑ ÒÁÂÏÔÙ ÓÏ Ú×ÕËÏ×ÙÍÉ ÆÁÊÌÁÍÉ
 Summary(tr):   Genel amaçlý ses dosyasý çevirme aracý
+Summary(uk):   õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
 Name:          sox
-Version:       12.17.3
+Version:       12.17.6
 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
+Source0:       http://dl.sourceforge.net/sox/%{name}-%{version}.tar.gz
+# Source0-md5: ea368e7baf6618a2116f3ed6c111bd4a
 Patch0:                %{name}-play.patch
-Patch1:                %{name}-soundcard.patch
-Patch2:                %{name}-install.patch
-URL:           http://sox.sourceforge.net
-BuildRequires: autoconf
+Patch1:                %{name}-install.patch
+URL:           http://sox.sourceforge.net/
+%{?with_alsa:BuildRequires:    alsa-driver-devel}
 BuildRequires: automake
-BuildRequires: libgsm-devel
-%ifnarch sparc sparc64
-%{!?_without_alsa:BuildRequires:       alsa-driver-devel}
-%endif
+BuildRequires: lame-libs-devel
+BuildRequires: libmad-devel
+BuildRequires: libvorbis-devel >= 1:1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,52 +37,75 @@ simple sound manipulation functions, including sound effects.
 Install the sox package if you'd like to convert sound file formats or
 manipulate some sounds.
 
+%description -l es
+sox se autodenomina "navaja suiza de las herramientas de sonido".
+Entiende varios formatos de sonidos digitalizados, pudiendo hacer
+conversiones entre estos formatos y desempeñar funciones sencillas de
+manejo de sonido.
+
 %description -l pl
 SoX (Sound eXchange) jest konwerterem formatów plików d¼wiêkowych dla
 Linuksa, Uniksa i Dosa. SoX mo¿e wykonywaæ konwersjê miêdzy wieloma
 formatami cyfrowego d¼wiêku. Mo¿e tak¿e dokonywaæ prostych manipulacji
-na d¼wiêku, wliczaj±c w to ró¿ne efekty d¼wiekowe.
+na d¼wiêku, wliczaj±c w to ró¿ne efekty d¼wiêkowe.
+
+%description -l ru
+ëÁË ÇÏ×ÏÒÉÔÓÑ × ÄÏËÕÍÅÎÔÁÃÉÉ, "Û×ÅÊÃÁÒÓËÉÊ ÁÒÍÅÊÓËÉÊ ÎÏÖ Ú×ÕËÏ×ÙÈ
+ÕÔÉÌÉÔ", sox ÕÍÅÅÔ ËÏÎ×ÅÒÔÉÒÏ×ÁÔØ Ú×ÕËÏ×ÙÅ ÆÁÊÌÙ ÓÁÍÙÈ ÒÁÚÎÏÏÂÒÁÚÎÙÈ
+ÆÏÒÍÁÔÏ× É ÐÒÏÉÚ×ÏÄÉÔØ ÎÅÓÌÏÖÎÕÀ ÉÈ ÏÂÒÁÂÏÔËÕ. ó ÐÒÉÌÁÇÁÅÍÙÍ ÓËÒÉÐÔÏÍ
+ÔÁËÖÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁΠÄÌÑ ÐÒÏÉÇÒÙ×ÁÎÉÑ Ú×ÕËÏ×ÙÈ ÆÁÊÌÏ×.
+
+%description -l pt_BR
+O sox se autodenomina "canivete suíço das ferramentas de som". Ele
+entende vários formatos de sons digitalizados, podendo fazer
+conversões entre esses formatos e desempenhar funções simples de
+manipulação de som.
+
+%description -l uk
+÷ ÄÏËÕÍÅÎÔÁ槠ÃÅÊ ÐÁËÅÔ ÎÁÚ×ÁÎÏ "Û×ÅÊÃÁÒÓØËÉÍ ÁÒͦÊÓØËÉÍ ÎÏÖÉËÏÍ
+Ú×ÕËÏ×ÉÈ ÕÔÉ̦Ô". ÷¦Î ×ͦ¤ ËÏÎ×ÅÒÔÕ×ÁÔÉ Ú×ÕËÏצ ÆÁÊÌÉ
+ÎÁÊÒ¦ÚÎÏÍÁΦÔΦÛÉÈ ÆÏÒÍÁԦנÔÁ ×ÉËÏÎÕ×ÁÔÉ ÎÅÓËÌÁÄÎÕ §È ÏÂÒÏÂËÕ. ÷
+ÐÁËÅÔ ×ÈÏÄÉÔØ ÓËÒÉÐÔ, ÑËÉÊ ÍÏÖÎÁ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÄÌÑ ÐÒÏÇÒÁ×ÁÎÎÑ
+Ú×ÕËÏ×ÉÈ ÆÁÊ̦×.
 
 %package devel
 Summary:       The SoX sound file format converter libraries
 Summary(pl):   Biblioteka SoX do konwertowania plików d¼wiêkowych
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(es):     Desarrollo/Bibliotecas
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Group(pt_BR):  Desenvolvimento/Bibliotecas
-Group(ru):     òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-
-%description devel 
+
+%description devel
 This package contains the library needed for compiling applications
 which will use the SoX sound file format converter.
 
 Install sox-devel if you want to develop applications which will use
 SoX.
 
+%description devel -l es
+Bibliotecas que pueden ser usadas para compilar aplicaciones que usen
+las bibliotecas del sox.
+
 %description devel -l pl
 Ten pakiet zawiera biblioteki potrzebne do kompilacji aplikacji, które
 bêd± wykorzystywa³y konwerter formatów plików d¼wiêkowych SoX.
 
+%description devel -l pt_BR
+Bibliotecas que podem ser usadas para compilar aplicações que usem as
+bibliotecas do sox.
+
 %prep
-%setup -q 
+%setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
-aclocal
-autoconf
+cp -f /usr/share/automake/config.sub .
 %configure \
        --with-oss-dsp \
        --with-gsm \
-%ifnarch sparc sparc64
-       %{!?_without_alsa:--with-alsa-dsp}
-%endif
+       %{?with_alsa:--with-alsa-dsp}
 
-%{__make} PREFIX=%{_prefix}
+%{__make} \
+       PREFIX=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -94,23 +117,18 @@ 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
 
-gzip -9nf Changelog README TODO INSTALL
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %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
+%doc src/monkey.* Changelog README TODO
+%attr(755,root,root) %{_bindir}/[!l]*
 %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/libst-config
 %{_libdir}/libst.a
-%{_includedir}/st.h
+%{_includedir}/*.h
 %{_mandir}/man3/*
This page took 0.036182 seconds and 4 git commands to generate.