Add debian folder

pull/1/head
Simon Stürz 2019-09-04 11:59:34 +02:00
parent 40a3cb68fa
commit 5cf1f75a16
8 changed files with 85 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libnymea-gpio (0.1.0) bionic; urgency=medium
* Initial release.
-- Simon Stürz <simon.stuerz@nymea.io> Wed, 04 Sep 2019 11:50:53 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

39
debian/control vendored Normal file
View File

@ -0,0 +1,39 @@
Source: libnymea-gpio
Section: utils
Priority: optional
Maintainer: Simon Stürz <simon.stuerz@nymea.io>
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.

11
debian/copyright vendored Normal file
View File

@ -0,0 +1,11 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Author: Simon Stürz <simon.stuerz@nymea.io>
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 <simon.stuerz@nymea.io>
License: LGPL-3

3
debian/libnymea-gpio-dev.install.in vendored Normal file
View File

@ -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

3
debian/libnymea-gpio.install.in vendored Normal file
View File

@ -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

22
debian/rules vendored Executable file
View File

@ -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=)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)