add debian package release-20161231 release-20170206
authorshuai.fu <shuai01.fu@samsung.com>
Sat, 22 Oct 2016 08:33:17 +0000 (16:33 +0800)
committerSoonKyu Park <sk7.park@samsung.com>
Mon, 2 Jan 2017 05:52:02 +0000 (14:52 +0900)
Change-Id: I8e0897157f1622e50b1b2f8986adc12032119a1c
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/python-snapdiff.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..5e66e3a
--- /dev/null
@@ -0,0 +1,6 @@
+python-snapdiff (0.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..34889bb
--- /dev/null
@@ -0,0 +1,22 @@
+Source:  python-snapdiff
+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, python, python-setuptools, python-jinja2, python-requests, python-yaml
+Standards-Version: 0.1
+Homepage: http://www.tizen.org
+
+Package:  python-snapdiff
+Architecture: all
+Depends:  ${python:Depends},
+ rpm,
+ python,
+ python-jinja2,
+ python-requests,
+ python-yaml,
+ cpio,
+ bzip2,
+ gzip
+Description: image creator for Linux distributions
+  The tool createrep is used to ppfarm test
+
diff --git a/debian/python-snapdiff.install b/debian/python-snapdiff.install
new file mode 100644 (file)
index 0000000..b43895b
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/python2.7/site-packages/python_snapdiff-0.1-py2.7.egg-info/*  /usr/lib/python2.7/site-packages/python_snapdiff-0.1-py2.7.egg-info/
+usr/lib/python2.7/site-packages/snapdiff/* /usr/lib/python2.7/site-packages/snapdiff/
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..01fb7b7
--- /dev/null
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+       ls /usr/lib/python2.7/
+       CFLAGS="%{optflags}" python setup.py build
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Installing package
+
+       python setup.py install --prefix=/usr --root=$(CURDIR)
+       install -D -m 644 distfiles/profile.yaml $(CURDIR)/etc/python-snapdiff/profile.yaml
+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