2 Summary: OMA-DS Agent Daemon for Data Synchronization
5 Group: Base/Device Management
7 Source0: %{name}-%{version}.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(libsoup-2.4)
12 BuildRequires: pkgconfig(sqlite3)
13 BuildRequires: pkgconfig(sync-agent)
14 BuildRequires: pkgconfig(vconf)
15 BuildRequires: pkgconfig(dbus-glib-1)
16 BuildRequires: pkgconfig(check)
17 BuildRequires: pkgconfig(memo)
18 BuildRequires: pkgconfig(contacts-service2)
19 BuildRequires: pkgconfig(dlog)
20 BuildRequires: pkgconfig(aul)
21 BuildRequires: expat-devel
26 oma-ds-agent daemon (development headers)
28 %package -n ds-public-plugins
29 Summary: DS Public Plugins
30 Group: Base/Device Management
32 %description -n ds-public-plugins
33 ds public plugins for sync-agent
41 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
48 if [ ! -d %{buildroot}/opt/dbspace ]
50 mkdir -p %{buildroot}/opt/dbspace
53 sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST; create table a(a); drop table a;" > /dev/null
62 if [ ! -d /opt/dbspace ]
66 if [ ! -d /etc/rc.d/rc3.d ]
70 if [ ! -d /etc/rc.d/rc5.d ]
81 rm -f /tmp/agent_fw_event_omads*
82 rm -f /tmp/agent_fw_noti_reply_omads*
84 rm -f /etc/rc.d/rc3.d/S91oma-ds-agent
85 rm -f /etc/rc.d/rc5.d/S91oma-ds-agent
87 rm -f /opt/dbspace/.omasyncagent.db /opt/dbspace/.omasyncagent.db-journal
89 rm -rf /usr/share/oma-ds-cfg
93 %attr(600,root,root) /opt/dbspace/.omasyncagent.db
94 %attr(600,root,root) /opt/dbspace/.omasyncagent.db-journal
96 %manifest oma-ds-agent.manifest
97 %defattr(-,root,root,-)
98 /usr/share/dbus-1/system-services/com.samsung.omadsagent.service
101 /usr/share/oma-ds-cfg/*
103 %defattr(700,root,root)
104 %defattr(644,root,root)
105 /usr/lib/systemd/system/oma-ds-agent.service
106 /usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
107 /etc/dbus-1/system.d/com.samsung.omadsagent.conf
109 %files -n ds-public-plugins
110 %manifest ds-public-plugins.manifest
111 %defattr(-,root,root,-)
112 /usr/lib/sync-agent/ds-public/*