File drumrox.spec of Package drumrox
# spec file for package drumrox
#
# Copyright (c) 2023 Fabio Pesari
#
# 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 http://bugs.opensuse.org/
Name: drumrox
Version: 3.3.1
Release: 0
Summary: Hydrogen-based sampler (fork of drmr)
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Editors and Convertors
URL: https://github.com/psemiletov/drumrox
Source0: https://github.com/psemiletov/drumrox/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
%package -n lv2-%{name}
Summary: Hydrogen-based sampler (fork of drmr, LV2 plugin)
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: gtk2-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: lv2-devel
%description
Drumrox is a fork of DrMr, an LV2 plugin sampler which can
load Hydrogen drumkits.
%description -n lv2-%{name}
Drumrox is a fork of DrMr, an LV2 plugin sampler which can
load Hydrogen drumkits.
This is the LV2 version of Drumrox.
%prep
%setup -q
%build
DESTDIR=%{buildroot} %cmake -DLV2_INSTALL_DIR=/%{_lib}/lv2
%cmake_build
%install
%cmake_install
%files -n lv2-%{name}
%doc README.md
%license LICENSE
%{_libdir}/lv2/*
%changelog