From 4f36b6e09dfdcc9e796297713589f3f7b7e4ef9b Mon Sep 17 00:00:00 2001 From: "shuai.fu" Date: Sat, 22 Oct 2016 16:21:46 +0800 Subject: [PATCH] add debian package Change-Id: I20b60bea4fe5416a96ee2b0efe4b1d90fc486508 Signed-off-by: shuai.fu --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++ debian/obs-event-plugin.install | 1 + debian/rules | 47 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/obs-event-plugin.install create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ab42464 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +obs-event-plugin (0.1.1) unstable; urgency=low + + * add debian + + -- Shuai Fu Wed, 09 Jul 2014 10:09:30 +0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..427e7e9 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: obs-event-plugin +Section: devel +Priority: extra +Maintainer: Jian-feng Ding +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 index 0000000..d8af2e8 --- /dev/null +++ b/debian/obs-event-plugin.install @@ -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 index 0000000..ab86e71 --- /dev/null +++ b/debian/rules @@ -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 -- 2.7.4