Update to 2.4

epel8
Michel Alexandre Salim 13 years ago
parent 6bb75d446b
commit c282e7010f

2
.gitignore vendored

@ -1 +1 @@
/vamp-plugin-sdk-2.2.1.tar.gz
/vamp-plugin-sdk-2.4.tar.gz

@ -1 +1 @@
d31e0d891bebdff75d4f4c709d5b2cab vamp-plugin-sdk-2.2.1.tar.gz
4bd75ca4515c141cd8776bdb59066261 vamp-plugin-sdk-2.4.tar.gz

@ -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

@ -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 <salimma@fedoraproject.org> - 2.4-1
- Update to 2.4
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Loading…
Cancel
Save