commit 025c6c2a7cabf3c6702115ace9ecc2356c85248e Author: MSVSphere Packaging Team Date: Mon Dec 23 13:47:48 2024 +0300 import rubberband-3.3.0-8.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0054495 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rubberband-3.3.0.tar.bz2 diff --git a/.rubberband.metadata b/.rubberband.metadata new file mode 100644 index 0000000..cfc9270 --- /dev/null +++ b/.rubberband.metadata @@ -0,0 +1 @@ +dda24039840a83cb359eff689f2304519649dea8 SOURCES/rubberband-3.3.0.tar.bz2 diff --git a/SOURCES/packit.yaml b/SOURCES/packit.yaml new file mode 100644 index 0000000..7280130 --- /dev/null +++ b/SOURCES/packit.yaml @@ -0,0 +1,18 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +upstream_project_url: https://github.com/breakfastquay/rubberband.git +upstream_tag_template: v{version} +copy_upstream_release_description: false + +jobs: +- job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + +- job: koji_build + trigger: commit + allowed_committers: ['packit'] + dist_git_branches: + - fedora-rawhide diff --git a/SOURCES/rubberband-disable-failed-ppc64le-tests.diff b/SOURCES/rubberband-disable-failed-ppc64le-tests.diff new file mode 100644 index 0000000..867e5e1 --- /dev/null +++ b/SOURCES/rubberband-disable-failed-ppc64le-tests.diff @@ -0,0 +1,34 @@ +--- a/src/test/TestStretcher.cpp ++++ b/src/test/TestStretcher.cpp +@@ -1007,6 +1007,7 @@ BOOST_AUTO_TEST_CASE(impulses_slow_highe + false); + } + ++#ifndef __PPC64__ + BOOST_AUTO_TEST_CASE(impulses_slow_lower_realtime_finer) + { + impulses_realtime(RubberBandStretcher::OptionEngineFiner | +@@ -1014,6 +1015,7 @@ BOOST_AUTO_TEST_CASE(impulses_slow_lower + 8.0, 0.5, + false); + } ++#endif + + BOOST_AUTO_TEST_CASE(impulses_slow_lower_realtime_finer_hqpitch) + { +@@ -1024,6 +1026,7 @@ BOOST_AUTO_TEST_CASE(impulses_slow_lower + false); + } + ++#ifndef __PPC64__ + BOOST_AUTO_TEST_CASE(impulses_slow_lower_realtime_finer_hcpitch) + { + impulses_realtime(RubberBandStretcher::OptionEngineFiner | +@@ -1032,6 +1035,7 @@ BOOST_AUTO_TEST_CASE(impulses_slow_lower + 8.0, 0.5, + false); + } ++#endif + + static void final_realtime(RubberBandStretcher::Options options, + double timeRatio, diff --git a/SPECS/rubberband.spec b/SPECS/rubberband.spec new file mode 100644 index 0000000..a159c5a --- /dev/null +++ b/SPECS/rubberband.spec @@ -0,0 +1,296 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 8; + 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 + +%bcond_without check + +%global so_version 2 + +Name: rubberband +Version: 3.3.0 +Release: %autorelease +Summary: Audio time-stretching and pitch-shifting library + +License: GPL-2.0-or-later +URL: http://www.breakfastquay.com/rubberband/ +Source0: https://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2 +# Two tests fail on ppc64le: https://todo.sr.ht/~breakfastquay/rubberband/29 +Patch: %{name}-disable-failed-ppc64le-tests.diff + +BuildRequires: meson +BuildRequires: gcc-c++ +BuildRequires: ladspa-devel +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(lv2) +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(sndfile) +BuildRequires: vamp-plugin-sdk-devel +BuildRequires: boost-devel + +Requires: ladspa +Requires: lv2 + +%global _description %{expand: +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.} + +%description %{_description} + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel %{_description} + +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 + + +%build +%meson \ + -Dfft=fftw \ + -Djni=disabled \ + -Dresampler=libsamplerate +%meson_build + + +%install +%meson_install +find %{buildroot} -name '*.la' -exec rm -f {} ';' +rm -rf %{buildroot}%{_libdir}/*.a + + +%if %{with check} +%check +%meson_test +%endif + + +%files +%license COPYING +%doc README.md +%{_bindir}/rubberband +%{_bindir}/rubberband-r3 +%{_libdir}/*.so.%{so_version}* +%{_libdir}/ladspa/ladspa-rubberband.* +%dir %{_libdir}/lv2/rubberband.lv2 +%{_libdir}/lv2/rubberband.lv2/* +%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf +%{_libdir}/vamp/vamp-rubberband.* + +%files devel +%doc CHANGELOG +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/rubberband.pc + + +%changelog +* Mon Dec 23 2024 MSVSphere Packaging Team - 3.3.0-8 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Sep 23 2024 Simone Caronni - 3.3.0-8 +- Use RPM macros everywhere + +* Fri Jul 19 2024 Fedora Release Engineering - 3.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jun 12 2024 Michel Lind - 3.3.0-6 +- Fix directory ownership (rhbz#2283761) + +* Wed Jun 12 2024 Michel Lind - 3.3.0-5 +- Enable Packit + +* Thu Mar 28 2024 Marie Loise Nolden - 3.3.0-4 +- boost-devel is needed even without check + +* Fri Jan 26 2024 Fedora Release Engineering - 3.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 21 2023 Michel Alexandre Salim - 3.3.0-1 +- Update to 3.3.0 +- Use SPDX license identifier + +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 10 2023 Michel Alexandre Salim - 3.2.1-2 +- Disable failed tests on ppc64le + +* Wed May 10 2023 Michel Alexandre Salim - 3.2.1-1 +- Update to 3.2.1 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jan 11 2023 Michel Alexandre Salim - 3.1.2-1 +- Update to 3.1.2 (fixes: rhbz#2136895) + +* Sun Oct 02 2022 Michel Alexandre Salim - 3.1.0-2 +- Enable tests + +* Sun Oct 02 2022 Michel Alexandre Salim - 3.1.0-1 +- Update to 3.1.0 + +* Fri Jul 29 2022 Michel Alexandre Salim - 3.0.0-2 +- Explicitly mark so_version so we know when there's an API compatibility + break + +* Fri Jul 29 2022 Uwe Klotz - 3.0.0-1 +- Update to 3.0.0 + +* Sat Jul 23 2022 Fedora Release Engineering - 2.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jan 31 2022 Uwe Klotz - 2.0.2-2 +- Add LV2 plugin and runtime dependencies + +* Sat Jan 29 2022 Michel Alexandre Salim - 2.0.2-1 +- Update to 2.0.2 (resolves: rhbz#2046184) + +* Thu Jan 20 2022 Michel Alexandre Salim - 2.0.1-1 +- Update to 2.0.1 + +* Thu Jan 06 2022 Michel Alexandre Salim - 2.0.0-2 +- Opt in to rpmautospec + +* Sat Oct 23 2021 Uwe Klotz - 2.0.0-1 +- Update to 2.0.0 (#2016650) + +* Fri Jul 23 2021 Fedora Release Engineering - 1.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 09 2021 Uwe Klotz - 1.9.2-1 +- Update to 1.9.2 + +* Thu Apr 08 2021 Uwe Klotz - 1.9.1-2 +- Use FFTW instead of KissFFT: https://github.com/breakfastquay/rubberband/issues/37 +- Explicitly enable libsamplerate + +* Wed Mar 17 2021 Michel Alexandre Salim - 1.9.1-1 +- Update to 1.9.1 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Nov 17 2020 Michel Alexandre Salim - 1.9.0-1 +- Update to 1.9.0 + +* Sat Aug 01 2020 Fedora Release Engineering - 1.8.2-6 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.8.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.8.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 17 2018 Michel Alexandre Salim - 1.8.2-1 +- Update to 1.8.2 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.8.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.8.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.8.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.8.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.8.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* 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 + + +## END: Generated by rpmautospec