[Tizen-submit] 3115: New package Tizen:2.1:Main/oma-ds-agent

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:31:18 GMT 2013


Hi,
Adding new package oma-ds-agent in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/oma-ds-agent
Tag: submit/tizen_2.1/20130424.233139
Commit: 00c0dc1 [SR:oma-ds-agent_0.1.64] SR Release

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3115

  submit:       Tizen:2.1:Main:build/oma-ds-agent(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/oma-ds-agent
Tag: submit/tizen_2.1/20130424.233139
Commit: 00c0dc1 [SR:oma-ds-agent_0.1.64] SR Release

State:   new        2013-04-24T16:01:57 tizenrobot
Comment: <no comment>
new:
----
  oma-ds-agent-0.1.64.tar.gz
  oma-ds-agent.service
  oma-ds-agent.spec

spec files:
-----------

++++++ new spec file:
--- oma-ds-agent.spec
+++ oma-ds-agent.spec
@@ -0,0 +1,134 @@
+Name:       oma-ds-agent
+Summary:    oma-ds-agent daemon for data sync
+Version:    0.1.64
+Release:    1
+VCS:        framework/system/oma-ds-agent#2.1_release-0-g00c0dc1
+Group:      TO_BE/FILLED_IN
+License:    Apache License, Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1: 	packaing/oma-ds-agent.service
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libsoup-2.4)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(sync-agent)
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(check)
+BuildRequires:  pkgconfig(memo)
+BuildRequires:  pkgconfig(contacts-service2)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(aul)
+BuildRequires:  expat-devel
+BuildRequires:  cmake
+Requires: sys-assert
+
+
+%description
+oma-ds-agent daemon (development headers)
+
+%package -n ds-public-plugins
+Summary:    DS Public Plugins
+Group:      TO_BE_FILLED
+
+%description -n ds-public-plugins
+ds public plugins for sync-agent
+
+
+%prep
+%setup -q
+
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+
+%install
+rm -rf %{buildroot}
+
+if [ ! -d %{buildroot}/opt/dbspace ]
+then
+	mkdir -p %{buildroot}/opt/dbspace
+fi
+
+sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
+
+%make_install
+
+# systemd service script sertup
+mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
+ln -s ../oma-ds-agent.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/oma-ds-agent.service
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+if [ ! -d /opt/dbspace ]
+then
+	mkdir /opt/dbspace
+fi

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list