SPECS: sox.spec - updated to 14.0.0 (NOTE: library name has change...
qboosh
qboosh at pld-linux.org
Sat Dec 1 23:05:54 CET 2007
Author: qboosh Date: Sat Dec 1 22:05:54 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 14.0.0 (NOTE: library name has changed)
- updated gsm patch, added amr,system-lpc10 patches
- amr (nb, wb) support bconded, off by default due to non-distributable libs
- separated some plugins with external dependencies and different licensing
---- Files affected:
SPECS:
sox.spec (1.50 -> 1.51)
---- Diffs:
================================================================
Index: SPECS/sox.spec
diff -u SPECS/sox.spec:1.50 SPECS/sox.spec:1.51
--- SPECS/sox.spec:1.50 Sat Feb 17 22:01:16 2007
+++ SPECS/sox.spec Sat Dec 1 23:05:49 2007
@@ -1,7 +1,8 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without alsa # without ALSA support
+%bcond_without alsa # ALSA support
+%bcond_with amr # AMR codecs (AMR-NB and AMR-WB) support
#
Summary: A general purpose sound file conversion tool
Summary(de.UTF-8): Mehrzweck-Sounddatei-Konvertierungs-Tool
@@ -13,25 +14,34 @@
Summary(tr.UTF-8): Genel amaçlı ses dosyası çevirme aracı
Summary(uk.UTF-8): Утиліта загального призначення для роботи із звуковими файлами
Name: sox
-Version: 13.0.0
+Version: 14.0.0
Release: 1
-License: distributable
+License: GPL v2+ (sox), LGPL v2+ (libsox)
Group: Applications/Sound
Source0: http://dl.sourceforge.net/sox/%{name}-%{version}.tar.gz
-# Source0-md5: 0243d62895caee558b5294d5b78cfbcb
+# Source0-md5: c0c242fb2760cea9dc30de884eb1facc
Patch0: %{name}-gsm.patch
+Patch1: %{name}-system-lpc10.patch
+Patch2: %{name}-amr.patch
URL: http://sox.sourceforge.net/
%{?with_alsa:BuildRequires: alsa-lib-devel}
+%{?with_amr:BuildRequires: amrnb-devel}
+%{?with_amr:BuildRequires: amrwb-devel}
BuildRequires: autoconf >= 2.50
BuildRequires: automake
-#BuildRequires: flac-devel < 1.1.3
+BuildRequires: ffmpeg-devel
+BuildRequires: flac-devel
+BuildRequires: ladspa-devel
BuildRequires: lame-libs-devel
+BuildRequires: libao-devel
BuildRequires: libgsm-devel
+BuildRequires: libltdl-devel
BuildRequires: libmad-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libtool
BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: lpc10-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -100,9 +110,64 @@
%description static -l pl.UTF-8
Biblioteka statyczna SoX do konwertowania plików dźwiękowych.
+%package fmt-amr
+Summary: SoX modules with AMR-NB and AMR-WB format support
+Summary(pl.UTF-8): Moduły SoX obsługujące formaty AMR-NB i AMR-WB
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description fmt-amr
+SoX modules with AMR-NB and AMR-WB format support.
+
+%description fmt-amr -l pl.UTF-8
+Moduły SoX obsługujące formaty AMR-NB i AMR-WB.
+
+%package fmt-ffmpeg
+Summary: SoX module which uses ffmpeg codecs
+Summary(pl.UTF-8): Moduł SoX wykorzystujący kodeki ffmpeg
+# ffmpeg in PLD is compiled as GPL
+License: GPL v2+
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description fmt-ffmpeg
+SoX module which uses ffmpeg codecs.
+
+%description fmt-ffmpeg -l pl.UTF-8
+Moduł SoX wykorzystujący kodeki ffmpeg.
+
+%package fmt-lpc10
+Summary: SoX module with LPC10 format support
+Summary(pl.UTF-8): Moduł SoX obsługujący format LPC10
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description fmt-lpc10
+SoX module with LPC10 format support.
+
+%description fmt-lpc10 -l pl.UTF-8
+Moduł SoX obsługujący format LPC10.
+
+%package fmt-mp3
+Summary: SoX module with MP3 format support
+Summary(pl.UTF-8): Moduł SoX obsługujący format MP3
+# libmad is GPLed, libmp3lame can contain GPL parts (and in PLD it does)
+License: GPL v2+
+Group: Libraries
+
+%description fmt-mp3
+SoX module with MP3 format support. It uses libmad for decoding and
+LAME for encoding.
+
+%description fmt-mp3 -l pl.UTF-8
+Moduł SoX obsługujący format MP3. Wykorzystuje do dekodowania
+bibliotekę libmad, a do kodowania - LAME.
+
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
@@ -111,10 +176,10 @@
%{__autoheader}
%{__automake}
%configure \
- %{!?with_alsa:--disable-alsa-dsp}
+ %{!?with_alsa:--disable-alsa-dsp} \
+ %{!?with_amr:--without-amr-nb --without-amr-wb}
%{__make}
-# PREFIX=%{_prefix}
%install
rm -rf $RPM_BUILD_ROOT
@@ -130,6 +195,8 @@
echo '.so sox.1' > $RPM_BUILD_ROOT%{_mandir}/man1/play.1
echo '.so sox.1' > $RPM_BUILD_ROOT%{_mandir}/man1/rec.1
+rm -f $RPM_BUILD_ROOT%{_libdir}/sox/*.{la,a}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -144,23 +211,109 @@
%attr(755,root,root) %{_bindir}/rec
%attr(755,root,root) %{_bindir}/sox
%attr(755,root,root) %{_bindir}/soxplay
-%attr(755,root,root) %{_libdir}/libst.so.*.*.*
+%attr(755,root,root) %{_libdir}/libsfx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsfx.so.0
+%attr(755,root,root) %{_libdir}/libsox.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsox.so.0
+%dir %{_libdir}/sox
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_aifc.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_aiff.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_al.so*
+%if %{with alsa}
+# R: alsa-lib
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_alsa.so*
+%endif
+# R: libao
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_ao.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_au.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_auto.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_avr.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_cdr.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_cvsd.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_dat.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_dvms.so*
+# R: flac
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_flac.so*
+# R: libgsm
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_gsm.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_hcom.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_ima.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_la.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_lu.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_maud.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_nul.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_oss.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_prc.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_raw.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_s1.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_s2.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_s3.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_s4.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_sf.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_smp.so*
+# R: libsndfile
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_sndfile.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_sndrtool.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_sphere.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_svx.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_txw.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_u1.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_u2.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_u3.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_u4.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_ul.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_voc.so*
+# R: libogg libvorbis
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_vorbis.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_vox.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_wav.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_wve.so*
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_xa.so*
%{_mandir}/man1/play.1*
%{_mandir}/man1/rec.1*
%{_mandir}/man1/sox.1*
+%{_mandir}/man7/soxeffect.7*
%{_mandir}/man7/soxexam.7*
+%{_mandir}/man7/soxformat.7*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/libst-config
-%attr(755,root,root) %{_libdir}/libst.so
-%{_libdir}/libst.la
-%{_includedir}/st*.h
-%{_mandir}/man3/libst.3*
+%attr(755,root,root) %{_libdir}/libsfx.so
+%attr(755,root,root) %{_libdir}/libsox.so
+%{_libdir}/libsfx.la
+%{_libdir}/libsox.la
+%{_includedir}/sox.h
+%{_includedir}/soxstdint.h
+%{_mandir}/man3/libsox.3*
%files static
%defattr(644,root,root,755)
-%{_libdir}/libst.a
+%{_libdir}/libsfx.a
+%{_libdir}/libsox.a
+
+%if %{with amr}
+%files fmt-amr
+%defattr(644,root,root,755)
+# R: amr-nb
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_amr_nb.so*
+# R: amr-wb
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_amr_wb.so*
+%endif
+
+%files fmt-ffmpeg
+%defattr(644,root,root,755)
+# R: ffmpeg-libs
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_ffmpeg.so*
+
+%files fmt-lpc10
+%defattr(644,root,root,755)
+# R: lpc10
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_lpc10.so*
+
+%files fmt-mp3
+%defattr(644,root,root,755)
+# R: lame-libs libmad
+%attr(755,root,root) %{_libdir}/sox/libsox_fmt_mp3.so*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -168,6 +321,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.51 2007-12-01 22:05:49 qboosh
+- updated to 14.0.0 (NOTE: library name has changed)
+- updated gsm patch, added amr,system-lpc10 patches
+- amr (nb, wb) support bconded, off by default due to non-distributable libs
+- separated some plugins with external dependencies and different licensing
+
Revision 1.50 2007-02-17 21:01:16 qboosh
- updated to 13.0.0
- updated gsm patch, removed obsolete install patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sox.spec?r1=1.50&r2=1.51&f=u
More information about the pld-cvs-commit
mailing list