summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorKibum Kim <kb0929.kim@samsung.com>2012-01-07 00:42:28 +0900
committerKibum Kim <kb0929.kim@samsung.com>2012-01-07 00:42:28 +0900
commite93016a0de86005a0534acf88877d0d4ff69aa32 (patch)
tree71986e2788d5b625836abc103b5effb612428729 /debian
parente0ca36eef24c43274d4a5375cd492c0cdcbec878 (diff)
downloadconnection-e93016a0de86005a0534acf88877d0d4ff69aa32.tar.gz
connection-e93016a0de86005a0534acf88877d0d4ff69aa32.tar.bz2
connection-e93016a0de86005a0534acf88877d0d4ff69aa32.zip
Git init
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/changelog13
-rw-r--r--debian/compat1
-rw-r--r--debian/control21
-rwxr-xr-xdebian/rules65
8 files changed, 107 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..db4f9ea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,13 @@
+capi-network-connection (0.1.0-13) unstable; urgency=low
+
+ * Update version
+ * Git: api/connection
+ * Tag: capi-network-connection_0.1.0-13
+
+ -- Sanjeev BA <as2902.b@samsung.com> Thu, 15 Dec 2011 13:30:49 +0900
+
+capi-network-connection (0.0.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Sanjeev BA <as2902.b@samsung.com> Wed, 07 Dec 2011 13:03:56 +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..1ccdf31
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: capi-network-connection
+Section: libs
+Priority: extra
+Maintainer: Sanjeev BA <as2902.b@samsung.com>
+Build-Depends: debhelper (>= 5),dlog-dev, capi-base-common-dev, libvconf-dev
+
+Package: capi-network-connection
+Architecture: any
+Depends: ${shilbs: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})
+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..06ff135
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+
+CFLAGS = -Wall -g
+
+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 ..
+ 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
+