diff -dupPNr rubberband-1.4/configure.ac rubberband-1.4.0/configure.ac
--- rubberband-1.4/configure.ac	2009-09-24 21:13:40.000000000 +0100
+++ rubberband-1.4.0/configure.ac	2009-10-01 21:18:23.000000000 +0100
@@ -1,5 +1,5 @@
 
-AC_INIT(RubberBand, 1.2, cannam@all-day-breakfast.com)
+AC_INIT(RubberBand, 1.4.0, cannam@all-day-breakfast.com)
 
 AC_CONFIG_SRCDIR(src/StretcherImpl.h)
 AC_PROG_CXX
@@ -21,10 +21,6 @@ AC_SUBST(FFTW_LIBS)
 AC_CHECK_HEADERS(ladspa.h)
 AC_CHECK_HEADERS(pthread.h)
 
-PKG_CHECK_MODULES([Vamp],[vamp-sdk])
-AC_SUBST(Vamp_CFLAGS)
-AC_SUBST(Vamp_LIBS)
-
 changequote(,)dnl
 if test "x$GCC" = "xyes"; then
   case " $CFLAGS " in
diff -dupPNr rubberband-1.4/debian/changelog rubberband-1.4.0/debian/changelog
--- rubberband-1.4/debian/changelog	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/changelog	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,12 @@
+rubberband (1.4.0-1) unstable; urgency=low
+
+  * Second debianization
+
+ -- Rui Nuno Capela <rncbc@rncbc.org>  Thu, 1 Oct 2009 19:20:18 +0100
+
+rubberband (1.3.0-1) unstable; urgency=low
+
+  * Initial debianization
+
+ -- Rui Nuno Capela <rncbc@rncbc.org>  Wed, 3 Jun 2009 15:08:41 +0100
+
diff -dupPNr rubberband-1.4/debian/compat rubberband-1.4.0/debian/compat
--- rubberband-1.4/debian/compat	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/compat	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1 @@
+5
diff -dupPNr rubberband-1.4/debian/control rubberband-1.4.0/debian/control
--- rubberband-1.4/debian/control	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/control	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,50 @@
+Source: rubberband
+Section: sound
+Priority: extra
+Maintainer: Rui Nuno Capela <rncbc@rncbc.org>
+Build-Depends: debhelper (>= 5), pkg-config, libfftw3-dev,
+  libsndfile-dev, libsamplerate-dev, ladspa-sdk
+Standards-Version: 3.7.2
+
+Package: librubberband1
+Architecture: any
+Provides: librubberband
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Rubber Band Library is a high quality software library
+  for audio time-stretching and pitch-shifting. It permits you to
+  change the tempo and pitch of an audio recording or stream dynamically
+  and independently of one another.
+
+Package: librubberband-dev
+Architecture: any
+Depends: librubberband1 (= ${Source-Version})
+Description: Rubber Band Library is a high quality software library
+  for audio time-stretching and pitch-shifting. It permits you to
+  change the tempo and pitch of an audio recording or stream dynamically
+  and independently of one another.
+  --
+  This package contains the header files needed for development with
+  librubberband. You will need this only if you intend to compile
+  programs that use this library.
+
+Package: rubberband
+Architecture: any
+Depends: librubberband1 (= ${Source-Version})
+Description: Rubber Band Library is a high quality software library
+  for audio time-stretching and pitch-shifting. It permits you to
+  change the tempo and pitch of an audio recording or stream dynamically
+  and independently of one another.
+  --
+  This package contains the rubberband audio file time-stretcher and
+  pitch-shiter command line utility.
+
+Package: rubberband-ladspa
+Architecture: any
+Depends: librubberband1 (= ${Source-Version})
+Description: Rubber Band Library is a high quality software library
+  for audio time-stretching and pitch-shifting. It permits you to
+  change the tempo and pitch of an audio recording or stream dynamically
+  and independently of one another.
+  --
+  This package contains the rubberband LADSPA plugin.
+
diff -dupPNr rubberband-1.4/debian/copyright rubberband-1.4.0/debian/copyright
--- rubberband-1.4/debian/copyright	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/copyright	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,30 @@
+This package was debianized by Rui Nuno Capela <rncbc@rncbc.org> on
+Wed, 3 Jun 2009 15:08:41 +0100.
+
+It was downloaded from http://www.breakfastquay.com/rubberband/
+
+Upstream Author: Chris Cannam <cannam@all-day-breakfast.com>
+
+Copyright:
+
+   Copyright (C) 2008-2009 Chris Cannam, All right reserved.
+
+License:
+
+   This program is free software; you can redistribute it and/or
+   modify it under the terms of the GNU General Public License
+   as published by the Free Software Foundation; either version 2
+   of the License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License along
+   with this program; if not, write to the Free Software Foundation, Inc.,
+   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+The Debian packaging is (C) 2009, Rui Nuno Capela <rncbc@rncbc.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
diff -dupPNr rubberband-1.4/debian/docs rubberband-1.4.0/debian/docs
--- rubberband-1.4/debian/docs	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/docs	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1 @@
+README.txt
diff -dupPNr rubberband-1.4/debian/librubberband1.install rubberband-1.4.0/debian/librubberband1.install
--- rubberband-1.4/debian/librubberband1.install	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/librubberband1.install	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*.so.* usr/lib
diff -dupPNr rubberband-1.4/debian/librubberband-dev.install rubberband-1.4.0/debian/librubberband-dev.install
--- rubberband-1.4/debian/librubberband-dev.install	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/librubberband-dev.install	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,4 @@
+debian/tmp/usr/include/* usr/include
+debian/tmp/usr/lib/*.so usr/lib
+debian/tmp/usr/lib/*.a usr/lib
+debian/tmp/usr/lib/pkgconfig/*.pc usr/lib/pkgconfig
diff -dupPNr rubberband-1.4/debian/rubberband.install rubberband-1.4.0/debian/rubberband.install
--- rubberband-1.4/debian/rubberband.install	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/rubberband.install	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1 @@
+debian/tmp/usr/bin/* usr/bin
diff -dupPNr rubberband-1.4/debian/rubberband-ladspa.install rubberband-1.4.0/debian/rubberband-ladspa.install
--- rubberband-1.4/debian/rubberband-ladspa.install	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/rubberband-ladspa.install	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/ladspa/* usr/lib/ladspa
+debian/tmp/usr/share/ladspa/* usr/share/ladspa
diff -dupPNr rubberband-1.4/debian/rules rubberband-1.4.0/debian/rules
--- rubberband-1.4/debian/rules	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/debian/rules	2009-10-01 21:18:23.000000000 +0100
@@ -0,0 +1,102 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	# Add here commands to configure the package.
+	-aclocal
+	-autoconf
+
+	./configure --prefix=/usr
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	#docbook-to-man debian/librubberband.sgml > librubberband.1
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	dh_installexamples
+	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
diff -dupPNr rubberband-1.4/Makefile.in rubberband-1.4.0/Makefile.in
--- rubberband-1.4/Makefile.in	2009-09-24 21:13:40.000000000 +0100
+++ rubberband-1.4.0/Makefile.in	2009-10-01 21:18:23.000000000 +0100
@@ -1,12 +1,11 @@
 
 CXX		:= @CXX@
-CXXFLAGS	:= -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DNO_TIMING -DNDEBUG @CXXFLAGS@ @SRC_CFLAGS@ @SNDFILE_CFLAGS@ @FFTW_CFLAGS@ @Vamp_CFLAGS@ -Irubberband -I. -Isrc $(OPTFLAGS)
+CXXFLAGS	:= -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -DNO_TIMING -DNDEBUG @CXXFLAGS@ @SRC_CFLAGS@ @SNDFILE_CFLAGS@ @FFTW_CFLAGS@ -Irubberband -I. -Isrc $(OPTFLAGS)
 CFLAGS		:= @CFLAGS@ $(OPTFLAGS)
 LDFLAGS		:= @LDFLAGS@ -lpthread $(LDFLAGS)
 
 LIBRARY_LIBS		:= @SRC_LIBS@ @FFTW_LIBS@ 
 PROGRAM_LIBS		:= @SNDFILE_LIBS@ $(LIBRARY_LIBS)
-VAMP_PLUGIN_LIBS	:= @Vamp_LIBS@ $(LIBRARY_LIBS)
 LADSPA_PLUGIN_LIBS	:= $(LIBRARY_LIBS)
 
 MKDIR			:= mkdir
@@ -17,30 +16,26 @@ DYNAMIC_FULL_VERSION	:= .2.1.0
 DYNAMIC_ABI_VERSION	:= .2
 DYNAMIC_LIBNAME		:= librubberband$(DYNAMIC_EXTENSION)
 DYNAMIC_LDFLAGS		:= -shared -Wl,-Bsymbolic -Wl,-soname=$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
-VAMP_LDFLAGS		:= -shared -Wl,-Bsymbolic -Wl,--version-script=vamp/vamp-plugin.map
 LADSPA_LDFLAGS		:= -shared -Wl,-Bsymbolic -Wl,--version-script=ladspa/ladspa-plugin.map
 
 PROGRAM_TARGET 		:= bin/rubberband
 STATIC_TARGET  		:= lib/librubberband.a
 DYNAMIC_TARGET 		:= lib/$(DYNAMIC_LIBNAME)
-VAMP_TARGET    		:= lib/vamp-rubberband$(DYNAMIC_EXTENSION)
 LADSPA_TARGET  		:= lib/ladspa-rubberband$(DYNAMIC_EXTENSION)
 
 INSTALL_BINDIR		:= @prefix@/bin
 INSTALL_INCDIR		:= @prefix@/include/rubberband
 INSTALL_LIBDIR		:= @prefix@/lib
-INSTALL_VAMPDIR		:= @prefix@/lib/vamp
 INSTALL_LADSPADIR	:= @prefix@/lib/ladspa
 INSTALL_LRDFDIR		:= @prefix@/share/ladspa/rdf
 INSTALL_PKGDIR		:= @prefix@/lib/pkgconfig
 
-all:	bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
+all:	bin lib $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(LADSPA_TARGET)
 
 static:		$(STATIC_TARGET)
 dynamic:	$(DYNAMIC_TARGET)
 library:	$(STATIC_TARGET) $(DYNAMIC_TARGET)
 program:	$(PROGRAM_TARGET)
-vamp:		$(VAMP_TARGET)
 ladspa:		$(LADSPA_TARGET)
 
 PUBLIC_INCLUDES := \
@@ -92,13 +87,6 @@ LIBRARY_SOURCES := \
 PROGRAM_SOURCES := \
 	main/main.cpp
 
-VAMP_HEADERS := \
-	vamp/RubberBandVampPlugin.h
-
-VAMP_SOURCES := \
-	vamp/RubberBandVampPlugin.cpp \
-	vamp/libmain.cpp
-
 LADSPA_HEADERS := \
 	ladspa/RubberBandPitchShifter.h
 
@@ -110,7 +98,6 @@ LIBRARY_OBJECTS := $(LIBRARY_SOURCES:.cp
 LIBRARY_OBJECTS := $(LIBRARY_OBJECTS:.c=.o)
 
 PROGRAM_OBJECTS := $(PROGRAM_SOURCES:.cpp=.o)
-VAMP_OBJECTS    := $(VAMP_SOURCES:.cpp=.o)
 LADSPA_OBJECTS  := $(LADSPA_SOURCES:.cpp=.o)
 
 $(PROGRAM_TARGET):	$(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS)
@@ -122,9 +109,6 @@ $(STATIC_TARGET):	$(LIBRARY_OBJECTS)
 $(DYNAMIC_TARGET):	$(LIBRARY_OBJECTS)
 	$(CXX) $(DYNAMIC_LDFLAGS) $^ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
 
-$(VAMP_TARGET):		$(LIBRARY_OBJECTS) $(VAMP_OBJECTS)
-	$(CXX) $(VAMP_LDFLAGS) -o $@ $^ $(VAMP_PLUGIN_LIBS) $(LDFLAGS)
-
 $(LADSPA_TARGET):	$(LIBRARY_OBJECTS) $(LADSPA_OBJECTS)
 	$(CXX) $(LADSPA_LDFLAGS) -o $@ $^ $(LADSPA_PLUGIN_LIBS) $(LDFLAGS)
 
@@ -137,7 +121,6 @@ install:	all
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_BINDIR)
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_INCDIR)
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_LIBDIR)
-	$(MKDIR) -p $(DESTDIR)$(INSTALL_VAMPDIR)
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_LADSPADIR)
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_LRDFDIR)
 	$(MKDIR) -p $(DESTDIR)$(INSTALL_PKGDIR)
@@ -149,19 +132,17 @@ install:	all
 	cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION)
 	test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)$(DYNAMIC_ABI_VERSION)
 	test -n "$(DYNAMIC_FULL_VERSION)" && ln -s $(DYNAMIC_LIBNAME)$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(DYNAMIC_LIBNAME)
-	cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
-	cp src/vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
 	cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
-	cp src/ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
-	cp src/ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
+	cp ladspa/ladspa-rubberband.cat $(DESTDIR)$(INSTALL_LADSPADIR)
+	cp ladspa/ladspa-rubberband.rdf $(DESTDIR)$(INSTALL_LRDFDIR)
 	sed "s,%PREFIX%,@prefix@," rubberband.pc.in \
 	  > $(DESTDIR)$(INSTALL_PKGDIR)/rubberband.pc
 
 clean:
-	rm -f $(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS) $(LADSPA_OBJECTS) $(VAMP_OBJECTS)
+	rm -f $(LIBRARY_OBJECTS) $(PROGRAM_OBJECTS) $(LADSPA_OBJECTS)
 
 distclean:	clean
-	rm -f $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(VAMP_TARGET) $(LADSPA_TARGET)
+	rm -f $(PROGRAM_TARGET) $(STATIC_TARGET) $(DYNAMIC_TARGET) $(LADSPA_TARGET)
 
 depend:
 	makedepend -Y $(LIBRARY_SOURCES) $(PROGRAM_SOURCES)
diff -dupPNr rubberband-1.4/rubberband.spec rubberband-1.4.0/rubberband.spec
--- rubberband-1.4/rubberband.spec	1970-01-01 01:00:00.000000000 +0100
+++ rubberband-1.4.0/rubberband.spec	2009-10-01 21:18:51.000000000 +0100
@@ -0,0 +1,129 @@
+%define name    rubberband
+%define version 1.4.0
+%define release 1
+%define prefix  /usr
+
+Summary:		Rubber Band audio time-stretching and pitch-shifting library
+Name:			%{name}
+Version:		%{version}
+Release:		%{release}
+Group:			Sound
+License:		GPL
+URL:			http://www.breakfastquay.com/rubberband/
+Source0:		%{name}-%{version}.tar.gz
+BuildRoot:		%{_tmppath}/%{name}-%{version}-build
+
+BuildRequires:	gcc-c++
+BuildRequires:	pkgconfig
+BuildRequires:	fftw3-devel
+BuildRequires:	libsamplerate-devel
+BuildRequires:	libsndfile-devel
+BuildRequires:	ladspa
+
+%description
+Rubber Band Library is a high quality software library for audio
+time-stretching and pitch-shifting. It permits you to change the
+tempo and pitch of an audio recording or stream dynamically and
+independently of one another.
+--
+This package contains the rubberband audio file time-stretcher
+and pitch-shiter command line utility.
+
+
+%package -n rubberband-ladspa
+Summary:	Rubber Band LADSPA plugins
+Group:		Productivity/Multimedia/Sound/Utilities
+Requires:	ladspa
+
+%description -n rubberband-ladspa
+Rubber Band Library is a high quality software library for audio
+time-stretching and pitch-shifting. It permits you to change the
+tempo and pitch of an audio recording or stream dynamically and
+independently of one another.
+--
+This package contains the rubberband LADSPA plugin.
+
+
+%package -n librubberband1
+Summary:	Rubber Band shared libraries
+Group:		System/Libraries
+Provides:	librubberband1 = 1.0.1
+Obsoletes:	librubberband1 <= 1.0.1
+
+%description -n librubberband1
+Rubber Band Library is a high quality software library for audio
+time-stretching and pitch-shifting. It permits you to change the
+tempo and pitch of an audio recording or stream dynamically and
+independently of one another.
+
+
+%package -n librubberband-devel
+Summary:	Rubber Band include files and libraries for development
+Group:		Development/Libraries/C and C++
+Requires:	librubberband%{_SO_nr} = %{version}
+
+%description -n librubberband-devel
+Rubber Band Library is a high quality software library for audio
+time-stretching and pitch-shifting. It permits you to change the
+tempo and pitch of an audio recording or stream dynamically and
+independently of one another.
+--
+This package contains the header files needed for development with
+librubberband. You will need this only if you intend to compile
+programs that use this library.
+
+
+%prep
+
+%setup
+aclocal
+autoconf
+
+%build
+%configure
+%__make
+
+%install
+%makeinstall
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -n librubberband1 -p /sbin/ldconfig
+
+%postun -n librubberband1 -p /sbin/ldconfig
+
+
+%files
+%defattr(-, root, root)
+%doc README.txt
+%{_bindir}/*
+
+
+%files -n librubberband1
+%defattr(-, root, root)
+%{_libdir}/librubberband.so.*
+
+
+%files -n librubberband-devel
+%defattr(-, root, root)
+%dir %{_includedir}/rubberband
+%{_includedir}/rubberband/*.h
+%{_libdir}/librubberband.a
+%{_libdir}/librubberband.so
+%{_libdir}/pkgconfig/rubberband.pc
+
+
+%files -n rubberband-ladspa
+%defattr(-, root, root)
+%dir %{_libdir}/ladspa
+%{_libdir}/ladspa/ladspa-rubberband.so
+%{_libdir}/ladspa/ladspa-rubberband.cat
+%dir %{_datadir}/ladspa
+%dir %{_datadir}/ladspa/rdf
+%{_datadir}/ladspa/rdf/ladspa-rubberband.rdf
+
+
+%changelog
+* Thu Oct  1 2009 Rui Nuno Capela <rncbc@rncbc.org> - 1.4.0-1
+- initial spec-ification
