File helm.spec of Package helm-synth
#
# spec file for package yuca
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: helm
Version: 0.9.0+git.20181121
Release: 0
Summary: Cross platform synthesizer
License: MIT
Group: Productivity/Multimedia/Sound/Midi
URL: https://github.com/mtytel/helm
Source: %{name}-%{version}.tar.xz
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: alsa-devel
BuildRequires: jack-devel
BuildRequires: freetype2-devel
BuildRequires: libcurl-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGL1
BuildRequires: Mesa-libglapi0
BuildRequires: libXcursor-devel
Requires: alsa
Requires: freetype2
Requires: libcurl
%description
Helm is a free, cross-platform, polyphonic synthesizer that runs on GNU/Linux, Mac, and Windows as a standalone program
and as a LV2/VST/AU/AAX plugin. Release is in beta so there are outstanding bugs. Please send any bugs found to matthewtytel@gmail.com
%package vst
Summary: VST Plugin for Helm Synth
Group: Productivity/Multimedia/Sound/Midi
%description vst
Helm is a free, cross-platform, polyphonic synthesizer that runs on GNU/Linux, Mac, and Windows as a standalone program
and as a LV2/VST/AU/AAX plugin. Release is in beta so there are outstanding bugs. Please send any bugs found to matthewtytel@gmail.com
This package contains the VST plugin for Helm.
%prep
%setup -q
%build
make %{?_smp_mflags} LIBDIR=%{_libdir} vst
%install
make install_vst LIBDIR=%{_libdir} DESTDIR=%{buildroot}
%files vst
# Directories
%dir %{_libdir}/lxvst
%dir %{_datadir}/helm
%dir %{_datadir}/helm/patches
# Files
%{_libdir}/lxvst/helm.so
%{_datadir}/helm/patches/*
%post
echo "Please include '%{_libdir}/lxvst' to your REAPER VST plug-in paths." | tee /var/adm/update-messages/%{name}-%{version}-${release}
%changelog