Add debian
authorIceyer <me@iceyer.net>
Wed, 26 Jul 2017 09:00:46 +0000 (17:00 +0800)
committerIceyer <me@iceyer.net>
Wed, 26 Jul 2017 09:01:19 +0000 (17:01 +0800)
Change-Id: I37ecb597c3d659fb0c25958b8a11f68ddd844eab

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/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..eff5d3e
--- /dev/null
@@ -0,0 +1,5 @@
+dtkcore (0.1.1-0) unstable; urgency=low
+
+  * Initial release.
+
+ -- Iceyer <me@iceyer.net>  Wed, 26 Jul 2017 16:57:39 +0800
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..423c558
--- /dev/null
@@ -0,0 +1,24 @@
+Source: dtkcore
+Section: devel
+Priority: optional
+Maintainer: Deepin Sysdev <sysdev@deepin.com>
+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 (file)
index 0000000..bfa4a2d
--- /dev/null
@@ -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 <https://www.gnu.org/licenses/>
+ .
+ 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 (file)
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c9ac68c
--- /dev/null
@@ -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 (file)
index 0000000..89ae9db
--- /dev/null
@@ -0,0 +1 @@
+3.0 (native)