From: Ossama Othman Date: Thu, 4 Sep 2014 17:42:13 +0000 (-0700) Subject: Initial packaging. X-Git-Tag: submit/devel/ivi/20160127.022724 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Fdevel%2Fivi%2F20160127.022724;p=profile%2Fivi%2Fpersistence-client-library.git Initial packaging. Bug-Tizen: TC-1504 Change-Id: I6c8819274b56c040dc2e060f787e492b6f2f148d Signed-off-by: Ossama Othman --- 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/packaging/persistence-client-library.changes b/packaging/persistence-client-library.changes new file mode 100644 index 0000000..49f0a47 --- /dev/null +++ b/packaging/persistence-client-library.changes @@ -0,0 +1,3 @@ +* Thu Sep 04 2014 Ossama Othman v0.9.0-61-g1033730 +- Initial packaging. + diff --git a/packaging/persistence-client-library.manifest b/packaging/persistence-client-library.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/persistence-client-library.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/persistence-client-library.spec b/packaging/persistence-client-library.spec new file mode 100644 index 0000000..892af9c --- /dev/null +++ b/packaging/persistence-client-library.spec @@ -0,0 +1,61 @@ +Name: persistence-client-library +Version: 0.9.0 +Release: 0 +Summary: GENIVI Persistence Client Library +License: MPL-2.0 +Group: Automotive/GENIVI +Url: http://projects.genivi.org/persistence-client-library/ +Source0: %name-%version.tar.xz +Source1001: persistence-client-library.manifest +BuildRequires: autoconf >= 2.64, automake >= 1.11 +BuildRequires: libtool >= 2.2 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(automotive-dlt) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(libperscommon) + +%description +The Persistence Management is responsible to handle persistent data, +including all data read and modified often during a lifetime of an +infotainment system. "Persistent data" is data stored in a +non-volatile storage such as a hard disk drive or FLASH memory. + +%package devel +Summary: Development files for package %{name} +Group: Automotive/GENIVI +Requires: %{name} = %{version} + +%description devel +This package provides header files and other developer releated files +for package %{name}. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +autoreconf --install +%configure --disable-static + +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%license COPYING +%{_libdir}/libpersistence_client_library.so.* +%config %{_sysconfdir}/pclCustomLibConfigFile.cfg + +%files devel +%manifest %{name}.manifest +%{_includedir}/*.h +%{_libdir}/libpersistence_client_library.so +%{_libdir}/pkgconfig/persistence_client_library.pc + +%changelog