You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.9 KiB
91 lines
1.9 KiB
%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
|
|
%autochangelog
|