# Global variables for github repository %global commit0 1b9e021b63a73a4bf86a6e4fb73200511391c691 %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: fverb Version: 0.0.1 Release: 1%{?dist} Summary: Reverberation plugin URL: https://github.com/jpcima/fverb Group: Applications/Multimedia License: BSL-1.0 # git clone https://github.com/jpcima/fverb # # git checkout bells # git submodule init # git submodule update # find . -name .git -exec rm -rf {} \; # cd .. # tar cvfz fverb.tar.gz fverb/* # rm -rf fverb Source0: fverb.tar.gz BuildRequires: gcc gcc-c++ BuildRequires: jack-audio-connection-kit-devel BuildRequires: alsa-lib-devel BuildRequires: ladspa-devel BuildRequires: lv2-devel BuildRequires: freetype-devel BuildRequires: libX11-devel libXft-devel libXrandr-devel libXinerama-devel libXcursor-devel BuildRequires: desktop-file-utils %description Reverberation plugin %package -n ladspa-fverb Summary: LADSPA reverberation plugin Group: Applications/Multimedia %description -n ladspa-fverb A LADSPA reverberation plugin %package -n vst-fverb Summary: VST reverberation plugin Group: Applications/Multimedia %description -n vst-fverb A VST reverberation plugin %package -n lv2-fverb Summary: LV2 reverberation plugin Group: Applications/Multimedia %description -n lv2-fverb A LV2 reverberation plugin %prep %setup -qn fverb %build %make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" SKIP_STRIPPING=true VERBOSE=true %install %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" SKIP_STRIPPING=true VERBOSE=true %files %doc README.md %license LICENSE.md %{_bindir}/%{name} %files -n lv2-fverb %{_libdir}/lv2/* %files -n vst-fverb %{_libdir}/vst/* %files -n ladspa-fverb %{_libdir}/ladspa/* %changelog * Tue Jun 02 2020 Yann Collette - 1.0.0-1 - Initial spec file