summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:10:23 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:10:23 +0900
commit194935441a8a3221c2a59f1bb6996f4d3ebffac5 (patch)
tree92cc1d20ee9a4febf8bade1a98b9ba223d4a2bbf /debian
parente0ca36eef24c43274d4a5375cd492c0cdcbec878 (diff)
downloadconnection-tizen_2.0.tar.gz
connection-tizen_2.0.tar.bz2
connection-tizen_2.0.zip
Diffstat (limited to 'debian')
-rw-r--r--debian/capi-network-connection-dev.install4
-rw-r--r--debian/capi-network-connection-dev.postinst1
-rw-r--r--debian/capi-network-connection.install1
-rw-r--r--debian/capi-network-connection.postinst1
-rw-r--r--debian/changelog490
-rw-r--r--debian/compat1
-rw-r--r--debian/control21
-rwxr-xr-xdebian/rules67
8 files changed, 586 insertions, 0 deletions
diff --git a/debian/capi-network-connection-dev.install b/debian/capi-network-connection-dev.install
new file mode 100644
index 0000000..761a28b
--- /dev/null
+++ b/debian/capi-network-connection-dev.install
@@ -0,0 +1,4 @@
+/usr/include/*
+/usr/include/*/*
+/usr/lib/pkgconfig/*.pc
+
diff --git a/debian/capi-network-connection-dev.postinst b/debian/capi-network-connection-dev.postinst
new file mode 100644
index 0000000..1a24852
--- /dev/null
+++ b/debian/capi-network-connection-dev.postinst
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/debian/capi-network-connection.install b/debian/capi-network-connection.install
new file mode 100644
index 0000000..4a755a4
--- /dev/null
+++ b/debian/capi-network-connection.install
@@ -0,0 +1 @@
+/usr/lib/lib*.so*
diff --git a/debian/capi-network-connection.postinst b/debian/capi-network-connection.postinst
new file mode 100644
index 0000000..1a24852
--- /dev/null
+++ b/debian/capi-network-connection.postinst
@@ -0,0 +1 @@
+#!/bin/sh
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5a5b10c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,490 @@
+capi-network-connection (0.1.3-12) unstable; urgency=low
+
+ * Check return value of read()
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-12
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Thu, 24 Jan 2013 20:14:09 +0900
+
+capi-network-connection (0.1.3-11) unstable; urgency=low
+
+ * Revise connection_profile_is_wifi_passphrase_required() to fit connman 1.3
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-11
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Wed, 16 Jan 2013 18:44:18 +0900
+
+capi-network-connection (0.1.3-10) unstable; urgency=low
+
+ * Revise connection_profile_get_proxy_address() to support ethernet proxy
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-10
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 15 Jan 2013 20:34:31 +0900
+
+capi-network-connection (0.1.3-9) unstable; urgency=low
+
+ * Support additional vconf keys for ethernet/bluetooth
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-9
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 15 Jan 2013 19:15:37 +0900
+
+capi-network-connection (0.1.3-8) unstable; urgency=low
+
+ * Use libnet-client API instead of vconf value to get Wi-Fi state in connection_get_wifi_state() API
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-8
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Mon, 14 Jan 2013 23:23:03 +0900
+
+capi-network-connection (0.1.3-7) unstable; urgency=low
+
+ * Revise connection_profile_get_cellular_network_type() because connman doesn't provide this information anymore
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-7
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 04 Jan 2013 16:05:28 +0900
+
+capi-network-connection (0.1.3-6) unstable; urgency=low
+
+ * Add connection_profile_get_id()
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-6
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Thu, 03 Jan 2013 20:36:29 +0900
+
+capi-network-connection (0.1.3-5) unstable; urgency=low
+
+ * In case of setting IP address, Gateway, Subnet and proxy, it is allowed that a value is set to NULL.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-5
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Wed, 02 Jan 2013 11:33:58 +0900
+
+capi-network-connection (0.1.3-4) unstable; urgency=low
+
+ * Checking return value and strict nul-terminated buffer
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-4
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Tue, 13 Nov 2012 11:45:41 +0900
+
+capi-network-connection (0.1.3-2) unstable; urgency=low
+
+ * Revise connection_get_cellular_state() to support connected state
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-2
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 02 Nov 2012 20:23:04 +0900
+
+capi-network-connection (0.1.3-1) unstable; urgency=low
+
+ * Add bluetooth support
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.3-1
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Thu, 25 Oct 2012 14:30:14 +0900
+
+capi-network-connection (0.1.2-4) unstable; urgency=low
+
+ * Update UTC
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.2-4
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Mon, 15 Oct 2012 21:10:09 +0900
+
+capi-network-connection (0.1.2-3) unstable; urgency=low
+
+ * Add connection_add_route()
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.2-3
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 12 Oct 2012 20:13:52 +0900
+
+capi-network-connection (0.1.2-2) unstable; urgency=low
+
+ * Install license
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.2-2
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Thu, 11 Oct 2012 18:09:07 +0900
+
+capi-network-connection (0.1.2-1) unstable; urgency=low
+
+ * Extend some APIs to fit requirements from setting and tethering
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.2-1
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Thu, 27 Sep 2012 16:30:42 +0900
+
+capi-network-connection (0.1.1-12) unstable; urgency=low
+
+ * update manifest
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-12
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Fri, 21 Sep 2012 15:38:33 +0900
+
+capi-network-connection (0.1.1-11) unstable; urgency=low
+
+ * Use static mutex initializer to avoid runtime initialization tests and overhead
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-11
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 07 Sep 2012 11:21:04 +0900
+
+capi-network-connection (0.1.1-10) unstable; urgency=low
+
+ * Update UTC
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-10
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 04 Sep 2012 16:52:06 +0900
+
+capi-network-connection (0.1.1-9) unstable; urgency=low
+
+ * Remove deprecated APIs
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-9
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 03 Aug 2012 16:51:25 +0900
+
+capi-network-connection (0.1.1-8) unstable; urgency=low
+
+ * Modify connection_create() and connection_destroy() API to assure thread safety
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-8
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 27 Jul 2012 12:36:54 +0900
+
+capi-network-connection (0.1.1-7) unstable; urgency=low
+
+ * Modify set/get statistics API to support dbus interface of net-config
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-7
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 06 Jul 2012 18:13:11 +0900
+
+capi-network-connection (0.1.1-6) unstable; urgency=low
+
+ * Modify connection_reset_statistics() to avoid vconf permission error
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-6
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Wed, 27 Jun 2012 19:06:32 +0900
+
+capi-network-connection (0.1.1-5) unstable; urgency=low
+
+ * Update TC
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-5
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 12 Jun 2012 18:49:08 +0900
+
+capi-network-connection (0.1.1-4) unstable; urgency=low
+
+ * Add profile initialization functions for user creation
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-4
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 12 Jun 2012 17:17:00 +0900
+
+capi-network-connection (0.1.1-3) unstable; urgency=low
+
+ * Implementation of connection_reset_statistics()
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-3
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 12 Jun 2012 16:34:52 +0900
+
+capi-network-connection (0.1.1-2) unstable; urgency=low
+
+ * Implementation of extened APIs again
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-2
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 29 May 2012 17:00:36 +0900
+
+capi-network-connection (0.1.1-1) unstable; urgency=low
+
+ * Rollback to capi-network-connection_0.1.0-23
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-1
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Wed, 23 May 2012 20:56:07 +0900
+
+capi-network-connection (0.1.1-0) unstable; urgency=low
+
+ * Implementation of extened APIs
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.1-0
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 18 May 2012 14:57:49 +0900
+
+capi-network-connection (0.1.0-23) unstable; urgency=low
+
+ * Fix a bug which don't set user data in proxy callback setter
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-23
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Mon, 16 Apr 2012 12:02:47 +0900
+
+capi-network-connection (0.1.0-22) unstable; urgency=low
+
+ * Fix connection destroy bug
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-22
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Mon, 09 Apr 2012 20:54:57 +0900
+
+capi-network-connection (0.1.0-21) unstable; urgency=low
+
+ * Add ipv6 feature and update DTS code
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-21
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 30 Mar 2012 18:15:20 +0900
+
+capi-network-connection (0.1.0-20) unstable; urgency=low
+
+ * Update DTS code
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-20
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 20 Mar 2012 16:08:10 +0900
+
+capi-network-connection (0.1.0-19) unstable; urgency=low
+
+ * Revise spec for OBS
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-19
+
+ -- Danny Jeongseok Seo <s.seo@samsung.com> Sat, 17 Mar 2012 18:31:44 +0900
+
+capi-network-connection (0.1.0-18) unstable; urgency=low
+
+ * Implementation of new APIs and TC code
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-18
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Fri, 16 Mar 2012 18:46:37 +0900
+
+capi-network-connection (0.1.0-17) unstable; urgency=low
+
+ * Convert internal function to static function
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-17
+
+ -- ByungWoo Lee <bw1212.lee@samsung.com> Mon, 20 Feb 2012 17:55:42 +0900
+
+capi-network-connection (0.1.0-16) unstable; urgency=low
+
+ * Add versioning of library
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-16
+
+ -- ByungWoo Lee <bw1212.lee@samsung.com> Tue, 14 Feb 2012 17:23:56 +0900
+
+capi-network-connection (0.1.0-15) unstable; urgency=low
+
+ * Fix bugs and related DTS
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-15
+
+ -- JaeHyun Kim <jeik01.kim@samsung.com> Tue, 07 Feb 2012 19:09:07 +0900
+
+capi-network-connection (0.1.0-14) unstable; urgency=low
+
+ * Update DTS
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-14
+
+ -- ByungWoo Lee <bw1212.lee@samsung.com> Fri, 27 Jan 2012 18:18:29 +0900
+
+capi-network-connection (0.1.0-13) unstable; urgency=low
+
+ * License and Boilerplate update.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-13
+
+ -- Sanjeev BA <as2902.b@samsung.com> Tue, 06 Dec 2011 18:48:48 +0900
+
+capi-network-connection (0.1.0-12) unstable; urgency=low
+
+ * Bump up version.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-12
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 01 Dec 2011 19:40:16 +0900
+
+capi-network-connection (0.1.0-11) unstable; urgency=low
+
+ * Add data connection statistics.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-11
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 01 Dec 2011 19:18:24 +0900
+
+capi-network-connection (0.1.0-10) unstable; urgency=low
+
+ * Cleanup of vconf notifications.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-10
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 01 Dec 2011 11:08:59 +0900
+
+capi-network-connection (0.1.0-9) unstable; urgency=low
+
+ * Renaming for tizen.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-9
+
+ -- Sanjeev BA <as2902.b@samsung.com> Wed, 30 Nov 2011 15:10:59 +0900
+
+capi-network-connection (0.1.0-8) unstable; urgency=low
+
+ * Renaming for tizen.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-8
+
+ -- Sanjeev BA <as2902.b@samsung.com> Wed, 23 Nov 2011 15:07:23 +0900
+
+capi-network-connection (0.1.0-7) unstable; urgency=low
+
+ * Correct status updates.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-7
+
+ -- Sanjeev BA <as2902.b@samsung.com> Wed, 23 Nov 2011 13:46:23 +0900
+
+capi-network-connection (0.1.0-6) unstable; urgency=low
+
+ * Correct status updates.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-6
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 17 Nov 2011 15:10:55 +0900
+
+capi-network-connection (0.1.0-5) unstable; urgency=low
+
+ * Correct status updates.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-5
+
+ -- Sanjeev BA <as2902.b@samsung.com> Fri, 04 Nov 2011 17:55:49 +0900
+
+capi-network-connection (0.1.0-4) unstable; urgency=low
+
+ * Fix boilerplate.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-4
+
+ -- Sanjeev BA <as2902.b@samsung.com> Fri, 04 Nov 2011 11:22:10 +0900
+
+capi-network-connection (0.1.0-3) unstable; urgency=low
+
+ * Fix doxygen comments.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-3
+
+ -- Sanjeev BA <as2902.b@samsung.com> Mon, 31 Oct 2011 20:13:02 +0900
+
+capi-network-connection (0.1.0-2) unstable; urgency=low
+
+ * Add new mappings between vconf and connection_network_param_e.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-2
+
+ -- Sanjeev BA <as2902.b@samsung.com> Fri, 14 Oct 2011 19:37:05 +0900
+
+capi-network-connection (0.1.0-1) unstable; urgency=low
+
+ * Alpha Release
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.1.0-1
+
+ -- Kangho Hur <kangho.hur@samsung.com> Tue, 27 Sep 2011 20:35:08 +0900
+
+capi-network-connection (0.0.1-11) unstable; urgency=low
+
+ * Fix build error from sbs using (sbs --clean-build).
+ * Updated debian/control file to add build depedency.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-11
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 08 Sep 2011 17:36:05 +0900
+
+capi-network-connection (0.0.1-10) unstable; urgency=low
+
+ * Fix as per new libnetwork API.
+ * remove dnet dependency, use only vconf.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-10
+
+ -- Sanjeev BA <as2902.b@samsung.com> Wed, 07 Sep 2011 14:19:30 +0900
+
+capi-network-connection (0.0.1-9) unstable; urgency=low
+
+ * Add param_name to callbacks. Will help apps identify what has changed.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-9
+
+ -- Sanjeev BA <as2902.b@samsung.com> Fri, 02 Sep 2011 10:20:09 +0900
+
+capi-network-connection (0.0.1-8) unstable; urgency=low
+
+ * Cleanup unused code. Fix documentation.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-8
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 01 Sep 2011 20:03:11 +0900
+
+capi-network-connection (0.0.1-7) unstable; urgency=low
+
+ * Fix handles.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-7
+
+
+ -- Sanjeev BA <as2902.b@samsung.com> Mon, 22 Aug 2011 14:31:53 +0900
+
+capi-network-connection (0.0.1-6) unstable; urgency=low
+
+ * Fix handles.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-6
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 18 Aug 2011 09:50:20 +0900
+
+capi-network-connection (0.0.1-5) unstable; urgency=low
+
+ * Fix debain packaging issue.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-5
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 11 Aug 2011 19:28:50 +0900
+
+capi-network-connection (0.0.1-4) unstable; urgency=low
+
+ * Fix regression test case that was never used before.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-4
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 04 Aug 2011 19:04:04 +0900
+
+capi-network-connection (0.0.1-3) unstable; urgency=low
+
+ * Add missing pc.in file.
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-3
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 04 Aug 2011 18:04:33 +0900
+
+capi-network-connection (0.0.1-2) unstable; urgency=low
+
+ * Initial Upload
+ * Git: framework/api/connection
+ * Tag: capi-network-connection_0.0.1-2
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 04 Aug 2011 17:32:41 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..085178b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: capi-network-connection
+Section: libs
+Priority: extra
+Maintainer: JaeHyun Kim <jeik01.kim@samsung.com>
+Build-Depends: debhelper (>= 5), dlog-dev, capi-base-common-dev, libvconf-dev, libglib2.0-dev, libdbus-glib-1-dev, libnetwork-dev
+
+Package: capi-network-connection
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Network Connection library in TIZEN C API
+
+Package: capi-network-connection-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, capi-network-connection (= ${Source-Version}), capi-base-common-dev
+Description: Network Connection library in TIZEN C API (DEV)
+
+Package: capi-network-connection-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, capi-network-connection (= ${Source-Version})
+Description: Network Connection library in TIZEN C API (DBG)
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..678a339
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,67 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
+MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+CMAKE_ROOT_DIR ?= $(CURDIR)
+CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER}
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+ cd $(CMAKE_BUILD_DIR) && $(MAKE)
+ touch $@
+
+clean:
+ cd $(CMAKE_ROOT_DIR)
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ rm -f `find . -name *.pc`
+ rm -rf $(CMAKE_BUILD_DIR)
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install --sourcedir=debian/tmp
+ dh_installman
+ dh_link
+ dh_strip --dbg-package=capi-network-connection-dbg
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+