2 Summary: Application installer backend for WGT
5 Group: Application Framework/Package Management
7 Source0: %{name}-%{version}.tar.gz
9 Source1000: wgt-backend.manifest
10 Source1001: wgt-backend-tests.manifest
12 BuildRequires: boost-devel
14 BuildRequires: gtest-devel
15 BuildRequires: pkgconfig(app-installers)
16 BuildRequires: pkgconfig(manifest-parser)
17 BuildRequires: pkgconfig(wgt-manifest-handlers)
18 BuildRequires: pkgconfig(pkgmgr-installer)
19 BuildRequires: pkgconfig(pkgmgr-types)
20 BuildRequires: pkgconfig(libwebappenc)
21 BuildRequires: pkgconfig(tpk-installer)
22 BuildRequires: pkgconfig(vconf)
25 This is a package that installs the WGT backend of pkgmgr.
28 Summary: Unit tests for wgt-backend
29 Requires: %{name} = %{version}
32 Unit tests for wgt-backend
41 #Variable for setting symlink to runtime
42 runtime_path=%{_bindir}/xwalk-launcher
43 %if "%{profile}" == "mobile" || "%{profile}" == "wearable" || "%{profile}" == "tv"
44 runtime_path=%{_bindir}/wrt
46 %cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} -DWRT_LAUNCHER=${runtime_path}
51 mkdir -p %{buildroot}/etc/package-manager/backend
52 ln -s %{_bindir}/wgt-backend %{buildroot}%{_sysconfdir}/package-manager/backend/wgt
55 /usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-backend-ut/smoke-test
56 /usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-backend-ut/smoke-test-helper
59 %manifest wgt-backend.manifest
61 %{_sysconfdir}/package-manager/backend/wgt
62 %{_sysconfdir}/package-manager/backendlib/libwgt.so
63 %{_bindir}/wgt-backend
64 %{_datadir}/wgt-backend/default.png
67 %manifest wgt-backend-tests.manifest
68 %{_bindir}/wgt-backend-ut/*
69 %{_datadir}/wgt-backend-ut/*
72 * Thu Dec 18 2015 Pawel Sikorski <p.sikorski@samsung.com> 0.1-1
73 - initial files creation