File pianobooster.spec of Package pianobooster
#
# spec file for package pianobooster
#
# Copyright (c) 2021 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 https://bugs.opensuse.org/
#
Name: pianobooster
Version: 1.0.0
Release: 0
Summary: Boost your Piano playing skills
License: GPL-3.0-or-later
URL: http://pianobooster.sourceforge.net/
Source0: https://github.com/pianobooster/PianoBooster/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source3: pianobooster.6
BuildRequires: alsa-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libQt5Widgets-devel
BuildRequires: libQt5OpenGL-devel
BuildRequires: libQt5Xml-devel
BuildRequires: Mesa-libGLU-devel
BuildRequires: libqt5-linguist-devel
BuildRequires: rtmidi-devel
BuildRequires: fluidsynth-devel
BuildRequires: ftgl-devel
BuildRequires: update-desktop-files
#Requires: fluidsynth
Requires: fluid-soundfont-gm
Recommends: fluid-soundfont-gs
%description
PianoBooster is a fun way of playing along with a musical accompaniment and at
the same time learning the basics of reading musical notation. The difference
between playing along to a CD or a standard MIDI file, is that PianoBooster
listens and reacts to what you are playing on a MIDI keyboard.
%prep
%setup -q -n PianoBooster-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
install -D -m0644 %{SOURCE3} %{buildroot}/%{_mandir}/man6/%{name}.6
%files
%license gplv3.txt license.txt
%{_bindir}/%{name}
%{_mandir}/*/*.gz
%{_datadir}/doc/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/games/%{name}/
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog