]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox.spec
- updated for 12.17.6
[packages/sox.git] / sox.spec
index ef8897a722d63972d96de8f9791ee0086c50fa18..f85b7052c65652a45f6ebbdda4e4084183f618fe 100644 (file)
--- a/sox.spec
+++ b/sox.spec
@@ -1,6 +1,5 @@
-#
 # Conditional build:
-# _without_alsa - without ALSA support
+%bcond_without alsa    # without ALSA support
 #
 Summary:       A general purpose sound file conversion tool
 Summary(de):   Mehrzweck-Sounddatei-Konvertierungs-Tool
@@ -12,24 +11,23 @@ Summary(ru):        
 Summary(tr):   Genel amaçlý ses dosyasý çevirme aracý
 Summary(uk):   õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
 Name:          sox
-Version:       12.17.4
-Release:       1
+Version:       12.17.5
+Release:       3
 License:       distributable
 Group:         Applications/Sound
 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
@@ -103,14 +101,13 @@ bibliotecas do sox.
 %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.100581 seconds and 4 git commands to generate.