From: Philippe Coval Date: Tue, 6 Sep 2016 08:11:13 +0000 (+0200) Subject: debian: Initial packaging on upstream git X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34cfdfdd2a35b2b9511451e26351f0743334b623;p=contrib%2Fiotivity.git debian: Initial packaging on upstream git Change-Id: I7e903d0419b39aefd1d47b57e51d0442109e7a85 Bug: http://bugs.debian.org/824155 Origin: https://github.com/tizenteam/iotivity Signed-off-by: Philippe Coval --- diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..9bb8556 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,10 @@ +iotivity for Debian +------------------- + + + + + + -- Philippe Coval Tue, 01 Dec 2015 23:32:27 +0000 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4a1b92e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +iotivity (0.0.0-0) unstable; urgency=low + + * Initial release (Closes: #824155) + + -- Philippe Coval Tue, 01 Dec 2015 23:32:27 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f0bf334 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: iotivity +Priority: optional +Maintainer: Philippe Coval +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: + + +Package: iotivity0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4e64152 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: iotivity +Source: + +Files: * +Copyright: + +License: Apache-2.0 + + + . + + +Files: debian/* +Copyright: 2015 Philippe Coval +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 index 0000000..462c9eb --- /dev/null +++ b/debian/docs @@ -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 index 0000000..e69de29 diff --git a/debian/iotivity-dev.dirs b/debian/iotivity-dev.dirs new file mode 100644 index 0000000..4418816 --- /dev/null +++ b/debian/iotivity-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include diff --git a/debian/iotivity-dev.install b/debian/iotivity-dev.install new file mode 100644 index 0000000..91b481e --- /dev/null +++ b/debian/iotivity-dev.install @@ -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 index 0000000..917f641 --- /dev/null +++ b/debian/iotivity.default.ex @@ -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 index 0000000..fa640c2 --- /dev/null +++ b/debian/iotivity.doc-base.EX @@ -0,0 +1,20 @@ +Document: iotivity +Title: Debian iotivity Manual +Author: +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 index 0000000..6845771 --- /dev/null +++ b/debian/iotivity0.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/debian/iotivity0.install b/debian/iotivity0.install new file mode 100644 index 0000000..c69286e --- /dev/null +++ b/debian/iotivity0.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so +usr/lib/iotivity/*/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f420e1a --- /dev/null +++ b/debian/rules @@ -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 \ + ${> 0.0.0-0), iotivity (<< 0.0.0-99) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 0000000..5eb4d73 --- /dev/null +++ b/debian/source/include-binaries @@ -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 index 0000000..948b0ca --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://www.iotivity.org/downloads iotivity-(.*)\.tar\.gz