Name: gnusolfege Version: 3.23.4 Release: 1mamba Summary: GNU Solfege is a computer program written to help you practice ear training Group: Graphical Desktop/Applications/Educational Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.solfege.org/ Source: https://git.savannah.gnu.org/git/solfege.git/%{version}/solfege-%{version}.tar.bz2 Patch: %{name}-3.16.2-use_mktemp.patch Patch1: gnusolfege-3.23.4-fix_css.patch Patch2: gnusolfege-3.23.4-fix_lilypond_eps_file_mismatch.patch Patch3: gnusolfege-3.23.4-hidden_menubar.patch License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: lilypond BuildRequires: python3 BuildRequires: libpython-devel BuildRequires: swig BuildRequires: gettext-devel Requires: pygobject-py3 Requires: pycairo-py3 Requires: lilypond Requires: timidity Requires: liblame Requires: vorbis-tools Requires: alsa-utils Requires: mpg123 %description GNU Solfege is a computer program written to help you practice ear training. It can be useful when practicing the simple and mechanical exercises. #% debug_package %prep %setup -q -n solfege-%{version} #-D -T #:<< _EOF %patch -p1 %patch1 -p1 -b .fix_css %patch2 -p1 -b .fix_lilypond_eps_file_mismatch %patch3 -p1 -b .hidden_menubar sed -E 's|(PYTHON_INCLUDES=).+|\1"$(pkg-config --cflags-only-I python3)"|g' \ -i acinclude.m4 # fix early access of webbrowser module internal, leading to AttributeError: # https://bugs.archlinux.org/task/63703 sed -e '28i\ \ \ \ webbrowser.register_standard_browsers()' -i solfege/mainwin.py ./autogen.sh %build #:<< _EOF %configure \ PYTHON=%{__python3} %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall sed -i -e 's|%{buildroot}||' %{buildroot}%{_datadir}/solfege/*/*.py %{find_lang} solfege %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files -f solfege.lang %defattr(-,root,root) %{_bindir}/* %{_datadir}/applications/solfege.desktop %{_datadir}/pixmaps/solfege.svg %dir %{_datadir}/solfege %{_datadir}/solfege/* %dir %{_libdir}/solfege %attr(755,root,root) %{_libdir}/solfege/*.so %{_sysconfdir}/* %{_mandir}/man1/* %doc AUTHORS COPYING #ChangeLog README %changelog * Sat Aug 20 2022 Silvan Calarco 3.23.4-1mamba - update to 3.23.4 * Sat May 24 2014 Automatic Build System 3.22.2-1mamba - automatic update by autodist * Sun Jan 20 2013 Automatic Build System 3.20.8-1mamba - automatic version update by autodist * Fri Mar 11 2011 Automatic Build System 3.19.5-1mamba - automatic update by autodist * Wed Jan 05 2011 Automatic Build System 3.19.2-1mamba - automatic update by autodist * Sun Nov 28 2010 Automatic Build System 3.19.1-1mamba - automatic update by autodist * Sat Oct 16 2010 Automatic Build System 3.18.4-1mamba - automatic update by autodist * Sat May 29 2010 Automatic Build System 3.16.2-1mamba - automatic update by autodist * Sat Aug 22 2009 Automatic Build System 3.15.2-1mamba - automatic update by autodist * Thu Jul 02 2009 Automatic Build System 3.15.1-1mamba - automatic update by autodist * Mon Mar 23 2009 Silvan Calarco 3.13.1-1mamba - automatic update by autodist * Sun Jan 18 2009 gil 3.12.1-1mamba - update to 3.12.1 * Fri Nov 11 2005 Silvan Calarco 3.0.4-1qilnx - update to version 3.0.4 by autospec * Thu Oct 27 2005 Alessandro Ramazzina 2.4.0-4qilnx - added pyorbit as require * Fri Sep 09 2005 Davide Madrisan 2.4.0-3qilnx - several specfile fixes - create secure temporary files in `csound-play-harmonic-interval.sh' * Mon Jul 18 2005 Massimo Pintore 2.4.0-2qilnx - added gnome-python-extras as requirement * Mon Jul 18 2005 Alessandro Ramazzina 2.4.0-1qilnx - package created by autospec