|
|
|
@ -1,3 +1,143 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.3)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 2;
|
|
|
|
|
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.1.3
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
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 $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_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
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Wed Jun 12 2024 Michel Lind <salimma@fedoraproject.org> - 3.1.3-2
|
|
|
|
|
- Fix directory ownership (rhbz#2283761)
|
|
|
|
|
|
|
|
|
|
* Sun Jul 02 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 3.1.3-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Wed May 10 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.1.3-1
|
|
|
|
|
- Update to 3.1.3
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 11 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.1.2-1
|
|
|
|
|
- Update to 3.1.2 (fixes: rhbz#2136895)
|
|
|
|
|
|
|
|
|
|
* Sun Oct 02 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.1.0-2
|
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
|
|
* Sun Oct 02 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.1.0-1
|
|
|
|
|
- Update to 3.1.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 29 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 3.0.0-2
|
|
|
|
|
- Explicitly mark so_version so we know when there's an API compatibility
|
|
|
|
|
break
|
|
|
|
|
|
|
|
|
|
* Fri Jul 29 2022 Uwe Klotz <uwe.klotz@gmail.com> - 3.0.0-1
|
|
|
|
|
- Update to 3.0.0
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 31 2022 Uwe Klotz <uwe.klotz@gmail.com> - 2.0.2-2
|
|
|
|
|
- Add LV2 plugin and runtime dependencies
|
|
|
|
|
|
|
|
|
|
* Sat Jan 29 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.0.2-1
|
|
|
|
|
- Update to 2.0.2 (resolves: rhbz#2046184)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.0.1-1
|
|
|
|
|
- Update to 2.0.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 06 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.0.0-2
|
|
|
|
|
- Opt in to rpmautospec
|
|
|
|
|
|
|
|
|
@ -124,3 +264,5 @@
|
|
|
|
|
* Sun Mar 30 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0.1-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|