From c282e7010f53a603dba1c904999571b9ebe84249 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 10 Sep 2012 15:43:19 +0700 Subject: [PATCH] Update to 2.4 --- .gitignore | 2 +- sources | 2 +- ...bdir.patch => vamp-plugin-sdk-2.4-libdir.patch | 6 +++--- vamp-plugin-sdk.spec | 15 ++++++++------- 4 files changed, 13 insertions(+), 12 deletions(-) rename vamp-plugin-sdk-v2.2.1-libdir.patch => vamp-plugin-sdk-2.4-libdir.patch (78%) diff --git a/.gitignore b/.gitignore index a400efa..c36939f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/vamp-plugin-sdk-2.2.1.tar.gz +/vamp-plugin-sdk-2.4.tar.gz diff --git a/sources b/sources index b3e27af..aded909 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d31e0d891bebdff75d4f4c709d5b2cab vamp-plugin-sdk-2.2.1.tar.gz +4bd75ca4515c141cd8776bdb59066261 vamp-plugin-sdk-2.4.tar.gz diff --git a/vamp-plugin-sdk-v2.2.1-libdir.patch b/vamp-plugin-sdk-2.4-libdir.patch similarity index 78% rename from vamp-plugin-sdk-v2.2.1-libdir.patch rename to vamp-plugin-sdk-2.4-libdir.patch index c6cf171..6209a45 100644 --- a/vamp-plugin-sdk-v2.2.1-libdir.patch +++ b/vamp-plugin-sdk-2.4-libdir.patch @@ -1,5 +1,5 @@ ---- vamp-plugin-sdk-v2.2.1/Makefile.in.libdir 2011-04-05 14:30:52.000000000 +0200 -+++ vamp-plugin-sdk-v2.2.1/Makefile.in 2011-07-14 14:52:41.975364051 +0200 +--- vamp-plugin-sdk-2.4/Makefile.in.libdir 2012-07-12 20:59:34.000000000 +0700 ++++ vamp-plugin-sdk-2.4/Makefile.in 2012-09-10 15:33:15.803174097 +0700 @@ -71,8 +71,8 @@ INSTALL_API_HEADERS = $(INSTALL_PREFIX)/include/vamp INSTALL_SDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-sdk @@ -10,7 +10,7 @@ +INSTALL_PLUGINS = $(INSTALL_SDK_LIBS)/vamp INSTALL_BINARIES = $(INSTALL_PREFIX)/bin - INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.2.0 + INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.4.0 @@ -87,7 +87,7 @@ INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a INSTALL_HOSTSDK_LA = libvamp-hostsdk.la diff --git a/vamp-plugin-sdk.spec b/vamp-plugin-sdk.spec index 3f8590a..f423039 100644 --- a/vamp-plugin-sdk.spec +++ b/vamp-plugin-sdk.spec @@ -1,15 +1,14 @@ Name: vamp-plugin-sdk -Version: 2.2.1 -Release: 4%{?dist} +Version: 2.4 +Release: 1%{?dist} Summary: An API for audio analysis and feature extraction plugins Group: System Environment/Libraries License: BSD URL: http://www.vamp-plugins.org/ -Source0: http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-%{version}.tar.gz +Source0: http://code.soundsoftware.ac.uk/attachments/download/517/vamp-plugin-sdk-2.4.tar.gz # https://sourceforge.net/tracker/?func=detail&aid=1884043&group_id=192001&atid=939644 -Patch0: %{name}-v2.2.1-libdir.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch0: %{name}-2.4-libdir.patch BuildRequires: libsndfile-devel #Requires: @@ -39,7 +38,7 @@ developing static applications that use %{name}. %prep -%setup -q -n %{name}-v%{version} +%setup -q %patch0 -p1 -b .libdir sed -i 's|/lib/vamp|/%{_lib}/vamp|g' src/vamp-hostsdk/PluginHostAdapter.cpp sed -i 's|/lib/|/%{_lib}/|g' src/vamp-hostsdk/PluginLoader.cpp @@ -51,7 +50,6 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT # fix libdir find . -name '*.pc.in' -exec sed -i 's|/lib|/%{_lib}|' {} ';' make install DESTDIR=$RPM_BUILD_ROOT #INSTALL_PREFIX=%{_prefix} LIB=/%{_lib} @@ -108,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Sep 9 2012 Michel Salim - 2.4-1 +- Update to 2.4 + * Sun Jul 22 2012 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild