summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama.othman@intel.com>2014-09-04 10:13:46 -0700
committerOssama Othman <ossama.othman@intel.com>2014-09-05 12:56:02 -0700
commitf2cf9d8bbbbd3eec106c66c99f9b0920d0875602 (patch)
tree302a0691f9c83f3dd65664928bce66bad48a92df
parente0d795f0ee22040ec97ee27f80218250831905be (diff)
downloadpersistence-common-object-submit/tizen_ivi/20140910.567321.tar.gz
persistence-common-object-submit/tizen_ivi/20140910.567321.tar.bz2
persistence-common-object-submit/tizen_ivi/20140910.567321.zip
Bug-Tizen: TC-1504 Change-Id: Id594c3000c0fe98f4a96abe9147026d114a94c5e Signed-off-by: Ossama Othman <ossama.othman@intel.com>
-rw-r--r--.gbs.conf3
-rw-r--r--.gitignore9
-rwxr-xr-x[-rw-r--r--]autogen.sh0
-rw-r--r--packaging/persistence-common-object.changes3
-rw-r--r--packaging/persistence-common-object.manifest5
-rw-r--r--packaging/persistence-common-object.spec63
6 files changed, 83 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644
index 0000000..fa9fdc5
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = upstream
+upstream_tag = ${upstreamversion}
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0da846f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+*.deps
+*.la
+*.lo
+*.o
+*.pc
+*.so
+*.swp
+*~
+.libs
diff --git a/autogen.sh b/autogen.sh
index daeaa51..daeaa51 100644..100755
--- a/autogen.sh
+++ b/autogen.sh
diff --git a/packaging/persistence-common-object.changes b/packaging/persistence-common-object.changes
new file mode 100644
index 0000000..ea562b2
--- /dev/null
+++ b/packaging/persistence-common-object.changes
@@ -0,0 +1,3 @@
+* Thu Sep 04 2014 Ossama Othman <ossama.othman@intel.com> 18e4bae
+- Initial packaging.
+
diff --git a/packaging/persistence-common-object.manifest b/packaging/persistence-common-object.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/persistence-common-object.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/persistence-common-object.spec b/packaging/persistence-common-object.spec
new file mode 100644
index 0000000..285933e
--- /dev/null
+++ b/packaging/persistence-common-object.spec
@@ -0,0 +1,63 @@
+Name: persistence-common-object
+Version: 1.0.1
+Release: 0
+Summary: GENIVI Persistence Common Object (PCO) library
+License: MPL-2.0
+Group: Automotive/GENIVI
+Url: http://git.projects.genivi.org/?p=persistence/persistence-common-object.git;a=summary
+Source0: %name-%version.tar.xz
+Source1001: persistence-common-object.manifest
+BuildRequires: autoconf >= 2.64, automake >= 1.11
+BuildRequires: libtool >= 2.2
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(gio-unix-2.0)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(automotive-dlt)
+BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(dbus-1)
+
+
+%description
+This library provides a low level persistent key/value store mechanism
+intended to be used by GENIVI components.
+
+%package devel
+Summary: Development files for package %{name}
+Group: Automotive/GENIVI
+Requires: %{name} = %{version}
+Requires: pkgconfig(zlib)
+%description devel
+This package provides header files and other developer related files
+for package %{name}.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%autogen --disable-static --with-database=key-value-store
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%{_libdir}/libpers_common.so.*
+%config %{_sysconfdir}/dbus-1/system.d/org.genivi.persistence.admin.conf
+%{_datadir}/dbus-1/interfaces/org.genivi.persistence.admin.xml
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/*.h
+%{_libdir}/libpers_common.so
+%{_libdir}/pkgconfig/libperscommon.pc
+
+%changelog