]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox.spec
- updated for 12.17.6
[packages/sox.git] / sox.spec
index b613a4e7806a90498b08bc93e8ae6558c618a6f5..f85b7052c65652a45f6ebbdda4e4084183f618fe 100644 (file)
--- a/sox.spec
+++ b/sox.spec
@@ -1,10 +1,6 @@
-#
 # Conditional build:
-# _without_alsa - without ALSA support
+%bcond_without alsa    # without ALSA support
 #
-
-%define                _pre            pre2
-
 Summary:       A general purpose sound file conversion tool
 Summary(de):   Mehrzweck-Sounddatei-Konvertierungs-Tool
 Summary(es):   Herramienta para conversión de archivos de sonido
@@ -15,24 +11,23 @@ Summary(ru):        
 Summary(tr):   Genel amaçlý ses dosyasý çevirme aracý
 Summary(uk):   õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
 Name:          sox
-Version:       12.17.4
-Release:       0.%{_pre}.1
+Version:       12.17.5
+Release:       3
 License:       distributable
 Group:         Applications/Sound
-Source0:       http://sox.sourceforge.net/%{name}-%{version}-%{_pre}.tar.gz
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 53a3ebe3da0f5845770fd99e2ff0a965
 Patch0:                %{name}-play.patch
 Patch1:                %{name}-soundcard.patch
 Patch2:                %{name}-install.patch
 URL:           http://sox.sourceforge.net/
-%ifnarch sparc sparc64
-%{!?_without_alsa:BuildRequires:       alsa-driver-devel}
-%endif
+%{?with_alsa:BuildRequires:    alsa-driver-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: lame-libs-devel
 BuildRequires: libgsm-devel
+BuildRequires: libmad-devel
 BuildRequires: libvorbis-devel >= 1:1.0
-BuildRequires: mad-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -100,20 +95,19 @@ Bibliotecas que podem ser usadas para compilar aplica
 bibliotecas do sox.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 
 %build
-%{__aclocal}
-%{__autoconf}
+#%%{__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}
 
This page took 0.06716 seconds and 4 git commands to generate.