-#Available values for profile: mobile, wearable, tv, ivi, common
-%{!?profile:%define profile tv}
-
Name: wgt-backend
Summary: Application installer backend for WGT
-Version: 0.1
+Version: 0.7.12
Release: 1
Group: Application Framework/Package Management
License: Apache-2.0
BuildRequires: pkgconfig(manifest-parser)
BuildRequires: pkgconfig(wgt-manifest-handlers)
BuildRequires: pkgconfig(pkgmgr-installer)
+BuildRequires: pkgconfig(pkgmgr-types)
BuildRequires: pkgconfig(libwebappenc)
BuildRequires: pkgconfig(tpk-installer)
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(libgum)
%description
This is a package that installs the WGT backend of pkgmgr.
cp %{SOURCE1001} .
%build
-#Variable for setting symlink to runtime
-runtime_path=%{_bindir}/xwalk-launcher
-%if "%{profile}" == "mobile" || "%{profile}" == "wearable" || "%{profile}" == "tv"
-runtime_path=%{_bindir}/wrt
-%endif
-%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} -DWRT_LAUNCHER=${runtime_path}
+%cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
make %{?_smp_mflags}
%install
%manifest wgt-backend.manifest
%license LICENSE
%{_sysconfdir}/package-manager/backend/wgt
+%{_sysconfdir}/package-manager/backendlib/libwgt.so
%{_bindir}/wgt-backend
%{_datadir}/wgt-backend/default.png