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.
rubberband/rubberband.spec

79 lines
1.7 KiB

17 years ago
Name: rubberband
Version: 3.0.0
Release: %autorelease
17 years ago
Summary: Audio time-stretching and pitch-shifting library
License: GPLv2+
URL: http://www.breakfastquay.com/rubberband/
6 years ago
Source0: https://breakfastquay.com/files/releases/%{name}-%{version}.tar.bz2
17 years ago
BuildRequires: meson
BuildRequires: gcc-c++
6 years ago
BuildRequires: ladspa-devel
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(lv2)
6 years ago
BuildRequires: vamp-plugin-sdk-devel
17 years ago
Requires: ladspa
Requires: lv2
17 years ago
%global _description %{expand:
17 years ago
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.}
17 years ago
%description %{_description}
17 years ago
%package devel
Summary: Development files for %{name}
6 years ago
Requires: %{name}%{?_isa} = %{version}-%{release}
17 years ago
Requires: pkgconfig
%description devel %{_description}
17 years ago
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
6 years ago
%autosetup -p1
17 years ago
%build
%meson -Dfft=fftw -Dresampler=libsamplerate
%meson_build
17 years ago
%install
%meson_install
17 years ago
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
17 years ago
# no tests yet
# check
# meson_test
17 years ago
%files
6 years ago
%license COPYING
%doc README.md
17 years ago
%{_bindir}/rubberband
%{_bindir}/rubberband-r3
17 years ago
%{_libdir}/*.so.*
%{_libdir}/ladspa/ladspa-rubberband.*
%{_libdir}/lv2/rubberband.lv2/*
17 years ago
%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
17 years ago
%{_libdir}/vamp/vamp-rubberband.*
%files devel
%doc CHANGELOG
17 years ago
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/rubberband.pc
%changelog
%autochangelog