diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a74681c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libnymea-gpio (0.1.0) bionic; urgency=medium + + * Initial release. + + -- Simon Stürz Wed, 04 Sep 2019 11:50:53 +0200 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..892c31a --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: libnymea-gpio +Section: utils +Priority: optional +Maintainer: Simon Stürz +Build-Depends: debhelper (>= 9.0.0), + dpkg-dev (>= 1.16.1~), + qt5-default, + qt5-qmake, + qtbase5-dev, + qtbase5-dev-tools +Standards-Version: 3.9.7 + +Package: libnymea-gpio +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Qt 5 based library for GPIO interaction. + Qt 5 based library for GPIO interaction. + +Package: libnymea-gpio-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + pkg-config, + libnymea-gpio (= ${binary:Version}), +Description: Qt 5 based library for GPIO interaction - development files + Development files for Qt 5 based GPIO library. + +Package: libnymea-gpio-dbg +Priority: extra +Architecture: any +Section: debug +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnymea-gpio (= ${binary:Version}) +Description: Qt 5 based library for GPIO interaction - debug symbols + Debug Symbols for Qt 5 based GPIO library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a5e8d5e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Author: Simon Stürz +Download: https://github.com/guh/libnymea-gpio + +License: LGPL-3 + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/LGPL-3'. + +Files: * +Copyright: (C) 2019 Simon Stürz +License: LGPL-3 diff --git a/debian/libnymea-gpio-dev.install.in b/debian/libnymea-gpio-dev.install.in new file mode 100644 index 0000000..6be4c17 --- /dev/null +++ b/debian/libnymea-gpio-dev.install.in @@ -0,0 +1,3 @@ +usr/lib/@DEB_HOST_MULTIARCH@/libnymea-gpio.so +usr/include/libnymea-gpio/* usr/include/libnymea-gpio +usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig/libnymea-gpio.pc diff --git a/debian/libnymea-gpio.install.in b/debian/libnymea-gpio.install.in new file mode 100644 index 0000000..ecbcd05 --- /dev/null +++ b/debian/libnymea-gpio.install.in @@ -0,0 +1,3 @@ +usr/lib/@DEB_HOST_MULTIARCH@/libnymea-gpio.so.1 +usr/lib/@DEB_HOST_MULTIARCH@/libnymea-gpio.so.1.0 +usr/lib/@DEB_HOST_MULTIARCH@/libnymea-gpio.so.1.0.0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..50a3c52 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +PREPROCESS_FILES := $(wildcard debian/*.in) + +$(PREPROCESS_FILES:.in=): %: %.in + sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@ + +%: + dh $@ --buildsystem=qmake --parallel + +override_dh_install: $(PREPROCESS_FILES:.in=) + dh_install + +override_dh_strip: + dh_strip --dbg-package=libnymea-gpio-dbg + +override_dh_auto_clean: + dh_auto_clean + rm -rf $(PREPROCESS_FILES:.in=) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)