|
|
|
@ -1,17 +1,33 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.7.2)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 2;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: vamp-plugin-sdk
|
|
|
|
|
Version: 2.9.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 2.10
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: An API for audio analysis and feature extraction plugins
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
%global hostsdk_soname_version 3
|
|
|
|
|
%global sdk_soname_version 2
|
|
|
|
|
|
|
|
|
|
%global gittag %{name}-v%{version}
|
|
|
|
|
|
|
|
|
|
# KissFFT code in src/vamp-sdk/ext is BSD-3-Clause
|
|
|
|
|
# Automatically converted from old format: MIT AND BSD-3-Clause - review is highly recommended.
|
|
|
|
|
License: MIT AND BSD-3-Clause
|
|
|
|
|
URL: https://vamp-plugins.org/
|
|
|
|
|
Source0: https://code.soundsoftware.ac.uk/attachments/download/2588/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: %{name}-2.9.0-libdir.patch
|
|
|
|
|
Source: https://github.com/vamp-plugins/vamp-plugin-sdk/archive/%{gittag}/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch: %{name}-libdir.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
|
#Requires:
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Vamp is an API for C and C++ plugins that process sampled audio data
|
|
|
|
@ -36,7 +52,7 @@ developing static applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%autosetup -p1 -n %{name}-%{gittag}
|
|
|
|
|
sed -i 's|/lib/vamp|/%{_lib}/vamp|g' src/vamp-hostsdk/PluginHostAdapter.cpp
|
|
|
|
|
sed -i 's|/lib/|/%{_lib}/|g' src/vamp-hostsdk/PluginLoader.cpp
|
|
|
|
|
|
|
|
|
@ -74,13 +90,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
|
|
|
|
@ -95,6 +111,39 @@ make clean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 23 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.10-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 2.10-2
|
|
|
|
|
- convert license to SPDX
|
|
|
|
|
|
|
|
|
|
* Tue Aug 27 2024 Packit <hello@packit.dev> - 2.10-1
|
|
|
|
|
- Update to 2.10 upstream release
|
|
|
|
|
- Update libdir patch
|
|
|
|
|
- No longer glob SONAME when listing shared library files
|
|
|
|
|
- Use SPDX license identifiers
|
|
|
|
|
- Fix license from BSD to MIT AND BSD-3-Clause
|
|
|
|
|
- Fixes: RHBZ#2269036
|
|
|
|
|
|
|
|
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -221,3 +270,5 @@ make clean
|
|
|
|
|
|
|
|
|
|
* Wed Jan 16 2008 Michel Salim <michel.sylvan@gmail.com> - 1.1b-1
|
|
|
|
|
- Initial Fedora package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|