2024-01-05 23:18:07 +01:00
|
|
|
Name: gnusolfege
|
2024-01-05 23:18:08 +01:00
|
|
|
Version: 3.23.4
|
2024-01-05 23:18:07 +01:00
|
|
|
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 <silvan.calarco@mambasoft.it>
|
2024-01-05 23:18:08 +01:00
|
|
|
URL: https://www.solfege.org/
|
|
|
|
Source: https://git.savannah.gnu.org/git/solfege.git/%{version}/solfege-%{version}.tar.bz2
|
2024-01-05 23:18:07 +01:00
|
|
|
Patch: %{name}-3.16.2-use_mktemp.patch
|
2024-01-05 23:18:08 +01:00
|
|
|
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
|
2024-01-05 23:18:07 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:18:08 +01:00
|
|
|
BuildRequires: lilypond
|
|
|
|
BuildRequires: python3
|
2024-01-05 23:18:07 +01:00
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: gettext-devel
|
2024-01-05 23:18:08 +01:00
|
|
|
Requires: pygobject-py3
|
|
|
|
Requires: pycairo-py3
|
|
|
|
Requires: lilypond
|
2024-01-05 23:18:07 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 23:18:08 +01:00
|
|
|
#% debug_package
|
|
|
|
|
2024-01-05 23:18:07 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n solfege-%{version}
|
2024-01-05 23:18:08 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 23:18:07 +01:00
|
|
|
%patch -p1
|
2024-01-05 23:18:08 +01:00
|
|
|
%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
|
2024-01-05 23:18:07 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:18:08 +01:00
|
|
|
#:<< _EOF
|
|
|
|
%configure \
|
|
|
|
PYTHON=%{__python3}
|
|
|
|
|
2024-01-05 23:18:07 +01:00
|
|
|
%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/*
|
2024-01-05 23:18:08 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog README
|
2024-01-05 23:18:07 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:18:08 +01:00
|
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.23.4-1mamba
|
|
|
|
- update to 3.23.4
|
|
|
|
|
2024-01-05 23:18:07 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 3.22.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 23:18:07 +01:00
|
|
|
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 3.20.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 11 2011 Automatic Build System <autodist@mambasoft.it> 3.19.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 05 2011 Automatic Build System <autodist@mambasoft.it> 3.19.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 28 2010 Automatic Build System <autodist@mambasoft.it> 3.19.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 16 2010 Automatic Build System <autodist@mambasoft.it> 3.18.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 22 2009 Automatic Build System <autodist@mambasoft.it> 3.15.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 02 2009 Automatic Build System <autodist@mambasoft.it> 3.15.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.13.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 18 2009 gil <puntogil@libero.it> 3.12.1-1mamba
|
|
|
|
- update to 3.12.1
|
|
|
|
|
|
|
|
* Fri Nov 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.4-1qilnx
|
|
|
|
- update to version 3.0.4 by autospec
|
|
|
|
|
|
|
|
* Thu Oct 27 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.4.0-4qilnx
|
|
|
|
- added pyorbit as require
|
|
|
|
|
|
|
|
* Fri Sep 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.0-3qilnx
|
|
|
|
- several specfile fixes
|
|
|
|
- create secure temporary files in `csound-play-harmonic-interval.sh'
|
|
|
|
|
2024-01-05 23:18:08 +01:00
|
|
|
* Mon Jul 18 2005 Massimo Pintore <massimo.pintore@qilinux.it> 2.4.0-2qilnx
|
2024-01-05 23:18:07 +01:00
|
|
|
- added gnome-python-extras as requirement
|
|
|
|
|
|
|
|
* Mon Jul 18 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.4.0-1qilnx
|
|
|
|
- package created by autospec
|