diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-03 16:51:39 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-05 19:04:31 +0300 |
| commit | dc05441b446aa4cf7e6eaa941c6dd623131bdcff (patch) | |
| tree | 09c541f73bf6161feb33922ff04e477f29653c84 /res/debian/pkg__rhizi-common | |
| parent | 60f8d3d0589cc7fda88d933dc132bd85df35203c (diff) | |
deb-pkg, build.ant: introducing 'single' and 'mux' debian package variants
Currently both share the same control script, generating a 'rhizi' named package
Diffstat (limited to 'res/debian/pkg__rhizi-common')
| -rw-r--r-- | res/debian/pkg__rhizi-common/README | 6 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/README.Debian | 6 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/changelog | 5 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/compat | 1 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/control | 28 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/copyright | 29 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/dirs | 2 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/rhizi.cron.hourly | 1 | ||||
| -rw-r--r-- | res/debian/pkg__rhizi-common/rhizi.links | 9 | ||||
| -rwxr-xr-x | res/debian/pkg__rhizi-common/rules | 25 |
10 files changed, 112 insertions, 0 deletions
diff --git a/res/debian/pkg__rhizi-common/README b/res/debian/pkg__rhizi-common/README new file mode 100644 index 00000000..9df269f5 --- /dev/null +++ b/res/debian/pkg__rhizi-common/README @@ -0,0 +1,6 @@ +The Debian Package rhizi +---------------------------- + +Comments regarding the Package + + -- Amir Sagie <sagie@rhizi.org> Sun, 23 Nov 2014 19:09:39 +0200 diff --git a/res/debian/pkg__rhizi-common/README.Debian b/res/debian/pkg__rhizi-common/README.Debian new file mode 100644 index 00000000..91c91086 --- /dev/null +++ b/res/debian/pkg__rhizi-common/README.Debian @@ -0,0 +1,6 @@ +rhizi for Debian +----------------------- + +No current notes. + + -- Amir Sagie <sagie@rhizi.org> Sun, 23 Nov 2014 19:09:39 +0200 diff --git a/res/debian/pkg__rhizi-common/changelog b/res/debian/pkg__rhizi-common/changelog new file mode 100644 index 00000000..a11dd580 --- /dev/null +++ b/res/debian/pkg__rhizi-common/changelog @@ -0,0 +1,5 @@ +rhizi (0.1.0) unstable; urgency=low + + * Initial Release. + + -- Amir Sagie <sagie@rhizi.org> Sun, 23 Nov 2014 19:09:39 +0200 diff --git a/res/debian/pkg__rhizi-common/compat b/res/debian/pkg__rhizi-common/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/res/debian/pkg__rhizi-common/compat @@ -0,0 +1 @@ +9 diff --git a/res/debian/pkg__rhizi-common/control b/res/debian/pkg__rhizi-common/control new file mode 100644 index 00000000..88a3b56a --- /dev/null +++ b/res/debian/pkg__rhizi-common/control @@ -0,0 +1,28 @@ +Source: rhizi +Section: web +Priority: optional +Maintainer: Amir Sagie <sagie@rhizi.org> +Build-Depends: debhelper (>= 9), + dh-python +Standards-Version: 3.9.5 +Homepage: http://rhizi.net + +Package: rhizi +Architecture: any +Depends: ${python:Depends}, + ${shlibs:Depends}, + ${misc:Depends}, + apache2 (>= 2.4), + neo4j-advanced (>= 2.2), + python2.7, + python-enum, + python-flask, + python-futures, + python-gevent, + python-gevent-websocket, + python-six, + python-socketio +Description: Rhizi document server + Rhizi collaborative web editor + . + This package includes the Rhizi server diff --git a/res/debian/pkg__rhizi-common/copyright b/res/debian/pkg__rhizi-common/copyright new file mode 100644 index 00000000..b54b990f --- /dev/null +++ b/res/debian/pkg__rhizi-common/copyright @@ -0,0 +1,29 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: rhizi +Source: http://rhizi.org + +Files: * +Copyright: 2014 Amir Sagie <sagie@rhizi.org> +License: GPL-3.0+ + +Files: debian/* +Copyright: 2014 Amir Sagie <sagie@rhizi.org> +License: GPL-3.0+ + +License: GPL-3.0+ + 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 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 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 complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + diff --git a/res/debian/pkg__rhizi-common/dirs b/res/debian/pkg__rhizi-common/dirs new file mode 100644 index 00000000..41d605ce --- /dev/null +++ b/res/debian/pkg__rhizi-common/dirs @@ -0,0 +1,2 @@ +var/run/rhizi +var/log/rhizi diff --git a/res/debian/pkg__rhizi-common/rhizi.cron.hourly b/res/debian/pkg__rhizi-common/rhizi.cron.hourly new file mode 100644 index 00000000..274cdd7a --- /dev/null +++ b/res/debian/pkg__rhizi-common/rhizi.cron.hourly @@ -0,0 +1 @@ +/usr/lib/rhizi/server-tools/rz_backup.py
\ No newline at end of file diff --git a/res/debian/pkg__rhizi-common/rhizi.links b/res/debian/pkg__rhizi-common/rhizi.links new file mode 100644 index 00000000..58715e62 --- /dev/null +++ b/res/debian/pkg__rhizi-common/rhizi.links @@ -0,0 +1,9 @@ +usr/lib/rhizi-server/rhizi_server.py usr/bin/rhizi-server +srv/www/rhizi/webapp/bin usr/bin/rhizi-server + +# +# JS libs - note: symlink against .min version of libs +# +# +# usr/share/javascript/jquery/jquery.min.js srv/www/rhizi/webapp/static/lib/jquery.js +# usr/share/javascript/underscore/underscore.min.js srv/www/rhizi/webapp/static/lib/underscore.js diff --git a/res/debian/pkg__rhizi-common/rules b/res/debian/pkg__rhizi-common/rules new file mode 100755 index 00000000..e2a59841 --- /dev/null +++ b/res/debian/pkg__rhizi-common/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --prefix=/usr \ + --libdir=/usr/lib \ + --enable-python + +%: + dh $@ --with python2 + +override_dh_auto_configure: + dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) + +override_dh_auto_install: + dh_auto_install + + # TODO: support python setup.py install: + # python setup.py install --root=$(CURDIR)/debian/supybot --prefix=/usr $(py_setup_install_args) + +override_dh_python2: + dh_python2 \ + -p rhizi \ + --exclude=rhizi-server.py |
