]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox.spec
- spelling fixes
[packages/sox.git] / sox.spec
index d00671abfff3cd47184f87880381a540cad33c29..80c7ea8dca58cac20fa5ea803e16d600319bde6b 100644 (file)
--- a/sox.spec
+++ b/sox.spec
@@ -1,27 +1,31 @@
 #
-# Conditional build:   
-# bcond_off_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.1
-Release:       3
-LIcense:       Distributable
+Version:       12.17.6
+Release:       1
+License:       distributable
 Group:         Applications/Sound
-Group(de):     Applikationen/Laut
-Group(pl):     Aplikacje/D¼wiêk
-Source0:       http://home.sprynet.com/sprynet/cbagwell/%{name}-%{version}.tar.gz
-Patch0:                %{name}-paths.patch
-Patch1:                %{name}-makefile.patch
-Patch2:                %{name}-play.patch
-URL:           http://home.sprynet.com/~cbagwell/sox.html
-BuildRequires: libgsm-devel
-%ifnarch sparc sparc64
-%{!?bcond_off_alsa:BuildRequires:      alsa-driver-devel}
-%endif
+Source0:       http://dl.sourceforge.net/sox/%{name}-%{version}.tar.gz
+# Source0-md5: ea368e7baf6618a2116f3ed6c111bd4a
+Patch0:                %{name}-play.patch
+Patch1:                %{name}-install.patch
+URL:           http://sox.sourceforge.net/
+%{?with_alsa:BuildRequires:    alsa-driver-devel}
+BuildRequires: automake
+BuildRequires: lame-libs-devel
+BuildRequires: libmad-devel
+BuildRequires: libvorbis-devel >= 1:1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,69 +37,98 @@ 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¼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:       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(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 
-%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
+cp -f /usr/share/automake/config.sub .
 %configure \
        --with-oss-dsp \
-%ifnarch sparc sparc64
-       %{!?bcond_off_alsa:--with-alsa-dsp}
-%endif
+       --with-gsm \
+       %{?with_alsa:--with-alsa-dsp}
 
-%{__make} PREFIX=%{_prefix}
+%{__make} \
+       PREFIX=%{_prefix}
 
 %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
 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}/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.147768 seconds and 4 git commands to generate.