Name: rubberband Version: 3.2.1 Release: 1%{?dist} Summary: Audio time-stretching and pitch-shifting library Group: System Environment/Libraries License: GPLv2+ URL: http://www.breakfastquay.com/rubberband/ %undefine _disable_source_fetch Source0: https://hg.sr.ht/~breakfastquay/rubberband/archive/v3.2.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fftw-devel libsamplerate-devel libsndfile-devel sleef-devel BuildRequires: ladspa-devel lv2-devel #BuildRequires: vamp-plugin-sdk-devel >= 2.9 Requires: ladspa BuildRequires: ninja-build meson cmake3 devtoolset-9-gcc-c++ java-1.8.0-openjdk-devel %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} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{name}-v%{version} sed -i 's|{exec_prefix}/lib|{exec_prefix}/%{_lib}|' rubberband.pc.in %build export CC=/opt/rh/devtoolset-9/root/bin/gcc export CXX=/opt/rh/devtoolset-9/root/bin/g++ meson setup --prefix=%{_prefix} --libdir=%{_libdir} --default-library=shared -Dfft=fftw -Dresampler=libsamplerate build ninja -C build %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT ninja install -C build find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING %{_bindir}/rubberband %{_bindir}/rubberband-r3 %{_libdir}/*.so.* %{_libdir}/ladspa/ladspa-rubberband.* %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf %{_libdir}/lv2/* #%{_libdir}/vamp/vamp-rubberband.* %files devel %defattr(-,root,root,-) %doc CHANGELOG %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/rubberband.pc %changelog * Thu Feb 04 2016 Fedora Release Engineering - 1.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.8.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.8.1-6 - Rebuilt for GCC 5 C++11 ABI change * Mon Aug 18 2014 Fedora Release Engineering - 1.8.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Oct 28 2012 Michel Salim - 1.8.1-1 - Update to 1.8.1 * Sat Jul 21 2012 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 1.7.0-2 - Rebuilt for c++ ABI breakage * Tue Jan 31 2012 Michel Salim - 1.7.0-1 - Update to 1.7.0 * Sat Jan 14 2012 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 14 2011 Michel Salim - 1.6.0-1 - Update to 1.6.0 * Wed Feb 09 2011 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 3 2010 Michel Salim - 1.5.0-2 - Fixed pkg-config version declaration * Wed Jun 2 2010 Tom "spot" Callaway - 1.5.0-1 - update to 1.5.0 - disable static libs * Sun Jul 26 2009 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 8 2009 Michel Salim - 1.2-3 - Fix compilation problem with GCC 4.4 * Sun Dec 14 2008 Michel Salim - 1.2-2 - Rebuild for vamp-plugins-sdk-2.0 * Thu Jul 17 2008 Michel Alexandre Salim - 1.2-1 - Update to 1.2 * Sun Mar 30 2008 Michel Salim - 1.0.1-1 - Initial package