2009-07-29 04:47:08 +02:00
|
|
|
#
|
2015-02-13 13:12:41 +01:00
|
|
|
# spec file for package librubberband
|
2009-07-29 04:47:08 +02:00
|
|
|
#
|
2022-08-04 10:06:00 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-07-29 04:47:08 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-07-29 04:47:08 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
%define sover 2
|
2009-07-29 04:47:08 +02:00
|
|
|
Name: librubberband
|
2022-10-04 18:06:56 +02:00
|
|
|
Version: 3.1.0
|
2015-02-16 16:35:58 +01:00
|
|
|
Release: 0
|
2009-07-29 04:47:08 +02:00
|
|
|
Summary: Audio time-stretching and pitch-shifting library
|
2020-09-23 15:20:40 +02:00
|
|
|
License: GPL-2.0-or-later
|
2015-02-16 16:35:58 +01:00
|
|
|
Group: System/Libraries
|
2020-09-23 15:20:40 +02:00
|
|
|
URL: https://www.breakfastquay.com/rubberband/
|
|
|
|
Source: https://breakfastquay.com/files/releases/rubberband-%{version}.tar.bz2
|
2015-02-16 16:35:58 +01:00
|
|
|
Source1: baselibs.conf
|
2022-08-04 10:06:00 +02:00
|
|
|
BuildRequires: cmake
|
2015-02-16 16:35:58 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: ladspa-devel
|
2022-08-04 10:06:00 +02:00
|
|
|
BuildRequires: meson >= 0.53.0
|
2020-09-23 15:20:40 +02:00
|
|
|
BuildRequires: pkgconfig
|
2022-08-04 10:06:00 +02:00
|
|
|
BuildRequires: vamp-plugin-sdk-devel
|
2020-09-23 15:20:40 +02:00
|
|
|
BuildRequires: pkgconfig(fftw3)
|
2022-08-04 10:06:00 +02:00
|
|
|
BuildRequires: pkgconfig(lv2)
|
2020-09-23 15:20:40 +02:00
|
|
|
BuildRequires: pkgconfig(samplerate)
|
|
|
|
BuildRequires: pkgconfig(sndfile)
|
|
|
|
BuildRequires: pkgconfig(vamp-sdk)
|
2009-07-29 04:47:08 +02:00
|
|
|
Requires: ladspa
|
2022-08-04 10:06:00 +02:00
|
|
|
Requires: lv2
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
%package -n %{name}%{sover}
|
2009-07-29 04:47:08 +02:00
|
|
|
Summary: Audio time-stretching and pitch-shifting library
|
2010-10-20 15:20:44 +02:00
|
|
|
Group: System/Libraries
|
2020-09-23 15:20:40 +02:00
|
|
|
URL: https://www.breakfastquay.com/rubberband/
|
2009-07-29 04:47:08 +02:00
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
%description -n %{name}%{sover}
|
2009-07-29 04:47:08 +02:00
|
|
|
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 -n rubberband-cli
|
|
|
|
Summary: Command line interface for %{name}
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2020-09-23 15:20:40 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%description -n rubberband-cli
|
2011-05-22 17:20:52 +02:00
|
|
|
Package rubberband-cli contains a command-line utility that can be used to exploit
|
2009-07-29 04:47:08 +02:00
|
|
|
Rubber Band's capabilities.
|
|
|
|
|
|
|
|
%package -n rubberband-ladspa
|
|
|
|
Summary: LADSPA plugin for %{name}
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2020-09-23 15:20:40 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%description -n rubberband-ladspa
|
|
|
|
Package rubberband-ladspa is LADSPA plugin that can change the pitch of a sound in real-time.
|
|
|
|
|
2022-08-04 10:06:00 +02:00
|
|
|
%package -n rubberband-lv2
|
|
|
|
Summary: LV2 plugins for %{name}
|
|
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
|
|
|
Requires: %{name}%{sover} = %{version}
|
|
|
|
|
|
|
|
%description -n rubberband-lv2
|
|
|
|
Package rubberband-lv2 contains the rubberband LV2 plugin.
|
|
|
|
|
2009-07-29 04:47:08 +02:00
|
|
|
%package -n rubberband-vamp
|
|
|
|
Summary: Vamp plugins for %{name}
|
|
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
2020-09-23 15:20:40 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%description -n rubberband-vamp
|
|
|
|
This package contains the following Vamp plugins:
|
|
|
|
* increments (Output Increments): Output time increment for each
|
|
|
|
input step
|
|
|
|
* aggregate_increments (Accumulated Output Increments): Accumulated
|
|
|
|
output time increments
|
|
|
|
* divergence (Divergence from Linear): Difference between actual
|
|
|
|
output time and the output time for a theoretical linear stretch
|
|
|
|
* phaseresetdf (Phase Reset Detection Function): Curve whose peaks
|
|
|
|
are used to identify transients for phase reset points
|
|
|
|
* smoothedphaseresetdf (Smoothed Phase Reset Detection Function):
|
|
|
|
Phase reset curve smoothed for peak picking
|
|
|
|
* phaseresetpoints (Phase Reset Points): Points estimated as
|
|
|
|
transients at which phase reset occurs
|
|
|
|
* timesyncpoints (Time Sync Points): Salient points which stretcher
|
|
|
|
aims to place with strictly correct timing
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2010-10-20 15:20:44 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-09-23 15:20:40 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2009-07-29 04:47:08 +02:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n rubberband-%{version}
|
|
|
|
|
|
|
|
%build
|
2022-08-04 10:06:00 +02:00
|
|
|
%meson -Dfft=fftw
|
|
|
|
%meson_build
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%install
|
2022-08-04 10:06:00 +02:00
|
|
|
%meson_install
|
2022-10-04 18:06:56 +02:00
|
|
|
|
|
|
|
rm %{buildroot}%{_libdir}/*.a
|
2011-05-22 17:20:52 +02:00
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
%post -n %{name}%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
2009-07-29 04:47:08 +02:00
|
|
|
|
2020-09-23 15:20:40 +02:00
|
|
|
%files -n %{name}%{sover}
|
|
|
|
%license COPYING
|
2022-08-04 10:06:00 +02:00
|
|
|
%doc README.md
|
2020-09-23 15:20:40 +02:00
|
|
|
%{_libdir}/%{name}.so.%{sover}*
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%files devel
|
2022-08-04 10:06:00 +02:00
|
|
|
%dir %{_includedir}/rubberband
|
|
|
|
%{_includedir}/rubberband/*.h
|
|
|
|
%{_libdir}/librubberband.so
|
2009-07-29 04:47:08 +02:00
|
|
|
%{_libdir}/pkgconfig/rubberband.pc
|
|
|
|
|
|
|
|
%files -n rubberband-cli
|
|
|
|
%{_bindir}/rubberband
|
2022-08-04 10:06:00 +02:00
|
|
|
%{_bindir}/rubberband-r3
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%files -n rubberband-ladspa
|
|
|
|
%dir %{_libdir}/ladspa
|
|
|
|
%dir %{_datadir}/ladspa
|
|
|
|
%dir %{_datadir}/ladspa/rdf
|
2020-09-23 15:20:40 +02:00
|
|
|
%{_libdir}/ladspa/ladspa-rubberband.cat
|
|
|
|
%{_libdir}/ladspa/ladspa-rubberband.so
|
2009-07-29 04:47:08 +02:00
|
|
|
%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
|
|
|
|
|
2022-08-04 10:06:00 +02:00
|
|
|
%files -n rubberband-lv2
|
|
|
|
%dir %{_libdir}/lv2
|
|
|
|
%dir %{_libdir}/lv2/rubberband.lv2
|
|
|
|
%{_libdir}/lv2/rubberband.lv2/lv2-rubberband.so
|
|
|
|
%{_libdir}/lv2/rubberband.lv2/lv2-rubberband.ttl
|
|
|
|
%{_libdir}/lv2/rubberband.lv2/manifest.ttl
|
|
|
|
|
2009-07-29 04:47:08 +02:00
|
|
|
%files -n rubberband-vamp
|
|
|
|
%dir %{_libdir}/vamp
|
2020-09-23 15:20:40 +02:00
|
|
|
%{_libdir}/vamp/vamp-rubberband.cat
|
|
|
|
%{_libdir}/vamp/vamp-rubberband.so
|
2009-07-29 04:47:08 +02:00
|
|
|
|
|
|
|
%changelog
|