summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-06-27 05:34:26 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-06-27 09:58:22 -0400
commit5e34dcdb3fd43879dd05ee332a713e16b8601118 (patch)
tree052891e3c63d779cf755bc2cfa52c6e5d60ceba9
parente1566748762ef146b25605c0d10165fbcce97d6e (diff)
downloadlibslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.tar.gz
libslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.tar.bz2
libslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.zip
- remove debian packaging - reset file permissions in source tree - clean up spec layout - Do not create directories in %post Change-Id: I7f097c1017b6b76b74fb37c7ec00c5e40488448d Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r--[-rwxr-xr-x]AUTHORS0
-rw-r--r--[-rwxr-xr-x]CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]LICENSE0
-rw-r--r--[-rwxr-xr-x]collation.c0
-rwxr-xr-xdebian/changelog359
-rw-r--r--debian/compat1
-rwxr-xr-xdebian/control25
-rw-r--r--debian/dirs2
-rw-r--r--debian/docs1
-rw-r--r--debian/libslp-db-util-0.install.in1
-rw-r--r--debian/libslp-db-util-0.postinst.in13
-rw-r--r--debian/libslp-db-util-dev.install.in3
-rwxr-xr-xdebian/rules120
-rw-r--r--[-rwxr-xr-x]include/collation.h0
-rw-r--r--[-rwxr-xr-x]include/db-util-common.h0
-rw-r--r--[-rwxr-xr-x]include/db-util-debug.h0
-rw-r--r--[-rwxr-xr-x]include/db-util.h0
-rw-r--r--[-rwxr-xr-x]include/util-func.h0
-rw-r--r--packaging/libslp-db-util.changes3
-rwxr-xr-xpackaging/libslp-db-util.spec53
-rw-r--r--[-rwxr-xr-x]util_func.c0
21 files changed, 20 insertions, 561 deletions
diff --git a/AUTHORS b/AUTHORS
index 058627b..058627b 100755..100644
--- a/AUTHORS
+++ b/AUTHORS
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eb292f3..eb292f3 100755..100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
diff --git a/LICENSE b/LICENSE
index 9c13a9b..9c13a9b 100755..100644
--- a/LICENSE
+++ b/LICENSE
diff --git a/collation.c b/collation.c
index 5b38fb5..5b38fb5 100755..100644
--- a/collation.c
+++ b/collation.c
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100755
index 3635448..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,359 +0,0 @@
-libslp-db-util (0.1.0-52) unstable; urgency=low
-
- * disable return err for collation function
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-52
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Tue, 5 Jun 2012 19:00:37 +0900
-
-libslp-db-util (0.1.0-51) unstable; urgency=low
-
- * match spec file for obs
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-51
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Mon, 28 May 2012 11:00:37 +0900
-
-libslp-db-util (0.1.0-50) unstable; urgency=low
-
- * add collation api
- * set localized collator at db_util_open api
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-50
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Sun, 27 May 2012 17:00:37 +0900
-
-libslp-db-util (0.1.0-49) unstable; urgency=low
-
- * add export api define
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-49
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Thu, 15 Mar 2012 20:00:37 +0900
-
-libslp-db-util (0.1.0-48) unstable; urgency=low
-
- * remove unused apis and header file
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-48
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Thu, 15 Mar 2012 17:00:37 +0900
-
-libslp-db-util (0.1.0-47) unstable; urgency=low
-
- * deprecate unused apis
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-47
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Mon, 12 Mar 2012 16:40:37 +0900
-
-libslp-db-util (0.1.0-46) unstable; urgency=low
-
- * add TC files
- * insert code to check input param
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-46
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Wed, 15 Feb 2012 14:40:37 +0900
-
-libslp-db-util (0.1.0-45) unstable; urgency=low
-
- * remove unnecessary files
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-45
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Fri, 02 Dec 2011 16:40:37 +0900
-
-libslp-db-util (0.1.0-44) unstable; urgency=low
-
- * change busy handler time loop logic
- * disable change journal mode option
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-44
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Tue, 15 Nov 2011 17:40:37 +0900
-
-libslp-db-util (0.1.0-43) unstable; urgency=low
-
- * change busy handler time from 100ms to 1.5s
- * disable change journal mode option
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-43
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Thu, 11 Nov 2011 17:40:37 +0900
-
-libslp-db-util (0.1.0-42) unstable; urgency=low
-
- * change boilerplate
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-42
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Thu, 3 Nov 2011 17:40:37 +0900
-
-libslp-db-util (0.1.0-41) unstable; urgency=low
-
- * apply indent & checkpath
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-41
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Tue, 26 May 2011 17:40:37 +0900
-
-libslp-db-util (0.1.0-40) unstable; urgency=low
-
- * edit boilerplate
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-40
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Wed, 13 May 2011 17:40:37 +0900
-
-libslp-db-util (0.1.0-39) unstable; urgency=low
-
- * add boilerplate to code
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-39
-
- -- Hyungdeuk Kim <hd3.kim@samsung.com> Wed, 13 May 2011 16:40:37 +0900
-
-libslp-db-util (0.1.0-38) unstable; urgency=low
-
- * change the procedure for db conection
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-38
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Wed, 04 May 2011 10:40:37 +0900
-
-libslp-db-util (0.1.0-37) unstable; urgency=low
-
- * change == to =
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-37
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Wed, 15 Dec 2010 10:18:37 +0900
-
-libslp-db-util (0.1.0-36) unstable; urgency=low
-
- * modify postinst
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-36
-
- -- Jinkun.jang <jinkun.jang@samsung.com> Wed, 08 Dec 2010 20:04:32 +0900
-
-libslp-db-util (0.1.0-35) unstable; urgency=low
-
- * add postinst
- * Git: 165.213.180.234:slp/pkgs/l/libslp-db-util
- * Tag: libslp-db-util_0.1.0-35
-
- -- Jinkun.jang <jinkun.jang@samsung.com> Wed, 08 Dec 2010 19:00:58 +0900
-
-libslp-db-util (0.1.0-34) unstable; urgency=low
-
- * add dependency for SQLite3 command package
- * Git: 165.213.180.234:/git/slp/pkgs/libslp-db-util
- * Tag: libslp-db-util_0.1.0-34
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Fri, 12 Nov 2010 10:20:03 +0900
-
-libslp-db-util (0.1.0-33) unstable; urgency=low
-
- * add copyright
- * Git: 165.213.180.234:/git/slp/pkgs/libslp-db-util
- * Tag: libslp-db-util_0.1.0-33
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Wed, 27 Oct 2010 13:49:59 +0900
-
-libslp-db-util (0.1.0-32) unstable; urgency=low
-
- * modified CMakeLists.txt for renaming so files
- * Git: 165.213.180.234:/git/slp/pkgs/libslp-db-util
- * Tag: libslp-db-util_0.1.0-32
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Thu, 21 Oct 2010 15:52:46 +0900
-
-libslp-db-util (0.1.0-31) unstable; urgency=low
-
- * remove lucene trriger
- * Git: 165.213.180.234:/git/slp/pkgs/libslp-db-util
- * Tag: libslp-db-util_0.1.0-31
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Mon, 30 Aug 2010 16:01:53 +0900
-
-libslp-db-util (0.1.0-30) unstable; urgency=low
-
- * remove @internal tag from header files
- * Git: 165.213.180.234:/git/slp/pkgs/libslp-db-util
- * Tag: libslp-db-util_0.1.0-30
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Thu, 22 Jul 2010 20:04:15 +0900
-
-libslp-db-util (0.1.0-29) unstable; urgency=low
-
- * modify debian control file for "XB-Public-Package: no"
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-29
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Mon, 12 Jul 2010 14:50:52 +0900
-
-libslp-db-util (0.1.0-28) unstable; urgency=low
-
- * add maintainer
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-28
-
- -- Jinkun Jang <jinkun.jang@samsung.com> Thu, 08 Jul 2010 15:41:29 +0900
-
-libslp-db-util (0.1.0-27) unstable; urgency=low
-
- * move header files to /usr/include/db-util
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-27
-
- -- jinkun.jang <jinkun.jang@samsung.com> Thu, 17 Jun 2010 12:59:35 +0900
-
-libslp-db-util (0.1.0-26) unstable; urgency=low
-
- * modify db-util.pc for dependency information
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-26
-
- -- jinkun.jang <jinkun.jang@samsung.com> Tue, 01 Jun 2010 20:57:04 +0900
-
-libslp-db-util (0.1.0-25) unstable; urgency=low
-
- * add samsung copyright
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-25
-
- -- jinkun.jang <jinkun.jang@samsung.com> Thu, 27 May 2010 12:39:42 +0900
-
-libslp-db-util (0.1.0-24) unstable; urgency=low
-
- * remove libslp-db-util-0.postinst for file owner & permission
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-24
-
- -- jinkun.jang <jinkun.jang@samsung.com> Tue, 11 May 2010 11:27:33 +0900
-
-libslp-db-util (0.1.0-23) unstable; urgency=low
-
- * add libslp-db-util-0.postinst for file owner & permission
- * add EXPORT_API for db_util_open_with_options()
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-23
-
- -- jinkun.jang <jinkun.jang@samsung.com> Thu, 15 Apr 2010 09:22:41 +0900
-
-libslp-db-util (0.1.0-22) unstable; urgency=low
-
- * add db_util_open_with_options() interface for sqlite3_open_v2()
- * add SET_TARGET_PROPERTIES()
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-22
-
- -- jinkun.jang <jinkun.jang@samsung.com> Tue, 13 Apr 2010 09:01:01 +0900
-
-libslp-db-util (0.1.0-21) unstable; urgency=low
-
- * modify header files for c++ guard & hardcoded constants
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-21
-
- -- jinkun.jang <jinkun.jang@samsung.com> Tue, 06 Apr 2010 11:18:18 +0900
-
-libslp-db-util (0.1.0-20) unstable; urgency=low
-
- * remove DOS style lin endings
- * Git: 165.213.180.234:/git/slp2.0/slp2.0-pkgs/libslp-db-util-0
- * Tag: libslp-db-util_0.1.0-20
-
- -- jinkun.jang <jinkun.jang@samsung.com> Mon, 05 Apr 2010 14:03:35 +0900
-
-libslp-db-util (0.1.0-19) unstable; urgency=low
-
- * upgrade toochain
-
- -- jinkun.jang <jinkun.jang@samsung.com> Thu, 25 Mar 2010 15:48:13 +0900
-
-libslp-db-util (0.1.0-18) unstable; urgency=low
-
- * add Busy handler for db_util_open()
-
- -- jinkun.jang <jinkun.jang@samsung.com> Mon, 08 Mar 2010 17:09:31 +0900
-
-libslp-db-util (0.1.0-17) unstable; urgency=low
-
- * chage section from non-free to main
-
- -- jinkun.jang <jinkun.jang@samsung.com> Mon, 08 Mar 2010 09:25:38 +0900
-
-libslp-db-util (0.1.0-16) unstable; urgency=low
-
- * change section to non-free
-
- -- jinkun.jang <jinkun.jang@samsung.com> Fri, 26 Feb 2010 10:57:46 +0900
-
-libslp-db-util (0.1.0-15) unstable; urgency=low
-
- * add '\0' to last character of _szDBPath in util_func.c
-
- -- jinkun.jang <jinkun.jang@samsung.com> Tue, 23 Feb 2010 21:10:20 +0900
-
-libslp-db-util (0.1.0-14) unstable; urgency=low
-
- * Enable PERSIST journal mode
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Wed, 3 Feb 2010 19:37:24 +0900
-
-libslp-db-util (0.1.0-13) unstable; urgency=low
-
- * Add lucene-index-trigger function
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Tue, 2 Feb 2010 20:37:24 +0900
-
-libslp-db-util (0.1.0-12) unstable; urgency=low
-
- * Add Doxygen comments
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Tue, 2 Feb 2010 16:37:24 +0900
-
-libslp-db-util (0.1.0-11) unstable; urgency=low
-
- * Modify control file for dependency with other package
-
- -- jinkun jang <jinkun.jang@samsung.com> Wed, 27 Jan 2010 14:37:24 +0900
-
-libslp-db-util (0.1.0-10) unstable; urgency=low
-
- * Modify db_util_close() function
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Wed, 27 Jan 2010 10:00:51 +0900
-
-libslp-db-util (0.1.0-9) unstable; urgency=low
-
- * PC file changed from SLP-db-util.pc to db-util.pc
-
- -- jinkun jang <jinkun.jang@samsung.com> Tue, 26 Jan 2010 18:33:51 +0900
-
-libslp-db-util (0.1.0-4) unstable; urgency=low
-
- * Add debug package
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Thu, 21 Dec 2009 12:00:03 +0900
-
-libslp-db-util (0.1.0-3) unstable; urgency=low
-
- * Add db_util_open() and db_util_close()
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Wen, 20 Dec 2009 17:22:03 +0900
-
-libslp-db-util (0.1.0-2) unstable; urgency=low
-
- * Rollbacked.
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Thur, 19 Dec 2009 10:22:03 +0900
-
-libslp-db-util (0.1.0) unstable; urgency=low
-
- * Initial Release.
-
- -- Sangjung Woo <sangjung.woo@samsung.com> Thur, 10 Dec 2009 10:22:03 +0900
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100755
index 298c924..0000000
--- a/debian/control
+++ /dev/null
@@ -1,25 +0,0 @@
-Source: libslp-db-util
-Section: main
-Priority: optional
-Maintainer: Hyungdeuk Kim <hd3.kim@samsung.com> Hakjoo ko <hakjoo.ko@samsung.com>
-Uploaders: Hyungdeuk Kim <hd3.kim.@smasung.com> Hakjoo Ko <hakjoo.ko@samsung.com>
-Build-Depends: debhelper (>= 5), autotools-dev, libsqlite3-dev, dlog-dev, libglib2.0-dev, libicu-dev
-Standards-Version: 0.1.0
-
-Package: libslp-db-util-dev
-Section: main
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libslp-db-util-0 (= ${Source-Version}), libsqlite3-dev, dlog-dev, libglib2.0-dev, libicu-dev
-Description: libslp-db-util-dev package
-
-Package: libslp-db-util-0
-Section: main
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libsqlite3-0, sqlite3, libdlog-0, libglib2.0-0
-Description: libslp-db-util package
-
-Package: libslp-db-util-dbg
-Section: main
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libslp-db-util-0 (= ${Source-Version})
-Description: libslp-db-util debug package (unstripped)
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index ca882bb..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index a0f0008..0000000
--- a/debian/docs
+++ /dev/null
@@ -1 +0,0 @@
-CMakeLists.txt
diff --git a/debian/libslp-db-util-0.install.in b/debian/libslp-db-util-0.install.in
deleted file mode 100644
index bf766f0..0000000
--- a/debian/libslp-db-util-0.install.in
+++ /dev/null
@@ -1 +0,0 @@
-@PREFIX@/lib/*.so*
diff --git a/debian/libslp-db-util-0.postinst.in b/debian/libslp-db-util-0.postinst.in
deleted file mode 100644
index d932e61..0000000
--- a/debian/libslp-db-util-0.postinst.in
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ ! -d /opt/dbspace ]
-then
- mkdir -p /opt/dbspace
-fi
-
-if [ ${USER} = "root" ]
-then
- chown :5000 /opt/dbspace
-fi
-chmod 775 /opt/dbspace
-
diff --git a/debian/libslp-db-util-dev.install.in b/debian/libslp-db-util-dev.install.in
deleted file mode 100644
index 2a4ce74..0000000
--- a/debian/libslp-db-util-dev.install.in
+++ /dev/null
@@ -1,3 +0,0 @@
-@PREFIX@/include/*
-@PREFIX@/lib/pkgconfig/*.pc
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index ad831a0..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-CFLAGS ?= -Wall -g
-CXXFLAGS ?= -Wall -g
-LDFLAGS ?=
-PREFIX ?= /usr
-DATADIR ?= /opt
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
- CXXFLAGS += -O0
-else
- CFLAGS += -O2
- CXXFLAGS += -O2
-endif
-
-LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" cmake . -DCMAKE_INSTALL_PREFIX=$(PREFIX)
-
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/wavplayer.sgml > wavplayer.1
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- cat $$f > $${f%.in}; \
- sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
- sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
- done
-
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
- rm -rf CMakeCache.txt
- rm -rf CMakeFiles
- rm -rf cmake_install.cmake
- rm -rf Makefile
- rm -rf install_manifest.txt
- rm -rf *.so
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- rm -f $${f%.in}; \
- done
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- # Add here commands to install the package into debian/wavplayer.
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-# dh_installchangelogs
-# dh_installdocs
- dh_installexamples
- dh_install --sourcedir=debian/tmp
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip --dbg-package=libslp-db-util-dbg
- dh_compress
- dh_fixperms
-# dh_perl
- 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
diff --git a/include/collation.h b/include/collation.h
index dff9c53..dff9c53 100755..100644
--- a/include/collation.h
+++ b/include/collation.h
diff --git a/include/db-util-common.h b/include/db-util-common.h
index 4229d5a..4229d5a 100755..100644
--- a/include/db-util-common.h
+++ b/include/db-util-common.h
diff --git a/include/db-util-debug.h b/include/db-util-debug.h
index c7b226b..c7b226b 100755..100644
--- a/include/db-util-debug.h
+++ b/include/db-util-debug.h
diff --git a/include/db-util.h b/include/db-util.h
index 36b47c6..36b47c6 100755..100644
--- a/include/db-util.h
+++ b/include/db-util.h
diff --git a/include/util-func.h b/include/util-func.h
index 951584d..951584d 100755..100644
--- a/include/util-func.h
+++ b/include/util-func.h
diff --git a/packaging/libslp-db-util.changes b/packaging/libslp-db-util.changes
new file mode 100644
index 0000000..6b431c6
--- /dev/null
+++ b/packaging/libslp-db-util.changes
@@ -0,0 +1,3 @@
+* Thu Jun 27 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100924@61e2996
+- cleanup and remove obsolete files
+
diff --git a/packaging/libslp-db-util.spec b/packaging/libslp-db-util.spec
index 8943e4a..3d2bc02 100755
--- a/packaging/libslp-db-util.spec
+++ b/packaging/libslp-db-util.spec
@@ -1,69 +1,50 @@
-Name: libslp-db-util
-Summary: DB Utility
-Version: 0.1.1
-Release: 5
-Group: Application Framework/Database
-License: Apache-2.0
-Source0: %{name}-%{version}.tar.gz
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
+Name: libslp-db-util
+Version: 0.1.1
+Release: 5
+License: Apache-2.0
+Summary: DB Utility
+Group: Application Framework/Database
+Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
-BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(icu-i18n)
+BuildRequires: pkgconfig(sqlite3)
%description
DB Utility.
%package devel
-Summary: Devel package for libslp-db-util (devel)
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Summary: Devel package for libslp-db-util (devel)
+Requires: %{name} = %{version}
%description devel
Devel package for libslp-db-util (devel)
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%build
-%cmake .
-
-make %{?jobs:-j%jobs}
+%cmake .
+make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/usr/share/license
-install LICENSE %{buildroot}/usr/share/license/%{name}
-%post
-/sbin/ldconfig
-if [ ! -d /opt/dbspace ]
-then
- mkdir -p /opt/dbspace
-fi
-if [ ! -d /opt/usr/dbspace ]
-then
- mkdir -p /opt/usr/dbspace
-fi
-chown :5000 /opt/dbspace
-chmod 775 /opt/dbspace
-chown :5000 /opt/usr/dbspace
-chmod 775 /opt/usr/dbspace
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest libSLP-db-util.manifest
+%license LICENSE
%defattr(-,root,root,-)
-%{_libdir}/libSLP-db-util.so
%{_libdir}/libSLP-db-util.so.0
%{_libdir}/libSLP-db-util.so.0.1.0
-/usr/share/license/%{name}
%files devel
%defattr(-,root,root,-)
+%dir %{_includedir}/db-util
%{_includedir}/db-util/*.h
%{_libdir}/pkgconfig/db-util.pc
+%{_libdir}/libSLP-db-util.so
diff --git a/util_func.c b/util_func.c
index a33e814..a33e814 100755..100644
--- a/util_func.c
+++ b/util_func.c