bd436da30c
update to 1.6 + fix failed Factory build OBS-URL: https://build.opensuse.org/request/show/70637 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/librubberband?expand=0&rev=6
166 lines
5.0 KiB
RPMSpec
166 lines
5.0 KiB
RPMSpec
#
|
|
# spec file for package librubberband (Version 1.5.0)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: librubberband
|
|
Version: 1.6.0
|
|
Release: 1
|
|
Summary: Audio time-stretching and pitch-shifting library
|
|
Group: System/Libraries
|
|
License: GPLv2+
|
|
Url: http://www.breakfastquay.com/rubberband/
|
|
Source: rubberband-%{version}.tar.bz2
|
|
#add missing COPYING file (bnc#522202)
|
|
Source1: COPYING
|
|
Patch1: rubberband-mk.patch
|
|
Patch2: fix-cstdio.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: fftw3-devel gcc-c++ libsamplerate-devel pkg-config
|
|
BuildRequires: ladspa-devel libsndfile-devel vamp-plugin-sdk-devel
|
|
Requires: ladspa
|
|
|
|
%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.
|
|
|
|
|
|
%define library_name librubberband2
|
|
%define debug_package_requires %{library_name} = %{version}-%{release}
|
|
|
|
%package -n librubberband2
|
|
Summary: Audio time-stretching and pitch-shifting library
|
|
Group: System/Libraries
|
|
License: GPLv2+
|
|
Url: http://www.breakfastquay.com/rubberband/
|
|
|
|
%description -n librubberband2
|
|
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
|
|
License: GPLv2+
|
|
Summary: Command line interface for %{name}
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
Requires: %{library_name} = %{version}
|
|
|
|
%description -n rubberband-cli
|
|
Package rubberband-cli contains a command-line utility that can be used to exploit
|
|
Rubber Band's capabilities.
|
|
|
|
|
|
%package -n rubberband-ladspa
|
|
License: GPLv2+
|
|
Summary: LADSPA plugin for %{name}
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
Requires: %{library_name} = %{version}
|
|
|
|
%description -n rubberband-ladspa
|
|
Package rubberband-ladspa is LADSPA plugin that can change the pitch of a sound in real-time.
|
|
|
|
%package -n rubberband-vamp
|
|
License: GPLv2+
|
|
Summary: Vamp plugins for %{name}
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
Requires: %{library_name} = %{version}
|
|
|
|
%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
|
|
License: GPLv2+
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{library_name} = %{version}
|
|
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}
|
|
%patch1
|
|
%patch2 -p1
|
|
#copy missing COPYING file
|
|
%__cp %{SOURCE1} .
|
|
%__mv README.txt README
|
|
|
|
%build
|
|
%configure
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -n %{library_name} -p /sbin/ldconfig
|
|
|
|
%postun -n %{library_name} -p /sbin/ldconfig
|
|
|
|
%files -n librubberband2
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING
|
|
%exclude %{_libdir}/librubberband.a
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/rubberband.pc
|
|
|
|
%files -n rubberband-cli
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/rubberband
|
|
|
|
%files -n rubberband-ladspa
|
|
%defattr(-,root,root,-)
|
|
%dir %{_libdir}/ladspa
|
|
%dir %{_datadir}/ladspa
|
|
%dir %{_datadir}/ladspa/rdf
|
|
%{_libdir}/ladspa/ladspa-rubberband.*
|
|
%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
|
|
|
|
%files -n rubberband-vamp
|
|
%defattr(-,root,root,-)
|
|
%dir %{_libdir}/vamp
|
|
%{_libdir}/vamp/vamp-rubberband.*
|
|
|
|
%changelog
|