[rubberband] Update to 1.6.0

Michel Alexandre Salim salimma at fedoraproject.org
Thu Jul 14 13:54:29 UTC 2011


commit b8b550491b94dbc3a3e9fa1bb6cce54f401b6e8f
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Jul 14 15:54:09 2011 +0200

    Update to 1.6.0

 .gitignore                     |    2 +-
 rubberband-1.5.0-fix_ver.patch |   20 --------------------
 rubberband-1.5.0-gcc44.patch   |   11 -----------
 rubberband-1.6.0-fix_ver.patch |   11 +++++++++++
 rubberband-1.6.0-gcc46.patch   |   10 ++++++++++
 rubberband.spec                |   16 ++++++++++------
 sources                        |    2 +-
 7 files changed, 33 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 63b91f4..7be1f41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-rubberband-1.5.0.tar.bz2
+/rubberband-1.6.0.tar.bz2
diff --git a/rubberband-1.6.0-fix_ver.patch b/rubberband-1.6.0-fix_ver.patch
new file mode 100644
index 0000000..920d6b5
--- /dev/null
+++ b/rubberband-1.6.0-fix_ver.patch
@@ -0,0 +1,11 @@
+--- rubberband-1.6.0/rubberband.pc.in.fix_ver	2011-03-19 16:01:07.000000000 +0100
++++ rubberband-1.6.0/rubberband.pc.in	2011-07-14 15:47:48.049514847 +0200
+@@ -4,7 +4,7 @@
+ includedir=${prefix}/include
+ 
+ Name: rubberband
+-Version: 1.4.0
++Version: 1.6.0
+ Description: 
+ Libs: -L${libdir} -lrubberband
+ Cflags: -I${includedir} 
diff --git a/rubberband-1.6.0-gcc46.patch b/rubberband-1.6.0-gcc46.patch
new file mode 100644
index 0000000..c7a96aa
--- /dev/null
+++ b/rubberband-1.6.0-gcc46.patch
@@ -0,0 +1,10 @@
+--- rubberband-1.6.0/rubberband/RubberBandStretcher.h.gcc46	2011-03-19 16:01:07.000000000 +0100
++++ rubberband-1.6.0/rubberband/RubberBandStretcher.h	2011-07-14 15:29:29.756201539 +0200
+@@ -21,6 +21,7 @@
+ 
+ #include <vector>
+ #include <map>
++#include <cstddef>
+ 
+ /**
+  * @mainpage RubberBand
diff --git a/rubberband.spec b/rubberband.spec
index 7a1a54b..06696b2 100644
--- a/rubberband.spec
+++ b/rubberband.spec
@@ -1,18 +1,18 @@
 Name:           rubberband
-Version:        1.5.0
-Release:        3%{?dist}
+Version:        1.6.0
+Release:        1%{?dist}
 Summary:        Audio time-stretching and pitch-shifting library
 
 Group:          System Environment/Libraries
 License:        GPLv2+
 URL:            http://www.breakfastquay.com/rubberband/
-Source0:        http://code.breakfastquay.com/attachments/download/1/rubberband-1.5.0.tar.bz2
-Patch0:         %{name}-1.5.0-gcc44.patch
+Source0:        http://code.breakfastquay.com/attachments/download/16/rubberband-%{version}.tar.bz2
+Patch0:         %{name}-1.6.0-gcc46.patch
 Patch1:         %{name}-1.5.0-mk.patch
 # incorrect version in configure.ac (harmless) and .pc.in (could be bad
 # if a consumer strictly requires 1.5.0 functionality);
 # e-mailed to author
-Patch2:		%{name}-1.5.0-fix_ver.patch
+Patch2:		%{name}-1.6.0-fix_ver.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  fftw-devel libsamplerate-devel libsndfile-devel
@@ -37,9 +37,10 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
-%patch0 -p1 -b .gcc44
+%patch0 -p1 -b .gcc46
 %patch1 -p1 -b .mk
 %patch2 -p1 -b .fix_ver
+sed -i 's|{exec_prefix}/lib|{exec_prefix}/%{_lib}|' rubberband.pc.in
 
 
 %build
@@ -80,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul 14 2011 Michel Salim <salimma at fedoraproject.org> - 1.6.0-1
+- Update to 1.6.0
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index b3227f1..9681ed3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c5f288d644fcd46bd159e187bcc33f25  rubberband-1.5.0.tar.bz2
+28e3dc1f5ae694d6846bcb0ef3d597fc  rubberband-1.6.0.tar.bz2


More information about the scm-commits mailing list