520ba55
Summary: A general purpose sound file conversion tool
cvsdist 563f7bd
Name: sox
2f459ef
Version: 14.0.1
2181bab
Release: 2%{?dist}
1ea8dfa
License: GPL
cvsdist 563f7bd
Group: Applications/Multimedia
cvsdist 3701194
Source: http://prdownloads.sourceforge.net/sox/sox-%{version}.tar.gz
cvsdist 3701194
URL: http://sox.sourceforge.net/
3473155
BuildRequires: libvorbis-devel
3473155
BuildRequires: alsa-lib-devel
e1bf1a0
BuildRequires: gsm-devel
2181bab
BuildRequires: flac-devel
520ba55
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 563f7bd
cvsdist 563f7bd
%description
cvsdist 2e87ff2
SoX (Sound eXchange) is a sound file format converter SoX can convert
cvsdist 563f7bd
between many different digitized sound formats and perform simple
cvsdist 563f7bd
sound manipulation functions, including sound effects.
cvsdist 563f7bd
cvsdist 563f7bd
%package -n  sox-devel
cvsdist 563f7bd
Summary: The SoX sound file format converter libraries.
cvsdist 563f7bd
Group: Development/Libraries
cvsdist 563f7bd
cvsdist 563f7bd
%description -n sox-devel 
cvsdist 563f7bd
This package contains the library needed for compiling applications
cvsdist 563f7bd
which will use the SoX sound file format converter.
cvsdist 563f7bd
cvsdist 563f7bd
%prep
520ba55
%setup -q
cvsdist 563f7bd
cvsdist 563f7bd
%build
2181bab
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" %configure --enable-flac --with-gsm --includedir=%{_includedir}/sox
cvsdist 3701194
make %{?_smp_mflags}
cvsdist 563f7bd
cvsdist 563f7bd
%install
cvsdist 563f7bd
rm -rf $RPM_BUILD_ROOT
520ba55
make install DESTDIR=$RPM_BUILD_ROOT
de9e56d
rm -f $RPM_BUILD_ROOT/%{_libdir}/libsox.la
de9e56d
rm -f $RPM_BUILD_ROOT/%{_libdir}/libsfx.la
de9e56d
rm -f $RPM_BUILD_ROOT/%{_libdir}/sox/*.la
de9e56d
rm -f $RPM_BUILD_ROOT/%{_libdir}/sox/*.a
de9e56d
cvsdist 563f7bd
cvsdist 563f7bd
%clean
cvsdist 563f7bd
rm -rf $RPM_BUILD_ROOT
cvsdist 563f7bd
20e15d2
%post -p /sbin/ldconfig
20e15d2
20e15d2
%postun -p /sbin/ldconfig
20e15d2
cvsdist 563f7bd
%files
cvsdist 563f7bd
%defattr(-,root,root)
520ba55
%doc AUTHORS ChangeLog COPYING README
6c3264d
%{_bindir}/play
6c3264d
%{_bindir}/rec
6c3264d
%{_bindir}/sox
de9e56d
%{_libdir}/libsox.so.*
de9e56d
%{_libdir}/libsfx.so.*
cvsdist 563f7bd
%{_mandir}/man1/*
520ba55
%{_mandir}/man7/*
cvsdist 563f7bd
cvsdist 563f7bd
%files -n sox-devel
cvsdist 563f7bd
%defattr(-,root,root)
cvsdist 796fae7
%{_includedir}/sox
de9e56d
%{_libdir}/libsox.a
de9e56d
%{_libdir}/libsox.so
de9e56d
%{_libdir}/libsfx.a
de9e56d
%{_libdir}/libsfx.so
cvsdist 563f7bd
%{_mandir}/man3/*
cvsdist 563f7bd
cvsdist 563f7bd
%changelog
2181bab
* Wed Apr 16 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 14.0.1-2
2181bab
- enabled flac support
2181bab
- Resolves: #442703
2181bab
2f459ef
* Mon Feb 25 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 14.0.1-1
2f459ef
- New version 14.0.1
2f459ef
eef89f2
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 14.0.0-2
eef89f2
- Autorebuild for GCC 4.3
eef89f2
de9e56d
* Mon Oct 29 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 14.0.0-1
de9e56d
- New version 14.0.0
de9e56d
- Thanks to Chris Bagwell <chris at cnpbagwell dot com> for initial changes to spec file
de9e56d
68a9f3c
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 13.0.0-3
68a9f3c
- Rebuild for selinux ppc32 issue.
68a9f3c
e1bf1a0
* Mon Jul 16 2007 Jiri Moskovcak <jmoskovc@redhat.com> 13.0.0-2
e1bf1a0
- uses external libgsm instead of local copy
e1bf1a0
- spec file update: added BuildRequires: gsm-devel
e1bf1a0
- Resolves: #239955
e1bf1a0
520ba55
* Mon Feb 26 2007 Thomas Woerner <twoerner@redhat.com> 13.0.0-1
520ba55
- new version 13.0.0
520ba55
- spec file cleanup (#227429)
20e15d2
- new ldconfig calls for post and postun
520ba55
60aa9d8
* Mon Jul 24 2006 Thomas Woerner <twoerner@redhat.com> 12.18.1-1
60aa9d8
- new version 12.18.1
60aa9d8
- fixed multilib devel conflict in libst-config (#192751)
60aa9d8
44efa83
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 12.17.9-1.2.1
44efa83
- rebuild
44efa83
a6d3dac
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 12.17.9-1.2
a6d3dac
- bump again for double-long bug on ppc(64)
a6d3dac
a9c8c91
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 12.17.9-1.1
a9c8c91
- rebuilt for new gcc4.1 snapshot and glibc changes
a9c8c91
1ea8dfa
* Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 12.17.9-1
1ea8dfa
- new version 12.17.9
1ea8dfa
495187a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
495187a
- rebuilt
495187a
c9b2254
* Thu May 12 2005 Thomas Woerner <twoerner@redhat.com> 12.17.7-3
c9b2254
- fixed bad link for man/man1/rec.1.gz (#154089)
c9b2254
- using /usr/include instead of kernel-devel includes
c9b2254
3bd28b6
* Tue Apr 26 2005 Warren Togami <wtogami@redhat.com> 12.17.7-2
3bd28b6
- overflow patch (#155224 upstream)
3bd28b6
3bd28b6
* Sun Apr 17 2005 Warren Togami <wtogami@redhat.com> 12.17.7-1
3473155
- 12.17.7
3473155
- BR alsa-lib-devel (#155224 thias)
3473155
Florian La Roche 8edd250
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche 8edd250
- Copyright: -> License:
Florian La Roche 8edd250
9a2c480
* Mon Nov 22 2004 Thomas Woerner <twoerner@redhat.com> 12.17.6-1
9a2c480
- new version 12.17.6
9a2c480
6c3264d
* Wed Sep 15 2004 Thomas Woerner <twoerner@redhat.com> 12.17.5-3
6c3264d
- moved libst-config to devel package (#132489)
6c3264d
cvsdist ed53bdd
* Thu Aug 26 2004 Thomas Woerner <twoerner@redhat.com> 12.17.5-2
cvsdist ed53bdd
- fixed initialization bug in wav file handler (#130968)
cvsdist ed53bdd
cvsdist 1840be9
* Thu Aug 19 2004 Thomas Woerner <twoerner@redhat.com> 12.17.5-1
cvsdist 1840be9
- new version 12.17.5
cvsdist 1840be9
cvsdist 1840be9
* Fri Jul 23 2004 Bill Nottingham <notting@redhat.com> 12.17.4-4.fc2
cvsdist 1840be9
- add patch for buffer overflow in wav code (CAN-2004-0557, #128158)
cvsdist 1840be9
cvsdist 61b841e
* Fri Jul  9 2004 Bill Nottingham <notting@redhat.com> 12.17.4-4
cvsdist 61b841e
- add patch for 64-bit problem (#127502)
cvsdist 61b841e
cvsdist d61a63e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d61a63e
- rebuilt
cvsdist d61a63e
cvsdist 9d6edc1
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 9d6edc1
- rebuilt
cvsdist 9d6edc1
cvsdist 9d6edc1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 9d6edc1
- rebuilt
cvsdist 9d6edc1
cvsdist 796fae7
* Tue Oct  7 2003 Bill Nottingham <notting@redhat.com> 12.17.4-1
cvsdist 796fae7
- update to 12.17.4
cvsdist 796fae7
- ship soxmix (#102499)
cvsdist 796fae7
- fix soxplay to handle files with spaces (#91144)
cvsdist 796fae7
- use LFS (#79151)
cvsdist 796fae7
cvsdist 796fae7
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 796fae7
- rebuilt
cvsdist 796fae7
cvsdist 3701194
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 3701194
- rebuilt
cvsdist 3701194
cvsdist 3701194
* Fri Feb 21 2003 Elliot Lee <sopwith@redhat.com> 12.17.3-10
cvsdist 3701194
- Add sox-vorberr.patch to fix segfault in #81448
cvsdist 3701194
- _smp_mflags
cvsdist 3701194
cvsdist 3701194
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 3701194
- rebuilt
cvsdist 3701194
cvsdist 3701194
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 12.17.3-8
cvsdist 3701194
- remoive unpackaged files from the buildroot
cvsdist 3701194
- lib64'ize
cvsdist 3701194
cvsdist 114d893
* Fri Jul 18 2002 Bill Nottingham <notting@redhat.com>
cvsdist 114d893
- build against current libvorbis
cvsdist 114d893
cvsdist 3da19a6
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 3da19a6
- automated rebuild
cvsdist 3da19a6
cvsdist 3da19a6
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 3da19a6
- automated rebuild
cvsdist 3da19a6
cvsdist 9408d7a
* Thu Feb 21 2002 Bill Nottingham <notting@redhat.com>
cvsdist 9408d7a
- rebuild
cvsdist 9408d7a
cvsdist 9408d7a
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 9408d7a
- automated rebuild
cvsdist 9408d7a
cvsdist 9408d7a
* Mon Jan 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 9408d7a
- do not require gsm-devel as it has been excluded from rawhide
cvsdist 9408d7a
cvsdist 9408d7a
* Fri Jan  4 2002 Bill Nottingham <notting@redhat.com> 12.17.3-1
cvsdist 9408d7a
- update to 12.17.3
cvsdist 9408d7a
cvsdist 9408d7a
* Wed Dec  4 2001 Bill Nottingham <notting@redhat.com>
cvsdist 9408d7a
- update to 12.17.2
cvsdist 9408d7a
cvsdist 2e87ff2
* Thu Aug  9 2001 Bill Nottingham <notting@redhat.com>
cvsdist 2e87ff2
- add patch to fix recording (#41755)
cvsdist 2e87ff2
- fix license (#50574)
cvsdist 2e87ff2
cvsdist 0431072
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 0431072
- Bump release + rebuild.
cvsdist 0431072
cvsdist 91bf2f6
* Tue Jan  9 2001 Bill Nottingham <notting@redhat.com>
cvsdist 91bf2f6
- rebuild against new gsm-devel
cvsdist 91bf2f6
cvsdist 91bf2f6
* Tue Jan  2 2001 Bill Nottingham <notting@redhat.com>
cvsdist 91bf2f6
- re-enable gsm stuff
cvsdist 91bf2f6
- update to 12.17.1
cvsdist 91bf2f6
cvsdist 91bf2f6
* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
cvsdist 91bf2f6
- rebuild because of broken fileutils
cvsdist 91bf2f6
cvsdist 91bf2f6
* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
cvsdist 91bf2f6
- update to 12.17
cvsdist 91bf2f6
- yank out gsm stuff
cvsdist 91bf2f6
cvsdist 563f7bd
* Tue Aug  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- fix playing of sounds on cards that don't support mono
cvsdist 563f7bd
cvsdist 563f7bd
* Sat Aug  5 2000 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- fix playing of sounds on cards that don't support 8-bit
cvsdist 563f7bd
cvsdist 563f7bd
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 563f7bd
- automatic rebuild
cvsdist 563f7bd
cvsdist 563f7bd
* Thu Feb 03 2000 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- fix manpage link the Right Way(tm)
cvsdist 563f7bd
cvsdist 563f7bd
* Thu Feb 03 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 563f7bd
- Fix rec manpage link - now that man pages are compressed, it should point to
cvsdist 563f7bd
  play.1.gz, not play.1
cvsdist 563f7bd
cvsdist 563f7bd
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 563f7bd
- fix description
cvsdist 563f7bd
cvsdist 563f7bd
* Tue Sep 28 1999 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- Grrr. Arrrrgh. Fix link.
cvsdist 563f7bd
cvsdist 563f7bd
* Fri Sep 24 1999 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- add some more files to devel
cvsdist 563f7bd
cvsdist 563f7bd
* Fri Sep 17 1999 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- fix link
cvsdist 563f7bd
cvsdist 563f7bd
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- update to 12.16
cvsdist 563f7bd
cvsdist 563f7bd
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 563f7bd
- auto rebuild in the new build environment (release 4)
cvsdist 563f7bd
cvsdist 563f7bd
* Wed Jan 20 1999 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- allow spaces in filenames for play/rec
cvsdist 563f7bd
cvsdist 563f7bd
* Wed Dec  9 1998 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- fix docs
cvsdist 563f7bd
cvsdist 563f7bd
* Mon Nov 23 1998 Bill Nottingham <notting@redhat.com>
cvsdist 563f7bd
- update to 12.15
cvsdist 563f7bd
cvsdist 563f7bd
* Sat Oct 10 1998 Michael Maher <mike@redhat.com>
cvsdist 563f7bd
- fixed broken spec file
cvsdist 563f7bd
cvsdist 563f7bd
* Mon Jul 13 1998 Michael Maher <mike@redhat.com>
cvsdist 563f7bd
- updated source from Chris Bagwell.
cvsdist 563f7bd
cvsdist 563f7bd
* Wed Jun 23 1998 Michael Maher <mike@redhat.com>
cvsdist 563f7bd
- made patch to fix the '-e' option. BUG 580
cvsdist 563f7bd
- added buildroot
cvsdist 563f7bd
cvsdist 563f7bd
* Fri May 08 1998 Prospector System <bugs@redhat.com>
cvsdist 563f7bd
- translations modified for de, fr, tr
cvsdist 563f7bd
cvsdist 563f7bd
* Thu Nov 06 1997 Erik Troan <ewt@redhat.com>
cvsdist 563f7bd
- built against glibc