Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve doc, add convenience start command.

  • Loading branch information...
commit 2cbe02f3d51c715bc4353beebcfc5d6e231cc065 1 parent a24ccc1
@hanke hanke authored
View
15 debian/README.Debian
@@ -0,0 +1,15 @@
+SPM8 for Debian
+---------------
+
+The Debian package of SPM8 doesn't ship any pre-compiled MEX extensions. These
+extensions are automatically built when installing the matlab-spm8 package.
+
+To use SPM8 with MATLAB it has to be added to its search path. The corresponding
+installation directory is /usr/share/matlab/site/m/spm8. Adding
+
+ addpath('/usr/share/matlab/site/m/spm8')
+
+to a user's "startup.m" or the system-wide MATLAB configuration will enable
+SPM8.
+
+ -- Michael Hanke <michael.hanke@gmail.com> Tue, 23 Nov 2010 09:22:24 -0500
View
10 debian/README.Debian-source
@@ -0,0 +1,10 @@
+Debian source package of SPM8
+=============================
+
+The official SPM8 distribution contains a number of external software
+(including binary-only portions) and pre-compiled MEX extensions.
+
+All binary parts have been strip from the source packages, as well as external
+software that is useful without SPM and will be packaged separately.
+
+ -- Michael Hanke <michael.hanke@gmail.com> Tue, 23 Nov 2010 09:22:24 -0500
View
9 debian/changelog
@@ -1,4 +1,11 @@
-spm8 (8.4010~dfsg.1-1) unstable; urgency=low
+spm8 (8.4010~dfsg.1-2) unstable; urgency=low
+
+ * Improve Debian-related documentation.
+ * Add 'spm8' command to /usr/bin.
+
+ -- Michael Hanke <michael.hanke@gmail.com> Tue, 23 Nov 2010 09:22:24 -0500
+
+spm8 (8.4010~dfsg.1-1) UNRELEASED; urgency=low
* Initial release (Closes: #592390).
View
18 debian/copyright
@@ -1,11 +1,19 @@
-Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
-Name: SPM8
-Maintainer:
-Source:
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: spm8
+Maintainer: Guillaume Flandin <gflandin@fil.ion.ucl.ac.uk>
+Source: http://www.fil.ion.ucl.ac.uk/spm/
+
+
+Files: *
+Copyright: 1994-2010 Wellcome Trust Centre for Neuroimaging, Institute of
+ Neurology at University College London (UCL), UK
+License: GPL-2+
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL-3' file.
Files: debian/*
Copyright: 2010 NeuroDebian Team
-License: GPL-3+
+License: GPL-2+
On Debian systems the full text of the GNU General Public License can be found
in the `/usr/share/common-licenses/GPL-3' file.
View
1  debian/matlab-spm8.dirs
@@ -0,0 +1 @@
+usr/bin
View
4 debian/rules
@@ -53,6 +53,10 @@ override_dh_auto_install:
#for f in $$(find . -type f -name '*.mex'); do \
# echo /usr/lib/spm8/$$(basename $$f) /usr/share/spm8/$$(basename $$f) >> debian/octave-spm8.links ; \
#done
+ # put convenience commands
+ printf "#! /bin/sh\n\nmatlab -r \"addpath('/usr/share/matlab/site/m/spm8'); spm\"\n" \
+ > debian/matlab-spm8/usr/bin/spm8-matlab
+ chmod +x debian/matlab-spm8/usr/bin/spm8-matlab
override_dh_auto_test:
Please sign in to comment.
Something went wrong with that request. Please try again.