diff --git a/.gitignore b/.gitignore index 9c9ba02..2a3979a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vamp-plugin-sdk-2.9.0.tar.gz +/vamp-plugin-sdk-2.10.tar.gz diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..d2b528d --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.97.1.post1.dev6+gc8c0314a. diff --git a/sources b/sources index 9297493..f14d8c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vamp-plugin-sdk-2.9.0.tar.gz) = 7ef7f837d19a08048b059e0da408373a7964ced452b290fae40b85d6d70ca9000bcfb3302cd0b4dc76cf2a848528456f78c1ce1ee0c402228d812bd347b6983b +SHA512 (vamp-plugin-sdk-2.10.tar.gz) = 67a71e5396eab5ce9503e9111b4cfc16fc9755cf6ae2d8dfc99ed29fd91e75eaf0de9a9c55ce8f7751f04c235eb86430856eff18f02adde54f1850a87c917ef0 diff --git a/vamp-plugin-sdk-2.9.0-libdir.patch b/vamp-plugin-sdk-libdir.diff similarity index 74% rename from vamp-plugin-sdk-2.9.0-libdir.patch rename to vamp-plugin-sdk-libdir.diff index 5cb5d43..e13de77 100644 --- a/vamp-plugin-sdk-2.9.0-libdir.patch +++ b/vamp-plugin-sdk-libdir.diff @@ -1,6 +1,6 @@ ---- vamp-plugin-sdk-2.9.0/Makefile.in.libdir 2019-11-12 06:17:03.000000000 -0800 -+++ vamp-plugin-sdk-2.9.0/Makefile.in 2020-02-02 12:12:44.394371184 -0800 -@@ -74,8 +74,8 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -74,8 +74,8 @@ INSTALL_PREFIX = @prefix@ INSTALL_API_HEADERS = $(INSTALL_PREFIX)/include/vamp INSTALL_SDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-sdk INSTALL_HOSTSDK_HEADERS = $(INSTALL_PREFIX)/include/vamp-hostsdk @@ -10,8 +10,8 @@ +INSTALL_PLUGINS = $(INSTALL_SDK_LIBS)/vamp INSTALL_BINARIES = $(INSTALL_PREFIX)/bin - INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.9.0 -@@ -90,7 +90,7 @@ + INSTALL_SDK_LIBNAME = libvamp-sdk.so.2.10.0 +@@ -90,7 +90,7 @@ INSTALL_HOSTSDK_LINK_DEV = libvamp-host 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 902854c..00b7e62 100644 --- a/vamp-plugin-sdk.spec +++ b/vamp-plugin-sdk.spec @@ -1,14 +1,18 @@ Name: vamp-plugin-sdk -Version: 2.9 +Version: 2.10 Release: %autorelease Summary: An API for audio analysis and feature extraction plugins +%global hostsdk_soname_version 3 +%global sdk_soname_version 2 + %global gittag %{name}-v%{version} -License: BSD +# KissFFT code in src/vamp-sdk/ext is BSD-3-Clause +License: MIT AND BSD-3-Clause URL: https://vamp-plugins.org/ Source: https://github.com/vamp-plugins/vamp-plugin-sdk/archive/%{gittag}/%{name}-%{version}.tar.gz -Patch : %{name}-2.9.0-libdir.patch +Patch: %{name}-libdir.diff BuildRequires: make BuildRequires: gcc-c++ @@ -75,13 +79,13 @@ make clean [ $(strings ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.?|grep /lib/|sed -e 's!/%{_lib}!/__FEDORA-LIB__!g'|grep -c /lib/) -eq 0 ] -%ldconfig_scriptlets - - %files %license COPYING %doc README -%{_libdir}/*.so.* +%{_libdir}/libvamp-hostsdk.so.%{hostsdk_soname_version} +%{_libdir}/libvamp-hostsdk.so.%{hostsdk_soname_version}.* +%{_libdir}/libvamp-sdk.so.%{sdk_soname_version} +%{_libdir}/libvamp-sdk.so.%{sdk_soname_version}.* %{_libdir}/vamp %files devel