automatic version update by autodist [release 3.20.8-1mamba;Sun Jan 20 2013]

This commit is contained in:
Automatic Build System 2024-01-05 23:18:07 +01:00
parent 092cd48663
commit b49013d3e4
3 changed files with 140 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# gnusolfege # gnusolfege
GNU Solfege is a computer program written to help you practice ear training.
It can be useful when practicing the simple and mechanical exercises.

View File

@ -0,0 +1,19 @@
--- solfege-3.16.2/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh.orig 2005-09-09 16:03:12.000000000 +0200
+++ solfege-3.16.2/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh 2005-09-09 16:05:31.000000000 +0200
@@ -10,13 +10,9 @@
set -e
-TMPDIR=/tmp/solfegetmpdir.$$
-
-umask 027 # or 077
-rm -rf $TMPDIR
-mkdir $TMPDIR || exit 1
+TMPDIR=`mktemp -d /tmp/$0.XXXXXX` || exit 1
+trap 'rm -rf $TMPDIR' 0 1 2 3 6 7 13 15
sed -e "s/440/$1/" -e "s/660/$2/" share/fil1.sco >$TMPDIR/solfege-csound.sco
csound share/fil1.orc $TMPDIR/solfege-csound.sco -W -g -o devaudio
-rm -rf $TMPDIR
../BUILD/solfege-3.16.2/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh

118
gnusolfege.spec Normal file
View File

@ -0,0 +1,118 @@
Name: gnusolfege
Version: 3.20.8
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>
URL: http://www.solfege.org/
Source: http://downloads.sourceforge.net/sourceforge/solfege/solfege-%{version}.tar.gz
Patch: %{name}-3.16.2-use_mktemp.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: alsa-utils
BuildRequires: liblame-devel
BuildRequires: mpg123
BuildRequires: pygtk-devel
BuildRequires: pyorbit-devel
BuildRequires: python-gnome-extras-devel
BuildRequires: timidity
BuildRequires: vorbis-tools
## AUTOBUILDREQ-END
BuildRequires: python
BuildRequires: libpython-devel
BuildRequires: swig
BuildRequires: gettext-devel
Requires: pygtk
Requires: python-gnome-extras
Requires: pyorbit
Requires: timidity
Requires: liblame
Requires: vorbis-tools
Requires: alsa-utils
Requires: mpg123
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n solfege-%{version}
%patch -p1
%build
%configure
%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
* 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'
* Thu Jul 18 2005 Massimo Pintore <massimo.pintore@qilinux.it> 2.4.0-2qilnx
- added gnome-python-extras as requirement
* Mon Jul 18 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.4.0-1qilnx
- package created by autospec