deb build stuff
Scott Baker [Mon, 18 Aug 2014 22:05:23 +0000 (15:05 -0700)]
Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..7c77d55
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+clean:
+
+install:
+       install -d $(DESTDIR)/usr/share/pyshared/neutron/plugins/opencloud
+       install -d $(DESTDIR)/usr/share/pyshared/neutron/extensions
+       install opencloud_db_v2.py $(DESTDIR)/usr/share/pyshared/neutron/plugins/opencloud/
+       install opencloud_models_v2.py $(DESTDIR)/usr/share/pyshared/neutron/plugins/opencloud/
+       install opencloud_neutron_plugin.py $(DESTDIR)/usr/share/pyshared/neutron/plugins/opencloud/
+       install nat.py $(DESTDIR)/usr/share/pyshared/neutron/extensions/
+       ln -s /usr/share/pyshared/neutron/plugins/opencloud/opencloud_neutron_plugin.py $(DESTDIR)/usr/lib/python2.7/dist-packages/neutron/plugins/opencloud/opencloud_neutron_plugin.py
+       ln -s /usr/share/pyshared/neutron/plugins/opencloud/opencloud_models_v2.py $(DESTDIR)/usr/lib/python2.7/dist-packages/neutron/plugins/opencloud/opencloud_models_v2.py
+       ln -s /usr/share/pyshared/neutron/plugins/opencloud/opencloud_db_v2.py $(DESTDIR)/usr/lib/python2.7/dist-packages/neutron/plugins/opencloud/opencloud_db_v2.py
+       ln -s /usr/share/pyshared/neutron/plugins/opencloud/__init__.py $(DESTDIR)/usr/lib/python2.7/dist-packages/neutron/plugins/opencloud/__init__.py
+
+
+deb: 
+       rm -rf build
+       mkdir build
+       mkdir build/opencloud-plugin-1.0
+       cp Makefile *.py build/opencloud-plugin-1.0/
+       mkdir build/opencloud-plugin-1.0/debian 
+       mkdir build/opencloud-plugin-1.0/debian/source
+       cp debian/changelog debian/control debian/rules debian/compat debian/copyright build/opencloud-plugin-1.0/debian/
+       cp debian/source/format build/opencloud-plugin-1.0/debian/source/
+       cd build/opencloud-plugin-1.0
+       debuild -i -us -uc -B
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..df3f1aa
--- /dev/null
@@ -0,0 +1,5 @@
+opencloud-plugin (1.0-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- smbaker <smbaker@smbaker-virtual-machine>  Mon, 18 Aug 2014 15:21:36 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..41e8575
--- /dev/null
@@ -0,0 +1,9 @@
+Source: opencloud-plugin
+Maintainer: Scott Baker <smbaker@gmail.com>
+Section: misc
+Priority: optional
+Standards-Version: 3.9.2
+
+Package: opencloud-plugin
+Architecture: any
+Description: Layered driver for opencloud nat port forwarding on OpenStack
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..cbe925d
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+       dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)