File kmidimon.spec of Package kmidimon
# Maintainer: <aggraef at gmail.com>
Name: kmidimon
Version: 1.3.0
Release: 1%{?dist}
Summary: Drumstick MIDI Monitor
Group: Multimedia
URL: https://kmidimon.sourceforge.io/
License: GPL
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++, cmake, make, alsa-lib-devel, qt5-qtbase-devel, qt5-linguist, drumstick-devel
%description
Drumstick MIDI Monitor is a MIDI monitor for Linux using ALSA sequencer.
Drumstick MIDI Monitor monitors events coming from MIDI external ports or
applications via the ALSA sequencer, and from SMF (Standard MIDI files) or WRK
(Cakewalk/Sonar) files. It is especially useful if you want to debug MIDI
software or your MIDI setup. It features a nice graphical user interface,
customizable event filters and sequencer parameters, support for MIDI and ALSA
messages, and saving the recorded event list to a SMF or text file.
%prep
%setup -q
%build
rm -rf build
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_DOCS=OFF -DCMAKE_BUILD_TYPE=Release
make
%install
rm -rf $RPM_BUILD_ROOT
cd build
make install DESTDIR=$RPM_BUILD_ROOT
%files
%license COPYING
/usr/bin/kmidimon
/usr/share/*
%changelog
* Wed Nov 30 2022 Albert Graef <aggraef@gmail.com>
- Build changes
* Fri Jul 29 2022 Albert Graef <aggraef@gmail.com>
- Initial release