File lv2-ratatouille.spec of Package lv2-ratatouille

#
# spec file for package lv2-ratatouille
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define lv2_dir %{_libdir}/lv2
%define plug_name Ratatouille.lv2
%define make_args Ratatouille_VERSION=%{version} PREFIX=%{_prefix} LV2DIR=%{lv2_dir} INSTALL_DIR=%{lv2_dir}

Name:           lv2-ratatouille
Version:        0.9.5
Release:        0
Summary:        Ratatouille is a Neural Model loader and mixer
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        BSD-3-Clause
URL:            https://github.com/brummer10/Ratatouille.lv2
Source:         %{plug_name}-%{version}.tar.xz
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(lv2)
BuildRequires:  pkgconfig(sndfile)
Provides:       Ratatouille.lv2 = %{version}-%{release}
Obsoletes:      Ratatouille.lv2 < %{version}-%{release}

%description
Ratatouille is a Neural Model loader and mixer

%prep
%autosetup -p1 -n %{plug_name}-%{version}

%build
%make_build %{make_args}

%install
%make_install %{make_args}

%files
%license LICENSE
%doc README.md
%{lv2_dir}/Ratatouille.lv2

%changelog
openSUSE Build Service is sponsored by