From 00c90e68c066b6b6dc0f0f15dc91f9d9a8cf0362 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Sat, 30 Apr 2016 11:42:26 +0530
Subject: [PATCH] Added debian folder to create debian on travis.

---
 debian/README.Debian |  6 ++++++
 debian/changelog     |  9 +++++++++
 debian/compat        |  1 +
 debian/control       | 29 +++++++++++++++++++++++++++++
 debian/copyright     | 33 +++++++++++++++++++++++++++++++++
 debian/install       |  2 ++
 debian/rules         | 28 ++++++++++++++++++++++++++++
 7 files changed, 108 insertions(+)
 create mode 100644 debian/README.Debian
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/install
 create mode 100755 debian/rules

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 00000000..989036c4
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+moose for Debian
+----------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Dilawar <dilawars@ncbs.res.in>  Thu, 24 Jul 2014 16:41:58 +0530
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..8e3e6829
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,9 @@
+moose (3.0.2) unstable; urgency=low
+
+  * Initial release 
+  * Feature-freeze release.
+  * trunk series. Experimental branch.
+  * 3.0.2 relase.
+  * Just packed with SBML and GSL-1.6 support.
+
+ -- Dilawar <dilawars@ncbs.res.in>  Sun, 05 July 2015 13:41:58 +0530
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..f5c52044
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: moose
+Section: science
+Priority: optional
+Maintainer: Dilawar Singh <dilawars@ncbs.res.in>
+Build-Depends: debhelper, cdbs, devscripts, cmake, libxml2-dev, libbz2-dev, zlib1g-dev,python-dev, python-numpy, libgsl0-dev
+Standards-Version: 3.9.5
+Homepage: http://moose.ncbs.res.in
+
+Package: moose
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-numpy-abi9, libhdf5-7 | libhdf5-serial-1.8.4, python-lxml, python-numpy, python-matplotlib, python-nose, python-networkx, python-suds, python-qt4, libgsl0ldbl
+Replaces:  moose-python, moose-gui
+Conflicts:  moose-python, moose-gui
+Description: the Multiscale Object-Oriented Simulation Environment
+ It is the base and numerical core for large, detailed simulations including Computational Neuroscience and Systems Biology.
+ .
+ MOOSE spans the range from single molecules to subcellular networks, from
+ single cells to neuronal networks, and to still larger systems.  MOOSE uses
+ Python for scripting compatibility with a large range of software and
+ analysis tools. It recognizes model definition standards including SBML,
+ NeuroML, and GENESIS model file formatsGallery
+ .
+ MOOSE is open source software, licensed under the LGPL (Lesser GNU Public
+ License). It has absolutely no warranty.
+ .
+ The MOOSE team is also participating in development of MOOGLI: a library and
+ standalone application for displaying time-course of activity of detailed 3-D
+ network models using OpenGL and also using OpenSceneGraph	
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..48013513
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: moose
+Source: http://moose.ncbs.res.in
+
+Files: *
+Copyright: 2007-15 Upinder Bhalla 
+           2009-13 Subhasis Ray
+           2013-15 Dilawar Singh
+           2014-15 Aviral Goel
+
+License: LGPL-3.0+
+
+Files: debian/*
+Copyright: 2014 Dilawar Singh <dilawars@ncbs.res.in>
+License: LGPL-3.0+
+
+License: LGPL-3.0+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+ .
+ This package 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
+ Lesser 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 <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/install b/debian/install
new file mode 100644
index 00000000..62155fac
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+usr/lib
+usr/bin/moosegui
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..84e16f0e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+# export DH_VERBOSE=1
+
+## Here goes the debian make.
+
+%:
+	dh "$@" --with python2
+
+override_dh_auto_clean:
+	rm -rf $(BUILD_DIR_MOOSE)
+	dh_auto_clean --buildsystem=cmake
+
+# consider using -DUSE_VERSIONED_DIR=ON if backporting
+override_dh_auto_configure:
+	cmake -DPACKAGING_ON_LAUNCHPAD=ON -DCMAKE_INSTALL_PREFIX=debian/tmp
+
+override_dh_auto_build:
+	make VERBOSE=0 -j`nproc`
+
+override_dh_auto_install:
+	make install
+
+override_dh_shlibdeps:
+	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
+override_dh_python2:
+	dh_python2 --no-guessing-versions
-- 
GitLab