Name: app2sd
Summary: Application installation on external memory
-Version: 0.7.9
+Version: 0.7.27
Release: 1
Group: Application Framework/Package Management
License: Apache-2.0
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(storage)
BuildRequires: pkgconfig(pkgmgr)
+BuildRequires: pkgconfig(sqlite3)
BuildRequires: cmake
+Requires: cryptsetup
%description
Tizen application installation on external memory
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
-%cmake . -DUNITDIR=%{_unitdir} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%cmake . -DUNITDIR=%{_unitdir} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=%{_arch}
make %{?jobs:-j%jobs}
rm -rf %{buildroot}
%make_install
+%check
+cd unit-tests
+LD_LIBRARY_PATH=../:../plugin/app2sd/ ctest -V
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%{_unitdir}/app2sd-server.service
%{_datadir}/dbus-1/system-services/org.tizen.app2sd.service
%config %{_sysconfdir}/dbus-1/system.d/org.tizen.app2sd.conf
+%{_bindir}/app2sd-mount-helper