]> git.pld-linux.org Git - packages/sox.git/blobdiff - sox.spec
- updated for 12.17.6
[packages/sox.git] / sox.spec
index 67d6004eba10901223c0c04fbcb9ea3d3b5e59c5..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,22 +11,23 @@ Summary(ru):        
 Summary(tr):   Genel amaçlý ses dosyasý çevirme aracý
 Summary(uk):   õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
 Name:          sox
-Version:       12.17.3
-Release:       9
+Version:       12.17.5
+Release:       3
 License:       distributable
 Group:         Applications/Sound
-Source0:       http://prdownloads.sourceforge.net/sox/%{name}-%{version}.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/
+%{?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
-%ifnarch sparc sparc64
-%{!?_without_alsa:BuildRequires:       alsa-driver-devel}
-%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -101,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}
 
@@ -127,16 +126,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc monkey.* Changelog README TODO INSTALL
-%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 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}/*.h
 %{_mandir}/man3/*
This page took 0.087233 seconds and 4 git commands to generate.