Name: midiwake Version: 1.0.0.git.39.81f3b41b Release: 1%{?dist} Summary: A utility to block the screen saver during MIDI activity License: GPLv2+ URL: https://github.com/jpcima/midiwake VCS: git+https://github.com/jpcima/midiwake.git#81f3b41be67084b1668076b51bceeff6921b7105: Source0: midiwake-81f3b41b.tar.gz Source1: QCtrlSignals-81f3b41b.tar.gz Source2: QSingleInstance-81f3b41b.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: alsa-lib-devel %if 0%{?suse_version} BuildRequires: libQt5Widgets-devel BuildRequires: libQt5Network-devel BuildRequires: libQt5DBus-devel BuildRequires: libqt5-linguist-devel %else BuildRequires: qt5-qtbase-devel BuildRequires: qt5-linguist %endif %description This program shows up in the notification area, and it listens for output produced by hardware MIDI devices, such as a synthesizer keyboard. While the device is being played with, the program prevents the desktop from entering idle mode, which might lock the session or activate the screen saver. For instance, one can practice a piece of music on screen without risks of interruption. %prep %setup -T -b 0 -q -n midiwake tar -C thirdparty -xf %{SOURCE1} tar -C thirdparty -xf %{SOURCE2} %build %cmake %cmake_build %install %cmake_install %files %doc README.md %license LICENSE %{_bindir}/midiwake %{_datadir}/applications/midiwake.desktop %{_datadir}/pixmaps/midiwake.png %changelog