%global _gitcommit d259625c37aee1f44f3d744fd8c7349dca91c765 %global _gitdate 20250406 Name: nootka Version: 2.1.7_0git%{_gitdate} Release: 1%{?dist} Summary: Application to help with learning classical score notation License: GPLv3 Group: Sound/Utilities URL: http://nootka.sf.net Source0: https://github.com/SeeLook/nootka/archive/%{_gitcommit}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: qt6-qtbase-devel BuildRequires: fftw-devel BuildRequires: cmake BuildRequires: soundtouch-devel BuildRequires: pulseaudio-libs-devel BuildRequires: alsa-lib-devel BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(ogg) BuildRequires: qt6-qtquickcontrols2-devel BuildRequires: qt6-qttools-devel qt6-qt5compat-devel BuildRequires: pipewire-jack-audio-connection-kit-devel %description Nootka is open-source application to help with learning (also with teaching) classical score notation. Mostly it is for guitarists, but it can be used for ear training as well. Features: interactive interface to discover the rules of musical notation exercises with possibility to create own sets accurate method for detecting sung and played sounds natural sound of guitars clefs (treble, bass and others) and grand staff analyse of results different kinds of guitars and theirs tuning Czech, French, German, Polish and Russian translations %prep %setup -q -n %{name}-%{_gitcommit} #sed -i 's|-std=|-Wno-narrowing -std=|' src/CMakeLists.txt #grep -R -e 'lib/nootka' -l | \ # while read a; do sed -i -e 's|lib/nootka|lib64/nootka|g' $a; done %build %cmake -DJACK_LIBRARY=/usr/lib64/pipewire-0.3/jack/libjack.so # there is a build dependency issue with translations so let's build again # once the translations are built %cmake_build || : %cmake_build %install %cmake_install #%ifarch x86_64 aarch64 #mv %{buildroot}/usr/lib %{buildroot}/usr/lib64 #%endif rm -rf %{buildroot}%{_docdir} %files %license LICENSE packaging/debian/copyright %doc *.md changes #{_docdir}/%{name} %{_datadir}/applications/%{name}.desktop %{_bindir}/* #{_libdir}/%{name} %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/*/* %{_mandir}/man1/* %{_datadir}/mime/packages/* %{_datadir}/metainfo/* %changelog * Wed May 7 2025 Martin RS - 2.1.7_0git20250406 - update * Sun Apr 2 2023 Wei-Lun Chao - 2.0.2 - Rebuilt for Fedora * Wed Oct 15 2014 umeabot 1.0.1-4.mga5 + Revision: 743953 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot 1.0.1-3.mga5 + Revision: 682914 - Mageia 5 Mass Rebuild + tv - s/uggests:/Recommends:/ * Thu May 08 2014 barjac 1.0.1-2.mga5 + Revision: 621176 - rebuild for new ecasound * Sat Mar 29 2014 dglent 1.0.1-1.mga5 + Revision: 609319 - New version 1.0.1 * Sun Mar 23 2014 dglent 1.0.0-1.mga5 + Revision: 606751 - New version 1.0.0 - Add br soundtouch - Add lang tags - imported package nootka + kamil - fix group: Education -> Sound/Utilities - add cmake to BR - fix BR: fftw -> fftw-devel