--- mingus-0.4.2.3.orig/debian/copyright +++ mingus-0.4.2.3/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Stefan Huchler on +Sat, 14 Feb 2009 12:09:47 +0100. + +It was downloaded from http://mingus.googlecode.com/ + +Upstream Authors: Bart Spaans , Javier Palance , Nathan Whitehead + +Copyright: 2008, 2009 Bart Spaans , Javier Palance , Nathan Whitehead + +License: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2009, Stefan Huchler and +is licensed under the GPL, see above. + --- mingus-0.4.2.3.orig/debian/changelog +++ mingus-0.4.2.3/debian/changelog @@ -0,0 +1,65 @@ +mingus (0.4.2.3-0ubuntu1) karmic; urgency=low + + * new upstream version + * this release includes a copy of the gpl lisence + * updated copyright file (upstream authors/copyright) + + -- Stefan Huchler Tue, 07 Jul 2009 18:41:22 +0200 + +mingus (0.4.2.0-0ubuntu5) karmic; urgency=low + + * closes (LP: #317541) + * adds a debian watch file + + -- Stefan Huchler Sat, 04 Jul 2009 18:28:22 +0200 + +mingus (0.4.2.0-0ubuntu4) karmic; urgency=low + + * Distribute package for karmic koala + + -- Stefan Huchler Sat, 04 Jul 2009 16:19:19 +0200 + +mingus (0.4.2.0-0ubuntu3) intrepid; urgency=low + + * backport it to Intrepid + + -- Stefan Huchler Sat, 04 Jul 2009 16:03:30 +0200 + +mingus (0.4.2.0-0ubuntu2) jaunty; urgency=low + + * Added the year 2009 to the copyright statement to the copyright file + + -- Stefan Huchler Sat, 04 Jul 2009 15:49:16 +0200 + +mingus (0.4.2.0-0ubuntu1) jaunty; urgency=low + + * New upstream version + * updates Build-Depends and Standards-Version to the current versions + + -- Stefan Huchler Fri, 03 Jul 2009 19:41:51 +0200 + +mingus (0.4.0.1-0ubuntu1) intrepid; urgency=low + + * New upstream release + + -- Stefan Huchler Mon, 02 Mar 2009 15:25:31 +0100 + +mingus (0.3.9.1-0ubuntu1) intrepid; urgency=low + + * New upstream release + + -- Stefan Huchler Mon, 02 Mar 2009 14:44:57 +0100 + +mingus (0.3.9.0-0ubuntu2) intrepid; urgency=low + + * Rename package from mingus to python-mingus + * debian/dirs: Add mingus_example directory. + + -- Stefan Huchler Mon, 16 Feb 2009 14:52:03 +0100 + +mingus (0.3.9.0-0ubuntu1) intrepid; urgency=low + + * Initial release (Closes: #317541) + + -- Stefan Huchler Sat, 14 Feb 2009 12:38:16 +0100 + --- mingus-0.4.2.3.orig/debian/compat +++ mingus-0.4.2.3/debian/compat @@ -0,0 +1 @@ +7 --- mingus-0.4.2.3.orig/debian/dirs +++ mingus-0.4.2.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- mingus-0.4.2.3.orig/debian/docs +++ mingus-0.4.2.3/debian/docs @@ -0,0 +1 @@ +mingus_examples --- mingus-0.4.2.3.orig/debian/pycompat +++ mingus-0.4.2.3/debian/pycompat @@ -0,0 +1 @@ +2 --- mingus-0.4.2.3.orig/debian/control +++ mingus-0.4.2.3/debian/control @@ -0,0 +1,24 @@ +Source: mingus +Section: python +Priority: optional +Maintainer: Stefan Huchler +XS-Python-Version: >= 2.5 +Build-Depends: python (>=2.5), cdbs (>= 0.4.49) , debhelper (>= 7), python-central (>= 0.5.6) +Standards-Version: 3.8.2 +Homepage: http://mingus.googlecode.com + +Package: python-mingus +Replaces: mingus +Conflicts: mingus +Architecture: all +XB-Python-Version: ${python:Versions} +Depends: ${python:Depends}, ${misc:Depends} +Suggests: fluidsynth, lilypond, python-pygame, python-numpy +Description: advanced music theory and notation package + mingus is an advanced music theory and notation package + for Python with MIDI playback support. It can be used to play + around with music theory, to build editors, educational tools and + other applications that need to process and/or play music. + It can also be used to create sheet music with LilyPond + and do automated musicological analysis on chords, scales and + harmonic progressions. --- mingus-0.4.2.3.orig/debian/mingus.debhelper.log +++ mingus-0.4.2.3/debian/mingus.debhelper.log @@ -0,0 +1,34 @@ +dh_installdirs +dh_installdirs +dh_installdocs +dh_installexamples +dh_installman +dh_installinfo +dh_installmenu +dh_installcron +dh_installinit +dh_installdebconf +dh_installemacsen +dh_installcatalogs +dh_installpam +dh_installlogrotate +dh_installlogcheck +dh_installchangelogs +dh_installudev +dh_lintian +dh_install +dh_link +dh_installmime +dh_pycentral +dh_python +dh_strip +dh_compress +dh_fixperms +dh_makeshlibs +dh_installdeb +dh_perl +dh_shlibdeps +dh_gencontrol +dh_link +dh_md5sums +dh_builddeb --- mingus-0.4.2.3.orig/debian/mingus.substvars +++ mingus-0.4.2.3/debian/mingus.substvars @@ -0,0 +1,2 @@ +python:Versions=>= 2.5 +python:Depends=python (>= 2.5), python-central (>= 0.6.7) --- mingus-0.4.2.3.orig/debian/rules +++ mingus-0.4.2.3/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +install/mingus:: + mkdir -p debian/mingus/usr/share/doc + mv debian/mingus/usr/mingus_examples debian/mingus/usr/share/doc/examples + rm debian/mingus/usr/bin debian/mingus/usr/sbin -r + --- mingus-0.4.2.3.orig/debian/mingus.preinst.debhelper +++ mingus-0.4.2.3/debian/mingus.preinst.debhelper @@ -0,0 +1,52 @@ +# Automatically added by dh_pycentral +if which pycentral >/dev/null 2>&1 && pycentral --help 2>/dev/null | grep -q '^ *version'; then + pycentral pkgprepare mingus <= 2.5 +[pycentral] +version = 0.6.7 +[files] +/usr/share/pyshared/mingus-0.3.9.0.egg-info=f +/usr/share/pyshared/mingus=d +/usr/share/pyshared/mingus/containers=d +/usr/share/pyshared/mingus/containers/Suite.py=f +/usr/share/pyshared/mingus/containers/mt_exceptions.py=f +/usr/share/pyshared/mingus/containers/Track.py=f +/usr/share/pyshared/mingus/containers/NoteContainer.py=f +/usr/share/pyshared/mingus/containers/Composition.py=f +/usr/share/pyshared/mingus/containers/Instrument.py=f +/usr/share/pyshared/mingus/containers/Bar.py=f +/usr/share/pyshared/mingus/containers/TrackContainer.py=f +/usr/share/pyshared/mingus/containers/__init__.py=f +/usr/share/pyshared/mingus/containers/Note.py=f +/usr/share/pyshared/mingus/core=d +/usr/share/pyshared/mingus/core/notes.py=f +/usr/share/pyshared/mingus/core/mt_exceptions.py=f +/usr/share/pyshared/mingus/core/value.py=f +/usr/share/pyshared/mingus/core/diatonic.py=f +/usr/share/pyshared/mingus/core/progressions.py=f +/usr/share/pyshared/mingus/core/meter.py=f +/usr/share/pyshared/mingus/core/intervals.py=f +/usr/share/pyshared/mingus/core/chords.py=f +/usr/share/pyshared/mingus/core/__init__.py=f +/usr/share/pyshared/mingus/core/scales.py=f +/usr/share/pyshared/mingus/extra=d +/usr/share/pyshared/mingus/extra/MusicXML.py=f +/usr/share/pyshared/mingus/extra/__init__.py=f +/usr/share/pyshared/mingus/extra/LilyPond.py=f +/usr/share/pyshared/mingus/midi=d +/usr/share/pyshared/mingus/midi/pyFluidSynth.py=f +/usr/share/pyshared/mingus/midi/MidiFileIn.py=f +/usr/share/pyshared/mingus/midi/MidiFileOut.py=f +/usr/share/pyshared/mingus/midi/MidiEvents.py=f +/usr/share/pyshared/mingus/midi/fluidsynth.py=f +/usr/share/pyshared/mingus/midi/MidiTrack.py=f +/usr/share/pyshared/mingus/midi/__init__.py=f +/usr/share/pyshared/mingus/__init__.py=f +PYEOF +else + mkdir -p /var/lib/pycentral + echo mingus >> /var/lib/pycentral/delayed-pkgs +fi +# End automatically added section --- mingus-0.4.2.3.orig/debian/mingus.postinst.debhelper +++ mingus-0.4.2.3/debian/mingus.postinst.debhelper @@ -0,0 +1,8 @@ +# Automatically added by dh_pycentral +if which pycentral >/dev/null 2>&1; then + pycentral pkginstall mingus + if grep -qs '^mingus$' /var/lib/pycentral/delayed-pkgs; then + sed -i '/^mingus$/d' /var/lib/pycentral/delayed-pkgs + fi +fi +# End automatically added section --- mingus-0.4.2.3.orig/debian/watch +++ mingus-0.4.2.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts="uversionmangle=s/luks-//;s/-pre/~pre/;s/-rc/~rc/" http://code.google.com/p/mingus/downloads/list http://mingus.googlecode.com/files/mingus-(.*)\.tar\.gz --- mingus-0.4.2.3.orig/debian/mingus.prerm.debhelper +++ mingus-0.4.2.3/debian/mingus.prerm.debhelper @@ -0,0 +1,45 @@ +# Automatically added by dh_pycentral +case "$1" in remove) + pkgremove=y +esac +if [ -f /var/lib/pycentral/mingus.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ]; then + pkgremove=y +fi +if [ "$pkgremove" = y ]; then +if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then + pycentral pkgremove mingus +else + flist=$(tempfile) + slist=$(tempfile) + dpkg -L mingus | tee $flist | \ + while read n; do + case "$n" in + /usr/share/pyshared/*) + n2=${n#/usr/share/pyshared/*} + case "$n" in + *.py) echo "p $n";; + *) [ -d "$n" ] && echo "d $n2" || echo "f $n2" + esac + ;; + *) continue + esac + done > $slist + if [ -s $slist ]; then + for d in /usr/lib/python[0-9].[0-9]/????-packages; do + case "$d" in */python2.1/*|*/python2.2/*) continue; esac + while read t n; do + case "$t" in + p) rm -f $d/$n $d/${n}[co];; + d) rmdir $d/$n 2>/dev/null || true;; + *) rm -f $d/$n + esac + done < $slist + done + fi + awk '/\/usr\/share\/pyshared/ {next} /\.py$/ {print $0"c\n" $0"o"}' $flist \ + | xargs -r rm -f >&2 + rm -f $flist $slist +fi +rm -f /var/lib/pycentral/mingus.pkgremove +fi +# End automatically added section