debian: Initial packaging on upstream git
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 6 Sep 2016 08:11:13 +0000 (10:11 +0200)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 18 Apr 2017 11:37:05 +0000 (13:37 +0200)
Change-Id: I7e903d0419b39aefd1d47b57e51d0442109e7a85
Bug: http://bugs.debian.org/824155
Origin: https://github.com/tizenteam/iotivity
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
18 files changed:
debian/README.source [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/docs [new file with mode: 0644]
debian/info [new file with mode: 0644]
debian/iotivity-dev.dirs [new file with mode: 0644]
debian/iotivity-dev.install [new file with mode: 0644]
debian/iotivity.default.ex [new file with mode: 0644]
debian/iotivity.doc-base.EX [new file with mode: 0644]
debian/iotivity0.dirs [new file with mode: 0644]
debian/iotivity0.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/shlibs.local.ex [new file with mode: 0644]
debian/source/format [new file with mode: 0644]
debian/source/include-binaries [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/README.source b/debian/README.source
new file mode 100644 (file)
index 0000000..9bb8556
--- /dev/null
@@ -0,0 +1,10 @@
+iotivity for Debian
+-------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+ -- Philippe Coval <rzr@gna.org>  Tue, 01 Dec 2015 23:32:27 +0000
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4a1b92e
--- /dev/null
@@ -0,0 +1,5 @@
+iotivity (0.0.0-0) unstable; urgency=low
+
+  * Initial release (Closes: #824155)
+
+ -- Philippe Coval <rzr@gna.org>  Tue, 01 Dec 2015 23:32:27 +0000
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..f0bf334
--- /dev/null
@@ -0,0 +1,43 @@
+Source: iotivity
+Priority: optional
+Maintainer: Philippe Coval <rzr@gna.org>
+Build-Depends: debhelper (>= 8.0.0),
+ autotools-dev,
+ libbz2-dev,
+ libglib2.0-dev,
+ libicu-dev,
+ python-dev,
+ scons,
+ sudo,
+ unzip,
+ uuid-dev,
+ libcurl4-gnutls-dev | libcurl4-openssl-dev,
+ valgrind,
+ libboost-thread1.55-dev | libboost-thread-dev,
+ libboost-date-time1.55-dev | libboost-date-time-dev,
+ libboost-iostreams1.55-dev | libboost-iostreams-dev,
+ libboost-log1.55-dev | libboost-log-dev,
+ libboost-program-options1.55-dev | libboost-program-options-dev,
+ libboost-regex1.55-dev | libboost-regex-dev,
+ libboost-system1.55-dev | libboost-system-dev,
+ libsqlite3-dev
+Standards-Version: 3.9.4
+Section: libs
+Homepage: https://iotivity.org
+Vcs-Git: https://github.com/rzr/iotivity
+Vcs-Browser: https://github.com/tizen-team/iotivity
+
+Package: iotivity-dev
+Section: libdevel
+Architecture: any
+Depends: iotivity0 (= ${binary:Version})
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
+Package: iotivity0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..4e64152
--- /dev/null
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: iotivity
+Source: <https://iotivity.org>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: Apache-2.0
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+Files: debian/*
+Copyright: 2015 Philippe Coval <rzr@gna.org>
+License: Apache-2.0
+ .
+ TODO
+ .
+ On Debian systems, the complete text of the Apache
+ License version 2 can be found in "/usr/share/common-licenses/Apache-2.0".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..462c9eb
--- /dev/null
@@ -0,0 +1,4 @@
+*.md
+Readme.scons.txt
+Readme.scons.txt
+scons_script_how_to.txt
diff --git a/debian/info b/debian/info
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/debian/iotivity-dev.dirs b/debian/iotivity-dev.dirs
new file mode 100644 (file)
index 0000000..4418816
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/iotivity-dev.install b/debian/iotivity-dev.install
new file mode 100644 (file)
index 0000000..91b481e
--- /dev/null
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/pkgconfig/*
+usr/share/pkgconfig/*
diff --git a/debian/iotivity.default.ex b/debian/iotivity.default.ex
new file mode 100644 (file)
index 0000000..917f641
--- /dev/null
@@ -0,0 +1,10 @@
+# Defaults for iotivity initscript
+# sourced by /etc/init.d/iotivity
+# installed at /etc/default/iotivity by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=""
diff --git a/debian/iotivity.doc-base.EX b/debian/iotivity.doc-base.EX
new file mode 100644 (file)
index 0000000..fa640c2
--- /dev/null
@@ -0,0 +1,20 @@
+Document: iotivity
+Title: Debian iotivity Manual
+Author: <insert document author here>
+Abstract: This manual describes what iotivity is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/iotivity/iotivity.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/iotivity/iotivity.ps.gz
+
+Format: text
+Files: /usr/share/doc/iotivity/iotivity.text.gz
+
+Format: HTML
+Index: /usr/share/doc/iotivity/html/index.html
+Files: /usr/share/doc/iotivity/html/*.html
diff --git a/debian/iotivity0.dirs b/debian/iotivity0.dirs
new file mode 100644 (file)
index 0000000..6845771
--- /dev/null
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/iotivity0.install b/debian/iotivity0.install
new file mode 100644 (file)
index 0000000..c69286e
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/lib*.so
+usr/lib/iotivity/*/*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..f420e1a
--- /dev/null
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+V=1
+
+default: rule/debuild
+
+%:
+       dh $@
+
+
+version?=$(shell [ -r debian/changelog ] && dpkg-parsechangelog | grep "Version:" | sed -e "s/Version: \(.*\)-.*/\1/g" )
+tarball?=${CURDIR}/../iotivity_${version}.orig.tar.xz
+
+rule/debuild: ${tarball}
+       debuild
+
+${tarball}: ${CURDIR}
+       cd .. && tar cvfJ \
+ $@ \
+ --exclude 'debian' --exclude-vcs \
+ ${<F}/
diff --git a/debian/shlibs.local.ex b/debian/shlibs.local.ex
new file mode 100644 (file)
index 0000000..5cb7e4a
--- /dev/null
@@ -0,0 +1 @@
+libiotivity 0.0.0 iotivity (>> 0.0.0-0), iotivity (<< 0.0.0-99)
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)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644 (file)
index 0000000..5eb4d73
--- /dev/null
@@ -0,0 +1,3 @@
+debian/overlay/extlibs/hippomocks-master.zip
+debian/overlay/extlibs/tinycbor/tinycbor.tar.bz2
+debian/overlay/extlibs/gtest/gtest-1.7.0.zip
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..948b0ca
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+https://www.iotivity.org/downloads iotivity-(.*)\.tar\.gz