Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
sox
sox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sox.spec of Package sox
# # spec file for package sox (Version 14.3.1) # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_with ffmpeg %bcond_with mad %bcond_with lame %bcond_with amrwb %bcond_with amrnb Name: sox BuildRequires: alsa-devel BuildRequires: file-devel BuildRequires: flac-devel BuildRequires: ladspa-devel BuildRequires: libao-devel BuildRequires: libgsm-devel BuildRequires: libid3tag-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel BuildRequires: libsamplerate-devel BuildRequires: libsndfile-devel BuildRequires: libvorbis-devel BuildRequires: pkg-config BuildRequires: wavpack-devel %if %{with ffmpeg} BuildRequires: libffmpeg-devel %endif %if %{with mad} BuildRequires: libmad-devel %endif %if %{with lame} BuildRequires: libmp3lame-devel %endif %if %{with amrwb} BuildRequires: libamrwb-devel %endif %if %{with amrnb} BuildRequires: libamrnb-devel %endif Version: 14.3.1 Release: 4 License: LGPLv2.1+ ; GPLv2+ Summary: Sound Conversion Tools and Library Url: http://sox.sourceforge.net Group: Productivity/Multimedia/Sound/Editors and Convertors Source: %{name}-%{version}.tar.bz2 Source1: audioio.h # Patch0: %{name}-14.2.0-vorbis.patch # PATCH-FIX-OPENSUSE %{name}-no_buildstamp.patch reddwarf@opensuse.org -- this patch removes the buildstamp Patch1: %{name}-no_buildstamp.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-undefined.patch sf#3072301 reddwarf@opensuse.org -- fix undefined behavior problems as reported by post-build script Patch2: %{name}-14.3.1-undefined.patch # PATCH-FIX-UPSTREAM %{name}-14.3.1-aliasing.patch sf#3072320 reddwarf@opensuse.org -- fix an aliasing problem as reported by post-build script Patch3: %{name}-14.3.1-aliasing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. %package devel License: LGPLv2.1+ ; GPLv2+ Summary: Sound Conversion Tools and Library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: pkg-config %description devel SOX is intended to be the Swiss Army knife of sound processing tools. It does many things, it just does not do them all well. Sooner or later it will come in very handy. SOX is really only usable day-to-day if you hide the wacky options with one-line shell scripts. %prep %setup -q %patch1 %patch2 %patch3 %build # /dev/audio (OSS) support. If it ever breaks just remove it. if [ ! -f %{_includedir}/sun/audioio.h ]; then mkdir -p include/sun cp %{S:1} include/sun/audioio.h fi export CPPFLAGS=-I$PWD/include # %configure --disable-static make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/sox/*.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README src/monkey.* %{_bindir}/* %attr(0644,root,root) %{_libdir}/lib*.so.* # %dir %{_libdir}/sox # %{_libdir}/sox/*.so %{_mandir}/man1/* %{_mandir}/man3/* %{_mandir}/man7/* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/sox.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor