# Global variables for github repository %global commit0 3d6dd099146b72c1fe88e06679034715fb999a5b %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: mda-lv2 Version: 0.9.%{shortcommit0} Release: 3%{?dist} Summary: MDA LV2 set of plugins from portalmod License: GPLv2+ URL: https://github.com/portalmod/mda-lv2 Source0: https://github.com/portalmod/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz BuildRequires: gcc gcc-c++ BuildRequires: lv2-devel BuildRequires: python2 %description MDA LV2 set of plugins synth from portalmod %prep %autosetup -n %{name}-%{commit0} # For Fedora 29 %if 0%{?fedora} >= 29 find . -type f -exec sed -i -e "s/env python/env python2/g" {} \; %endif %build %set_build_flags ./waf configure --libdir=%{buildroot}%{_libdir} ./waf %install ./waf -j1 install %files %doc README %license COPYING %{_libdir}/lv2/* %changelog * Thu Oct 22 2020 Yann Collette - 0.9.2-3 - fix debug build * Wed Nov 6 2019 Yann Collette - 0.9.2 - fix for Fedora 31 * Mon Oct 15 2018 Yann Collette - 0.9-2 - update for Fedora 29 * Sat May 13 2018 Yann Collette - 0.9-2 - fix f27 / f28 build * Sat Jun 06 2015 Yann Collette - 0.9-1 - Initial build