# Status: active # Tag: Synthesizer # Type: Standalone, Plugin, LV2 # Category: Synthesizer # Global variables for github repository %global commit0 fe078ea036991081c3a28bb388a3fecd0e8e3a5d %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: oxefmsynth Version: 1.3.5.%{shortcommit0} Release: 3%{?dist} Summary: A FM synthetized License: GPL-2.0-or-later URL: https://github.com/oxesoft/oxefmsynth ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux Source0: https://github.com/oxesoft/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz Source1: http://ycollette.free.fr/LMMS/vst.tar.bz2 Patch0: oxefmsynth-fix-cxxflags-override.patch BuildRequires: gcc gcc-c++ BuildRequires: libX11-devel Requires: license-%{name} %description A FM Synthesizer %package -n vst-%{name} Summary: VST2 version of %{name} License: GPL-2.0-or-later Requires: license-%{name} %description -n vst-%{name} VST2 version of %{name} %package -n license-%{name} Summary: License and documentation for %{name} License: GPL-2.0-or-later %description -n license-%{name} License and documentation for %{name} %prep %autosetup -p1 -n %{name}-%{commit0} %ifarch aarch64 sed -i -e "s/-m64//g" Makefile.vstlinux %endif %build tar xvfj %{SOURCE1} export VSTSDK_PATH=vst/vstsdk2.4/ %set_build_flags export CXXFLAGS="-fPIC $CXXFLAGS" %make_build %install export VSTSDK_PATH=vst/vstsdk2.4/ install -m 755 -d %{buildroot}%{_bindir}/ install -m 755 oxeconverter %{buildroot}/%{_bindir}/ install -m 755 oxefmsynth %{buildroot}/%{_bindir}/ install -m 755 -d %{buildroot}%{_libdir}/vst/ install -m 755 *.so %{buildroot}/%{_libdir}/vst/ %files %{_bindir}/* %files -n vst-%{name} %{_libdir}/vst/* %files -n license-%{name} %doc README.md %license LICENSE %changelog * Wed Oct 21 2020 Yann Collette - 1.3.5-2 - fix debug build - fix missing exe * Mon Oct 15 2018 Yann Collette - 1.3.5-1 - update for Fedora 29 - update to fe078ea036991081c3a28bb388a3fecd0e8e3a5d * Sun May 13 2018 Yann Collette - 1.3.5-1 * Sat Jun 06 2015 Yann Collette - 1.3.4-1 - Initial build