Initial import.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 18 Sep 2016 17:26:07 +0000 (19:26 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 18 Sep 2016 17:26:07 +0000 (19:26 +0200)
NOW/debian/compat [new file with mode: 0644]
NOW/debian/control [new file with mode: 0644]
NOW/debian/copyright [new file with mode: 0644]
NOW/debian/docs [new file with mode: 0644]
NOW/debian/preinst [new file with mode: 0644]
NOW/debian/rules [new file with mode: 0755]
NOW/debian/source/format [new file with mode: 0644]
NOW/debian/watch-unused [new file with mode: 0644]

diff --git a/NOW/debian/compat b/NOW/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/NOW/debian/control b/NOW/debian/control
new file mode 100644 (file)
index 0000000..97a174b
--- /dev/null
@@ -0,0 +1,18 @@
+Source: now
+Section: ruby
+Priority: optional
+Maintainer: František Dvořák <valtri@civ.zcu.cz>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.4
+Homepage: https://github.com/CESNET/NOW
+#Vcs-Git: git://git.debian.org/collab-maint/now.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/now.git;a=summary
+XS-Ruby-Versions: all
+
+Package: now
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Pre-Depends: ${misc:Pre-Depends}, adduser
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-ipaddress, ruby-json, ruby-sinatra
+Description: Network Orchestrator Wrapper for OpenNebula
+ Network Orchestrator Wrapper is the component to extend OpenNebula network orchestration capabilities.
diff --git a/NOW/debian/copyright b/NOW/debian/copyright
new file mode 100644 (file)
index 0000000..8599b3b
--- /dev/null
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NOW
+Source: https://github.com/CESNET/NOW
+
+Files: *
+Copyright: Copyright 2016 CESNET - INDIGO-DataCloud
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 František Dvořák <valtri@civ.zcu.cz>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/NOW/debian/docs b/NOW/debian/docs
new file mode 100644 (file)
index 0000000..b43bf86
--- /dev/null
@@ -0,0 +1 @@
+README.md
diff --git a/NOW/debian/preinst b/NOW/debian/preinst
new file mode 100644 (file)
index 0000000..7eac864
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+# preinst script for NOW
+
+set -e
+
+case "$1" in
+    install|upgrade)
+        getent group now >/dev/null || addgroup --system now
+        getent passwd now >/dev/null || adduser --system --group --home /usr/share/NOW now
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
diff --git a/NOW/debian/rules b/NOW/debian/rules
new file mode 100755 (executable)
index 0000000..5cd2d2f
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+export DH_RUBY_IGNORE_TESTS=all
+
+%:
+       dh $@ --buildsystem=ruby --with ruby
diff --git a/NOW/debian/source/format b/NOW/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/NOW/debian/watch-unused b/NOW/debian/watch-unused
new file mode 100644 (file)
index 0000000..ea05427
--- /dev/null
@@ -0,0 +1,5 @@
+# For GitHub projects you can use the tags or releases page.  Since the archive
+# URLs use only the version as the name, it is recommended to use a
+# filenamemangle to adjust the name of the downloaded file:
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/NOW-$1.tar.gz/" \
+  https://github.com/<user>/<project>/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz