5 Summary: Application Service
8 Group: Application Framework/Service
10 Source0: %{name}-%{version}.tar.gz
11 Source1001: app-svc.manifest
13 Requires(post): /sbin/ldconfig
14 Requires(postun): /sbin/ldconfig
16 BuildRequires: sqlite3
17 BuildRequires: pkgconfig(dlog)
18 BuildRequires: pkgconfig(ecore)
20 BuildRequires: pkgconfig(x11)
21 BuildRequires: pkgconfig(ecore-x)
23 BuildRequires: pkgconfig(libprivilege-control)
24 BuildRequires: pkgconfig(bundle)
25 BuildRequires: pkgconfig(dbus-glib-1)
26 BuildRequires: pkgconfig(xdgmime)
27 BuildRequires: pkgconfig(aul)
28 BuildRequires: pkgconfig(glib-2.0)
29 BuildRequires: pkgconfig(libsoup-2.4)
30 BuildRequires: pkgconfig(iniparser)
31 BuildRequires: pkgconfig(pkgmgr-info)
32 BuildRequires: pkgconfig(libtzplatform-config)
33 BuildRequires: pkgconfig(sqlite3)
41 Group: Development/Application Framework
42 Requires: %{name} = %{version}-%{release}
48 sed -i %{SOURCE1001} -e "s|TZ_SYS_DB|%TZ_SYS_DB|g"
53 %if %{with wayland} && !%{with x}
59 %__make %{?jobs:-j%jobs}
65 mkdir -p %{buildroot}%{TZ_SYS_DB}
66 sqlite3 %{buildroot}%{TZ_SYS_DB}/.appsvc.db < data/appsvc_db.sql
68 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %defattr(-,root,root,-)
74 %manifest %{name}.manifest
76 %config(noreplace) %verify(not md5 mtime size) %attr(664,root,%{TZ_SYS_USER_GROUP}) %{TZ_SYS_DB}/.appsvc.db
77 %config(noreplace) %verify(not md5 mtime size) %attr(664,root,%{TZ_SYS_USER_GROUP}) %{TZ_SYS_DB}/.appsvc.db-journal
78 %{_bindir}/appsvc_test
79 %{_libdir}/libappsvc.so.0
80 %{_libdir}/libappsvc.so.0.1.0
83 %defattr(-,root,root,-)
84 %manifest %{name}.manifest
85 %{_libdir}/pkgconfig/appsvc.pc
86 %{_libdir}/libappsvc.so
87 %{_includedir}/appsvc/appsvc.h