From 978528c5128c5e7a85c9b9ef301787bdcfa5384d Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Mon, 8 Sep 2014 19:40:22 +0200 Subject: [PATCH] debian/docs added some cleanup in rules added myself as uploader (needed for siduction repo) --- debian/control | 48 +++++++++++++++++++++++++++++------------------- debian/copyright | 7 ++++--- debian/docs | 1 + debian/rules | 11 +++++++---- 4 files changed, 41 insertions(+), 26 deletions(-) create mode 100644 debian/docs diff --git a/debian/control b/debian/control index 3910324..d0986f6 100644 --- a/debian/control +++ b/debian/control @@ -1,51 +1,61 @@ Source: libqtxdg +Section: libs Priority: optional Maintainer: ChangZhuo Chen (陳昌倬) +Uploaders: Alf Gaida Build-Depends: - debhelper (>= 9), cmake, + debhelper (>= 9), libmagic-dev, + pkg-config, qtbase5-dev, qttools5-dev, - qttools5-dev-tools + qttools5-dev-tools, +# libegl1-mesa-dev is a workaround for a stupid qt 5.3.1 bug + libegl1-mesa-dev, Standards-Version: 3.9.5 -Section: libs Homepage: https://github.com/lxde/libqtxdg #Vcs-Git: git://anonscm.debian.org/collab-maint/libqtxdg.git #Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/libqtxdg.git;a=summary +Package: libqt5xdg1 +Provides: libqt5xdg +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Breaks: + libqt5xdg0, +Replaces: + libqt5xdg0, +Depends: + ${shlibs:Depends}, + ${misc:Depends}, +Description: Implementation of the XDG Specifications for Qt, libs + This library implements functions of the XDG Specifications in Qt. + . + It is part of LXQt. + Package: libqt5xdg-dev Section: libdevel Architecture: any Depends: + ${misc:Depends}, libqt5xdg1 (= ${binary:Version}), - ${misc:Depends} Description: Development files for libqtxdg - This library implements functions of the XDG Specifications in Qt. It is part - of LXQt. + This library implements functions of the XDG Specifications in Qt. + . + It is part of LXQt. . This package contains development files for libqtxdg. -Package: libqt5xdg1 -Provides: libqt5xdg -Multi-Arch: same -Pre-Depends: ${misc:Pre-Depends} -Architecture: any -Depends: - ${shlibs:Depends}, - ${misc:Depends} -Description: Implementation of the XDG Specifications for Qt, libs - This library implements functions of the XDG Specifications in Qt. It is part - of LXQt. - Package: libqt5xdg-dbg Section: debug Priority: extra Multi-Arch: same Architecture: any Depends: + ${misc:Depends}, libqt5xdg1 (= ${binary:Version}), - ${misc:Depends} Description: Debug symbols for libqtxdg This library implements functions of the XDG Specifications in Qt. It is part of LXQt. diff --git a/debian/copyright b/debian/copyright index b5f7e0c..c86ef02 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,8 +3,8 @@ Upstream-Name: libqtxdg Source: https://github.com/lxde/libqtxdg Files: * -Copyright: Copyright (c) 2010-2012 Razor team - Copyright (c) 2012-2014 LXQt team +Copyright: 2012-2014 LXQt team + 2010-2012 Razor team License: LGPL-2.1+ Files: qiconfix @@ -12,7 +12,8 @@ Copyright: Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). License: LGPL-2.1 or GPL-3 Files: debian/* -Copyright: 2014 ChangZhuo Chen (陳昌倬) +Copyright: 2014 ChangZhuo Chen (陳昌倬) + 2013-2014 Alf Gaida License: LGPL-2.1+ License: LGPL-2.1+ diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..62deb04 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +AUTHORS diff --git a/debian/rules b/debian/rules index b7f3889..5e83bba 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,14 @@ #!/usr/bin/make -f -#DH_VERBOSE = 1 +#export DH_VERBOSE = 1 +export USE_QT5=1 + %: - dh $@ + dh ${@} --buildsystem cmake --parallel + -override_dh_auto_configure: - dh_auto_configure -- -DUSE_QT5=yes +override_dh_install: + dh_install --list-missing --fail-missing override_dh_strip: dh_strip --dbg-package=libqt5xdg-dbg