File nootka.spec of Package nootka

# spec file for package nootka
# 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

Name:           nootka
Version:        2.0.0
Release:        0
Summary:        Application to help with learning classical score notation
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Sound/Utilities
BuildRequires:  cmake
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5PrintSupport)
BuildRequires:  pkgconfig(Qt5Qml)
BuildRequires:  pkgconfig(Qt5QuickControls2)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(fftw3)
BuildRequires:  pkgconfig(jack)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  pkgconfig(shared-mime-info)
BuildRequires:  pkgconfig(soundtouch) >= 2.2
BuildRequires:  pkgconfig(vorbis)

Nootka is an application to learn classical score notation.
It helps to understand the rules of reading and writing scores
and helps with developing skills of playing and singing notes.

numerous settings to personalize for user needs and capabilities
natural sound of classical guitar
accurate pitch detection method
support for different name-callings of the notes
exams with different levels
levels creator with wide range of settings

%setup -q -n %{name}-%{version}-source

# FIXME: you should use %%cmake macros
      -DCMAKE_INSTALL_PREFIX=%{_prefix} .

rm -rf %{buildroot}/%{_datadir}/doc/%{name}
rm -rf %{buildroot}/%{_datadir}/nootka/gpl
%fdupes -s %{buildroot}
%suse_update_desktop_file -r %{name} Education Music

%{_bindir}/update-desktop-database &> /dev/null || :
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :

%{_bindir}/update-desktop-database &> /dev/null || :
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :

%license LICENSE copyright
%dir %{_datadir}/%{name}
%dir %{_prefix}/lib/%{name}

openSUSE Build Service is sponsored by