## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global forgeurl https://codeberg.org/sox_ng/sox_ng %global commit a4a14b4f58ac2c08c4cc416a7cffe8a4c50a0b7d Name: sox_ng Version: 14.8.1 Summary: Maintained fork of the SoX audio processing utility License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-only AND BSD-3-Clause AND MIT %forgemeta Release: %autorelease URL: %{forgeurl} Source0: %{forgesource} BuildRequires: gcc BuildRequires: make BuildRequires: libtool BuildRequires: alsa-lib-devel BuildRequires: fftw-devel BuildRequires: file-devel BuildRequires: flac-devel BuildRequires: gsm-devel BuildRequires: ladspa-devel BuildRequires: lame-devel BuildRequires: libao-devel BuildRequires: libid3tag-devel BuildRequires: libmad-devel BuildRequires: libpng-devel BuildRequires: libsndfile-devel BuildRequires: libtool-ltdl-devel BuildRequires: libvorbis-devel BuildRequires: opusfile-devel BuildRequires: pulseaudio-libs-devel BuildRequires: speex-devel BuildRequires: speexdsp-devel BuildRequires: twolame-devel BuildRequires: wavpack-devel # Replace Fedora's abandoned SoX package. --enable-replace installs the # traditional sox, soxi, play and rec command names as compatibility links. Provides: sox = %{version}-%{release} Obsoletes: sox < %{version}-%{release} # These libraries are shipped in the upstream tarball and used when an # external equivalent is unavailable or does not exist in Fedora. Provides: bundled(libdolbyb) Provides: bundled(libebur128) Provides: bundled(liblpc10) %description SoX_ng is the actively maintained fork of SoX, the command-line audio file format converter and effects processor. This package replaces Fedora's original SoX package while retaining the traditional sox, soxi, play and rec command names. The native sox_ng, soxi_ng, play_ng and rec_ng names are also installed. %package devel Summary: Development files for libsox_ng Requires: %{name}%{?_isa} = %{version}-%{release} Provides: sox-devel = %{version}-%{release} Obsoletes: sox-devel < %{version}-%{release} %description devel Headers, libraries, pkg-config data and manual pages for developing software against libsox_ng. Compatibility names for the former SoX development package are included. %prep %forgesetup %build %configure \ --enable-replace \ --disable-static \ --with-distro=Fedora \ --with-dyn-default %make_build %install %make_install find %{buildroot} -name '*.la' -delete %check make check %files %license COPYING libdolbyb/COPYING libebur128/COPYING libgsm/COPYRIGHT %doc AUTHORS ChangeLog README.md %{_bindir}/play %{_bindir}/play_ng %{_bindir}/rec %{_bindir}/rec_ng %{_bindir}/sox %{_bindir}/sox_ng %{_bindir}/soxi %{_bindir}/soxi_ng %{_libdir}/libsox_ng.so.* %dir %{_libdir}/sox_ng %{_libdir}/sox_ng/libsox_ng_fmt_*.so %{_mandir}/man1/play.1* %{_mandir}/man1/play_ng.1* %{_mandir}/man1/rec.1* %{_mandir}/man1/rec_ng.1* %{_mandir}/man1/sox.1* %{_mandir}/man1/sox_ng.1* %{_mandir}/man1/soxi.1* %{_mandir}/man1/soxi_ng.1* %{_mandir}/man7/soxeffect.7* %{_mandir}/man7/soxeffect_ng.7* %{_mandir}/man7/soxformat.7* %{_mandir}/man7/soxformat_ng.7* %files devel %{_includedir}/sox.h %{_includedir}/sox_ng.h %{_libdir}/libsox.so %{_libdir}/libsox_ng.so %{_libdir}/pkgconfig/sox.pc %{_libdir}/pkgconfig/sox_ng.pc %{_mandir}/man3/libsox.3* %{_mandir}/man3/libsox_ng.3* %{_mandir}/man3/libsoxeffect.3* %{_mandir}/man3/libsoxeffect_ng.3* %{_mandir}/man3/libsoxformat.3* %{_mandir}/man3/libsoxformat_ng.3* %changelog ## START: Generated by rpmautospec * Mon Aug 31 2026 John Doe - 14.8.1-1 - Uncommitted changes ## END: Generated by rpmautospec