add debian package
authorshuai.fu <shuai01.fu@samsung.com>
Sat, 22 Oct 2016 08:21:46 +0000 (16:21 +0800)
committerSoonKyu Park <sk7.park@samsung.com>
Sat, 4 Feb 2017 07:06:33 +0000 (16:06 +0900)
Change-Id: I20b60bea4fe5416a96ee2b0efe4b1d90fc486508
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/obs-event-plugin.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ab42464
--- /dev/null
@@ -0,0 +1,6 @@
+obs-event-plugin (0.1.1) unstable; urgency=low
+
+  * add debian 
+
+ -- Shuai Fu <shuai01.fu@samsung.com> Wed, 09 Jul 2014 10:09:30 +0800
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..427e7e9
--- /dev/null
@@ -0,0 +1,20 @@
+Source: obs-event-plugin
+Section: devel
+Priority: extra
+Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
+Build-Depends: debhelper (>= 7.0.15), cdbs, python-dev, python-support, python-docutils 
+Standards-Version: 0.1.1
+Homepage: http://www.tizen.org
+
+Package: obs-event-plugin
+Architecture: all
+Depends:  ${python:Depends},
+ rpm,
+ python-rpm,
+ python-urlgrabber,
+ cpio,
+ bzip2,
+ gzip
+Description: image creator for Linux distributions
+  The tool createrep is used to ppfarm test
+
diff --git a/debian/obs-event-plugin.install b/debian/obs-event-plugin.install
new file mode 100644 (file)
index 0000000..d8af2e8
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/obs/server/plugins/* /usr/lib/obs/server/plugins/
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..ab86e71
--- /dev/null
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Installing package
+       install -d $(CURDIR)/usr/lib/obs/server/plugins/
+       install notify_jenkins.pm $(CURDIR)/usr/lib/obs/server/plugins/
+binary-indep: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_install
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_pysupport
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install