Enable Packit

Use Git tag rather than the official source URL. Confirmed that the
content is virtually identical and the download URL is stable.

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
epel10
Michel Lind 7 months ago
parent 2737185d69
commit 56a420c5ee
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -0,0 +1,12 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_project_url: https://github.com/vamp-plugins/vamp-plugin-sdk
upstream_tag_template: vamp-plugin-sdk-v{version}
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide

@ -1,17 +1,18 @@
Name: vamp-plugin-sdk
Version: 2.9.0
Version: 2.9
Release: 9%{?dist}
Summary: An API for audio analysis and feature extraction plugins
%global gittag %{name}-v%{version}
License: BSD
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}-2.9.0-libdir.patch
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 +37,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

Loading…
Cancel
Save