Name: rubberband Version: 1.8.2 Release: 1 Summary: Audio time-stretching and pitch-shifting library License: GPLv2+ URL: http://www.breakfastquay.com/rubberband/ Source0: https://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2 Patch0: %{name}-1.8.2-mk.patch BuildRequires: gcc-c++ BuildRequires: ladspa-devel BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) BuildRequires: vamp-plugin-sdk-devel Requires: ladspa %description Rubber Band is a library and utility program that permits you to change the tempo and pitch of an audio recording independently of one another. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 sed -i 's|{exec_prefix}/lib|{exec_prefix}/%{_lib}|' rubberband.pc.in %build %configure --disable-static %make_build %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a %ldconfig_scriptlets %files %license COPYING %doc README.txt %{_bindir}/rubberband %{_libdir}/*.so.* %{_libdir}/ladspa/ladspa-rubberband.* %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf %{_libdir}/vamp/vamp-rubberband.* %files devel %doc CHANGELOG %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/rubberband.pc %changelog * Thu May 13 2021 He Rengui - 1.8.2-1 - package init