File kmetronome.spec of Package kmetronome

# spec file for package kmetronome
# Copyright (c) 2019 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           kmetronome
Version:        1.0.1
Release:        0
Summary:        Qt5 MIDI Metronome using ALSA Sequencer
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Midi
BuildRequires:  alsa-devel
BuildRequires:  cmake
BuildRequires:  hicolor-icon-theme
BuildRequires:  libdrumstick-devel
BuildRequires:  update-desktop-files
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Svg)
BuildRequires:  cmake(Qt5Widgets)
%if 0%{?suse_version} > 1310
BuildRequires:  libqt5-linguist-devel
BuildRequires:  libqt5-qttools-devel

Drumstick Metronome is a MIDI metronome with Qt5 interface, based on the ALSA
sequencer. Intended for musicians and music students,  it is a tool to keep
the rhythm while playing musical instruments. It uses MIDI for sound generation
instead of digital audio, allowing low CPU usage, and very accurate timing
thanks to the ALSA sequencer.

%setup -q

make %{?_smp_mflags}

%suse_update_desktop_file %{name}

%dir %{_datadir}/%{name}/
%dir %{_datadir}/icons/hicolor/24x24/
%dir %{_datadir}/icons/hicolor/24x24/apps/

openSUSE Build Service is sponsored by