--- spim-7.5.orig/debian/rules +++ spim-7.5/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +MAKE += CDEBUGFLAGS="$(CFLAGS)" EXCEPTION_DIR=/usr/lib/spim + +build: build-stamp +build-stamp: + dh_testdir + + cd spim && $(MAKE) spim + cd xspim && xmkmf && $(MAKE) xspim + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + cd spim && $(MAKE) very-clean + cd xspim && { [ ! -f Makefile ] || $(MAKE) distclean; } + rm -f Tests/tt.endian.s Tests/tt.s + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- spim-7.5.orig/debian/docs +++ spim-7.5/debian/docs @@ -0,0 +1,5 @@ +README +Documentation/BLURB +Documentation/SPIM.html +Documentation/TeX/*.ps +Tests --- spim-7.5.orig/debian/control +++ spim-7.5/debian/control @@ -0,0 +1,15 @@ +Source: spim +Section: electronics +Priority: extra +XSBC-Original-Maintainer: Mackenzie Morgan +Maintainer: Ubuntu MOTU Developers +Build-Depends: debhelper (>= 5), bison, flex, libx11-dev, libxt-dev, x11proto-core-dev, libxaw7-dev, xutils-dev +Standards-Version: 3.8.0 +Homepage: http://pages.cs.wisc.edu/~larus/spim.html + +Package: spim +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: MIPS R2000/R3000 emulator + Emulates a MIPS R2000/R3000 processor in software. + Useful for students who are taught MIPS R2000/R3000 assembly. --- spim-7.5.orig/debian/watch +++ spim-7.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cs.wisc.edu/~larus/SPIM/spim-(.*)\.tar\.gz --- spim-7.5.orig/debian/xspim.desktop +++ spim-7.5/debian/xspim.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=xSPIM +Comment=Graphical MIPS32 Assembly language emulator +Exec=xspim +Icon=xspim +Terminal=false +Type=Application +Categories=ComputerScience;Science;Education +StartupNotify=True --- spim-7.5.orig/debian/copyright +++ spim-7.5/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Fernando Sanchez fer@debian.org on +Sun, 14 Feb 1999 13:59:18 +0100. + +It was downloaded from http://www.cs.wisc.edu/~larus/SPIM/ + +Upstream Author: James R. Larus + +Copyright: + +SPIM is copyrighted by James R. Larus and distributed under the +following conditions: + + You may make copies of SPIM for your own use and modify those copies. + + All copies of SPIM must retain my name and copyright notice. + + You may not sell SPIM or distributed SPIM in conjunction with a + commercial product or service without the expressed written consent of + James Larus. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +Note: James Larus has clarified his license in regards to how it relates to +packaging and redistribution. He welcomes the packaging and redistribution +via other media, as long as his copyright is retained and source code is +distributed. --- spim-7.5.orig/debian/compat +++ spim-7.5/debian/compat @@ -0,0 +1 @@ +5 --- spim-7.5.orig/debian/xspim.svg +++ spim-7.5/debian/xspim.svg @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + MIPS + + --- spim-7.5.orig/debian/install +++ spim-7.5/debian/install @@ -0,0 +1,4 @@ +spim/spim xspim/xspim usr/bin +CPU/exceptions.s usr/lib/spim +debian/xspim.svg /usr/share/icons/hicolor/scalable/apps +debian/xspim.desktop /usr/share/applications/ --- spim-7.5.orig/debian/menu +++ spim-7.5/debian/menu @@ -0,0 +1,6 @@ +?package(spim):needs="X11" section="Applications/Development"\ + title="XSPIM" command="/usr/bin/xspim"\ + longtitle="A graphical MIPS emulator" +?package(spim):needs="text" section="Applicatons/Development"\ + title="SPIM" command="/usr/bin/spim"\ + longtitle="A MIPS emulator" --- spim-7.5.orig/debian/manpages +++ spim-7.5/debian/manpages @@ -0,0 +1,2 @@ +Documentation/spim.man +Documentation/xspim.man --- spim-7.5.orig/debian/changelog +++ spim-7.5/debian/changelog @@ -0,0 +1,148 @@ +spim (7.5-0ubuntu1) karmic; urgency=low + + * New upstream release + - Fixes problem with $sp resetting on stepping (LP: #389736) + * Add .desktop and icons (LP: #425046) + + -- Mackenzie Morgan Sun, 04 Oct 2009 14:15:00 -0400 + +spim (7.4-0ubuntu1) jaunty; urgency=low + + * New upstream release. (LP: #293585) + - Fixes problems with new versions of flex + + -- Mackenzie Morgan Tue, 10 Feb 2009 16:18:11 -0500 + +spim (7.3-1) unstable; urgency=low + + * QA upload. + * New upstream release + - Fixes "hanging" when starting. (Closes: #369533) + + -- Margarita Manterola Tue, 26 Sep 2006 12:19:11 -0300 + +spim (7.2.1-1) unstable; urgency=low + + * QA upload. + * New upstream release. + * Package is orphaned (#354501); set maintainer to Debian QA Group. + * Acknowledge NMU. Closes: #326097, #346936, #349389. + * Add a build dependency on bison. + * Change priority to extra in accordance with the override file. + * Install upstream changelog. + * Switch to debhelper 5. + * spim/Makefile: Allow optimization flags to be overridden. + * debian/rules: + - Add support for DEB_BUILD_OPTIONS=noopt. + - Use dh_install rather than (buggy) upstream Makefiles. + * debian/watch: Add. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Tue, 16 May 2006 19:33:57 -0500 + +spim (7.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Replace build-dependency on xlibs-dev with an explicit build-dependency + on each required package. (Closes: #346936) + * Don't re-declare static variables as non-static; fixes FTBFS on gcc-4.0, + patch from Andreas Jochens. (Closes: #326097) + + -- Steinar H. Gunderson Sun, 22 Jan 2006 19:11:29 +0100 + +spim (7.1-1) unstable; urgency=low + + * New upstream version (Closes: Bug#271608) + * Added Build-Depends on flex and debhelper (>= 4) + * Created debian/compat (V4) + * Updated Standards-Version to 3.6.2 + * Fixed unquoted strings in spim.menu + * Switched to dh_installman instead of dh_installmanpages + + -- Fernando Sanchez Sun, 3 Jul 2005 16:25:11 +0200 + +spim (6.5-1) unstable; urgency=low + + * New upstream release (Closes: Bug#178264) + * Added libxaw7-dev instead of libxaw-dev to build-depends. It already + depended on xutils so there is no need to add it (Closes: Bug#102515) + + -- Fernando Sanchez Fri, 24 Jan 2003 21:23:48 +0100 + +spim (6.4-2) unstable; urgency=low + + * Added libxaw-dev and xlibs-dev to build-depends (Closes: Bug#139062) + + -- Fernando Sanchez Tue, 19 Mar 2002 16:58:57 +0100 + +spim (6.4-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Fri, 8 Mar 2002 18:37:26 +0100 + +spim (6.3-1) unstable; urgency=low + + * New upstream release + + -- Fernando Sanchez Wed, 24 Jan 2001 14:05:34 +0100 + +spim (6.2-3) unstable; urgency=low + + * Compiled with current Debian libraries to ensure correct operation + * Changed Standards-Version to 3.0.1 + * Added menu entry for spim and xspim binaries + * Renamed spim man page from spim.1x.gz to spim.1.gz + + -- Fernando Sanchez Sun, 19 Dec 1999 21:48:00 +0100 + +spim (6.2-2) unstable; urgency=low + + * Compiled with current potato libraries + * Packaged following FHS documentation placement rules + + -- Fernando Sanchez Sun, 12 Sep 1999 16:05:08 +0200 + +spim (6.2-1) unstable; urgency=low + + * New maintainer: Fernando Sanchez + * New upstream source + + -- Fernando Sanchez Sat, 13 Feb 1999 19:15:51 +0100 + +spim (6.1-3) frozen non-free; urgency=low + + * Reuploading so that spim can make it out of orphaned. + + -- Jay Kominek Sun, 15 Mar 1998 15:37:43 -0500 + +spim (6.1-2) non-free; urgency=low + + * Included the Tests directory with the package. + + -- Jay Kominek Mon, 9 Mar 1998 17:19:51 -0500 + +spim (6.1-1) non-free; urgency=low + + * New upstream release. + + -- Jay Kominek Fri, 20 Feb 1998 22:24:44 -0500 + +spim (6.0-3) non-free; urgency=low + + * Moved into non-free. (Fixes bug #14956) + + -- Jay Kominek Thu, 20 Nov 1997 15:27:39 -0500 + +spim (6.0-2) unstable; urgency=low + + * Compiled for Libc6. + + -- Jay Kominek Fri, 7 Nov 1997 23:46:19 -0500 + +spim (6.0-1) unstable; urgency=low + + * Initial Release. + + -- Jay Kominek Wed, 3 Sep 1997 17:30:03 -0400 +