2 Summary: oma-ds-service
6 License: Samsung Proprietary License
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: packaging/oma-ds-service.manifest
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: pkgconfig(glib-2.0)
12 BuildRequires: pkgconfig(libsoup-2.4)
13 BuildRequires: pkgconfig(sqlite3)
14 BuildRequires: pkgconfig(sync-agent-framework)
15 BuildRequires: pkgconfig(vconf)
16 BuildRequires: pkgconfig(libwbxml2)
17 BuildRequires: pkgconfig(check)
18 BuildRequires: expat-devel
21 Requires(post): /sbin/ldconfig
22 Requires(postun): /sbin/ldconfig
26 oma-ds-service daemon (development headers)
30 #Summary: Development files for %{name}
31 #Group: Development/Libraries
32 #Requires: %{name} = %{version}-%{release}
34 #Development files for %{name}
42 cmake . -DCMAKE_INSTALL_PREFIX=/usr
51 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
52 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
53 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d
54 mv syncmld_mgr %{buildroot}%{_sysconfdir}/rc.d/init.d/syncmld_mgr
56 ln -s %{_sysconfdir}/rc.d/init.d/syncmld_mgr %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S90Syncmld
57 ln -s %{_sysconfdir}/rc.d/init.d/syncmld_mgr %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S90Syncmld
59 mkdir -p %{buildroot}/opt/data/oma-ds
60 mv eventconfig_omads %{buildroot}/opt/data/oma-ds/
61 mv noticonfig_omads %{buildroot}/opt/data/oma-ds/
62 mv omadsUI_fw_config.xml %{buildroot}/opt/data/oma-ds/
63 mv omads_fw_config.xml %{buildroot}/opt/data/oma-ds/
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %manifest oma-ds-service.manifest
70 %defattr(-,root,root,-)
72 #/opt/data/eventconfig_omads
73 #/opt/data/noticonfig_omads
74 /opt/data/oma-ds/eventconfig_omads
75 /opt/data/oma-ds/noticonfig_omads
76 /opt/data/oma-ds/omadsUI_fw_config.xml
77 /opt/data/oma-ds/omads_fw_config.xml
80 %defattr(700,root,root)
81 %{_sysconfdir}/rc.d/init.d/syncmld_mgr
84 #%defattr(-,root,root,-)
85 #%{_includedir}/agent-framework/*
87 #%{_libdir}/pkgconfig/oma-ds-service.pc
89 %defattr(755,root,root)
90 %{_sysconfdir}/rc.d/rc3.d/S90Syncmld
91 %{_sysconfdir}/rc.d/rc5.d/S90Syncmld