Name: nootka Version: 1.7.3 Release: 2%{?dist} Summary: Application to learn classical score notation. License: GPLv3 URL: https://nootka.sourceforge.io Source0: https://sourceforge.net/projects/%{name}/files/Nootka-%{version}-beta3/%{name}-%{version}-beta3-source.tar.bz2 Patch0001: 0001-Set-lib-folders-to-lib64.patch BuildRequires: cmake >= 3.4 BuildRequires: gcc >= 5.0 BuildRequires: git BuildRequires: soundtouch-devel BuildRequires: fftw-devel BuildRequires: alsa-lib-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: pulseaudio-libs-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtquickcontrols2-devel BuildRequires: libappstream-glib BuildRequires: desktop-file-utils BuildRequires: gtk-update-icon-cache Requires: qt5-qtdeclarative Requires: qt5-qtquickcontrols Requires: qt5-qtquickcontrols2 %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. Simply: users looks at piece of a score, plays it, Nootka is listening to it, checks and shows was it played well. All in real time. %prep %autosetup -N -n "%{name}-%{version}-beta3-source" -p1 -Sgit %if "%{_lib}" == "lib64" %patch0001 -p1 %endif %build %cmake %cmake_build %install rm -rf $RPM_BUILD_ROOT %cmake_install appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files %license gpl %doc README.md %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}* %{_datadir}/icons/hicolor/*/mimetypes/%{name}* %{_mandir}/man1/nootka.1.gz %{_datadir}/applications/%{name}.desktop %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/mime/packages/%{name}.xml %{_datadir}/doc/%{name}/copyright %changelog * Mon Jan 25 2021 Olivier Samyn 🎻 - 1.7.3-2 - Add missing dependencies * Fri Jan 22 20:51:52 CET 2021 Olivier Samyn 🎻 - Initial package