diff options
-rw-r--r-- | .gbs.conf | 3 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rwxr-xr-x[-rw-r--r--] | autogen.sh | 0 | ||||
-rw-r--r-- | packaging/persistence-common-object.changes | 3 | ||||
-rw-r--r-- | packaging/persistence-common-object.manifest | 5 | ||||
-rw-r--r-- | packaging/persistence-common-object.spec | 63 |
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 |