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 https://bugs.opensuse.org/
#
Name: nootka
Version: 2.0.2
Release: 0
Summary: Application to help with learning classical score notation
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Utilities
URL: http://nootka.sf.net
Source0: https://sourceforge.net/projects/nootka/files/Nootka-%{version}/nootka-%{version}-source.tar.bz2
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(Qt5Core) >= 5.12
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)
%description
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.
Features:
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
%prep
%setup -q -n %{name}-%{version}-source
%build
# FIXME: you should use %%cmake macros
cmake -DOBS_SUSE_QUIRKS=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} .
%make_build
%install
%make_install
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
rm -rf %{buildroot}/%{_datadir}/nootka/gpl
%fdupes -s %{buildroot}
%suse_update_desktop_file -r %{name} Education Music
%post
%{_bindir}/update-desktop-database &> /dev/null || :
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
%{_bindir}/update-desktop-database &> /dev/null || :
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null || :
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_datadir}/applications/*
%{_mandir}/man1/*
%{_datadir}/mime/packages/*
%{_datadir}/icons/*
%{_datadir}/metainfo/*
%dir %{_prefix}/lib/%{name}
%{_prefix}/lib/%{name}/*
%changelog