[SCM] libnm-qt packaging branch, master, updated. debian/0.9.0.1-1-11-gf6bb5bd
Maximiliano Curia
maxy at moszumanska.debian.org
Mon Mar 3 10:57:57 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/libnm-qt.git;a=commitdiff;h=81d0819
The following commit has been merged in the master branch:
commit 81d08199317017d447b16a347a26dc981c3f515e
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Mon Mar 3 11:34:01 2014 +0100
Add autopkgtests and acc info.
---
debian/changelog | 1 +
debian/libnetworkmanagerqt1.acc.in | 16 ++++++++++++++++
debian/rules | 10 ++++++++++
debian/tests/acc | 3 +++
debian/tests/control | 8 ++++++++
debian/tests/testsuite | 3 +++
6 files changed, 41 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c8cd8a8..530e409 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libnm-qt (0.9.8.1-1) UNRELEASED; urgency=medium
* Update build dependencies.
* New patch: do_not_override_cflags
* Import kubuntus soversion bump.
+ * Add autopkgtests and acc info.
-- Maximiliano Curia <maxy at debian.org> Mon, 03 Mar 2014 10:42:56 +0100
diff --git a/debian/libnetworkmanagerqt1.acc.in b/debian/libnetworkmanagerqt1.acc.in
new file mode 100644
index 0000000..4277c45
--- /dev/null
+++ b/debian/libnetworkmanagerqt1.acc.in
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 0.9.8.1
+</version>
+
+<headers>
+ /usr/include/NetworkManagerQt
+</headers>
+
+<libs>
+ /usr/lib/@DEB_HOST_MULTIARCH@/libNetworkManagerQt.so
+</libs>
+
+</descriptor>
diff --git a/debian/rules b/debian/rules
index 9009329..d19903a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,13 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_configure:
dh_auto_configure -- -DLIB_DESTINATION=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+run_dh_acc:
+ # The package needs to be installed (@ in autopkgtest)
+ for in_file in debian/*.acc.in; do \
+ out_file=$${in_file%.in}; \
+ sed 's/@DEB_HOST_MULTIARCH@/'"$(DEB_HOST_MULTIARCH)"'/' \
+ "$${in_file}" > "$${out_file}"; \
+ done
+
+ dh_acc
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..1235dcc
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+debian/rules run_dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..dd0d6bc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,8 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential
+Restrictions: build-needed
+
+Tests: acc
+Depends: @,
+ dh-acc, exuberant-ctags
+Restrictions: rw-build-tree
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..dabe645
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_auto_test
--
libnm-qt packaging
More information about the pkg-kde-commits
mailing list