Hello community, here is the log from the commit of package solfege for openSUSE:Factory checked in at 2020-02-20 14:54:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/solfege (Old) and /work/SRC/openSUSE:Factory/.solfege.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "solfege" Thu Feb 20 14:54:20 2020 rev:42 rq:776267 version:3.23.4 Changes: -------- --- /work/SRC/openSUSE:Factory/solfege/solfege.changes 2019-11-25 00:06:18.727948503 +0100 +++ /work/SRC/openSUSE:Factory/.solfege.new.26092/solfege.changes 2020-02-20 14:54:25.354175303 +0100 @@ -1,0 +2,23 @@ +Wed Feb 19 08:25:11 UTC 2020 - Dave Plater <[email protected]> + +- Update to version 3.23.4 and remove all traces of python2 +- Upstream changes: + *fix F9 listing user lesson files + *toneincontext: let the user compare and practise when answering + wrong + *toneincontext: remove Give up button + *port exporting exercises to audio files and creating ear training + test + *printouts to python3/gtk3 + *download ALSA: reload moved to importlib + *Ported winmidi.c to Python 3!! + *winreg, osutils, filesystem win32 fixes + *toneincontext: select between number and solfa buttons + *toneincontext in minor: ask for correct tones + *toneincontext: clear flashbar after we give up + *toneincontext: statistics for x last question + *.solfegerc: sort sections and variable on save + *toneincontext: let the user set the tempo + *Fix bug #48079: label for interval accels + +------------------------------------------------------------------- Old: ---- solfege-3.22.2.tar.xz solfege-3.22.2.tar.xz.sig New: ---- solfege-3.23.4.tar.gz solfege-3.23.4.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ solfege.spec ++++++ --- /var/tmp/diff_new_pack.ezxNG5/_old 2020-02-20 14:54:26.334177225 +0100 +++ /var/tmp/diff_new_pack.ezxNG5/_new 2020-02-20 14:54:26.338177234 +0100 @@ -1,7 +1,7 @@ # # spec file for package solfege # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ Summary: An ear training program License: GPL-3.0-or-later Group: Productivity/Multimedia/Sound/Utilities -Version: 3.22.2 +Version: 3.23.4 Release: 0 Url: https://www.gnu.org/software/solfege/ BuildRequires: automake @@ -35,11 +35,11 @@ BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: libxslt -BuildRequires: python-devel -BuildRequires: python-gtk-devel +BuildRequires: python3-gobject-devel BuildRequires: swig BuildRequires: texinfo BuildRequires: update-desktop-files +BuildRequires: pkgconfig(python3) %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} == 1 BuildRequires: txt2man %endif @@ -49,16 +49,17 @@ %define my_provides /tmp/my-provides %endif -Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz +Source0: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source1: lessonfile_editor.1 -Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig +Source2: ftp://alpha.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig Patch0: solfege-configure-fix.dif Patch1: solfege-python-fixcompile.patch Patch2: solfege-nogenreadmeetc.patch -Requires: python-gtk +Requires: lilypond-century-schoolbook-l-fonts +Requires: lilypond-emmentaler-fonts +Requires: lilypond-fonts-common +Requires: python3-gobject-Gdk Requires: timidity -Recommends: lilypond -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Solfege is an eartraining program for X written in python, using @@ -73,13 +74,16 @@ %patch0 %patch1 %patch2 -for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python2/' ${i} ;done + +for i in `grep -rl "/usr/bin/env python "`;do $(chmod 0755 ${i} ; sed -i '1s/^#!.*/#!\/usr\/bin\/python3 /' ${i}) ;done +#for i in `grep -rl "!/usr/bin/python "`;do $(chmod 0755 ${i} ; sed -i '1s/^#!.*/#!\/usr\/bin\/python3 /' ${i}) ;done %build autoreconf -fi %configure \ - --enable-docbook-stylesheet=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/html/chunker.xsl + --enable-docbook-stylesheet=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/html/chunker.xsl \ + --disable-oss-sound make %{?jobs:-j%jobs} all %install @@ -102,23 +106,27 @@ %fdupes -s %{buildroot} # Fix any .py files with shebangs and wrong permissions. chmod 0755 %{buildroot}/usr/share/solfege/solfege/_version.py +chmod 0755 %{buildroot}/usr/share/solfege/solfege/parsetree.py +chmod 0755 %{buildroot}/usr/share/solfege/solfege/presetup.py +chmod 0644 %{buildroot}/usr/share/solfege/solfege/_version.py +find %{buildroot}/usr/share/solfege/ -name "*~" -print -delete %post -/sbin/ldconfig +#/sbin/ldconfig if test -e /dev/music; then break; else mknod /dev/music u 14 8 > /dev/null; fi -%postun -p /sbin/ldconfig +#%%postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) -%doc AUTHORS FAQ README changelog +%doc changelog %license COPYING %{_bindir}/* %{_datadir}/solfege -%{_libdir}/solfege +#%%{_libdir}/solfege %{_mandir}/man1/*.1.gz %config %{_sysconfdir}/solfege* %{_datadir}/pixmaps/*
