From 9fefc50e68b24cb6309db110d023512b86cbba8c Mon Sep 17 00:00:00 2001 From: Iceyer Date: Wed, 26 Jul 2017 17:00:46 +0800 Subject: [PATCH] Add debian Change-Id: I37ecb597c3d659fb0c25958b8a11f68ddd844eab --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 24 ++++++++++++++++++++++++ debian/copyright | 22 ++++++++++++++++++++++ debian/docs | 0 debian/rules | 13 +++++++++++++ debian/source/format | 1 + 7 files changed, 66 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..eff5d3e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +dtkcore (0.1.1-0) unstable; urgency=low + + * Initial release. + + -- Iceyer Wed, 26 Jul 2017 16:57:39 +0800 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..423c558 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: dtkcore +Section: devel +Priority: optional +Maintainer: Deepin Sysdev +Build-Depends: debhelper (>= 9), qt5-default, pkg-config, + qttools5-dev-tools, qtbase5-private-dev +Standards-Version: 3.9.6 + +Package: libdtkcore +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Description: Deepin Tool Kit Core library + DtkCore is base library of Deepin Qt/C++ applications. + . + This package contains the shared libraries. + +Package: libdtkcore-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libdtkcore( =${binary:Version}) +Description: Deepin Tool Kit Core Devel library + DtkCore is base devel library of Deepin Qt/C++ applications. + . + This package contains the header files and static libraries of DtkCore diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bfa4a2d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: deepin-tool-kit +Source: https://github.com/linuxdeepin/deepin-tool-kit + +Files: * +Copyright: Deepin Technology Co., Ltd. +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e69de29 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c9ac68c --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk +export QT_SELECT = qt5 +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +%: + dh $@ --parallel + +override_dh_auto_configure: + dh_auto_configure -- LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) + +override_dh_makeshlibs: + dh_makeshlibs -V 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)