Name: sound2light Version: 0.0.3.1.0.2 Release: 2%{?dist} Summary: A tool converting sound input to OSC trigger signals URL: https://github.com/ETCLabs/Sound2Light License: GPLv2+ Vendor: Audinux Distribution: Audinux Source0: https://github.com/ETCLabs/Sound2Light/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc gcc-c++ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-gui BuildRequires: qt5-qtquickcontrols2-devel BuildRequires: qt5-qtmultimedia-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-linguist BuildRequires: alsa-lib-devel BuildRequires: fftw-devel BuildRequires: libsndfile-devel BuildRequires: desktop-file-utils %description The Sound2Light tool converts live audio signals to trigger events that can be sent as OSC messages. It can reproduce the sound-to-light function of the NT/NTX consoles with systems of the Eos-, Cobalt- and ColorSource-family. It can also be remotely controlled by OSC. %prep %autosetup -n Sound2Light-%{version} %build cd src %qmake_qt5 S2L.pro %make_build %install cd src install -m 755 -d %{buildroot}%{_bindir}/ install -m 755 s2l %{buildroot}%{_bindir}/ install -m 755 -d %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/ install -m 644 images/icons/etclogo.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png # Write desktop files install -m 755 -d %{buildroot}%{_datadir}/applications/ cat > %{buildroot}%{_datadir}/applications/%{name}.desktop < - 0.0.3.1.0.2-2 - update to 0.0.3.1.0.2-2 * Mon Sep 12 2022 Yann Collette - 0.0.3.1.0.2-1 - Initial spec file