Name: sound2ligh Version: 0.0.3.1.0.2 Release: 1%{?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/16x16/apps/ install -m 644 images/icons/etcicon.ico %{buildroot}/%{_datadir}/icons/hicolor/16x16/apps/%{name}.ico # Write desktop files install -m 755 -d %{buildroot}/%{_datadir}/applications/ cat > %{buildroot}%{_datadir}/applications/%{name}.desktop < - 0.0.3.1.0.2 - Initial spec file