summaryrefslogtreecommitdiff
path: root/spec-wgt.template
blob: 468b1a6ccf935e89d3eb9f27cde0e36f4f6fc78e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name:       __OBS_PACKAGE_NAME__
__VCS__
Summary:    __SUMMARY__
Version:    __VERSION__
Release:    1
Group:      __GROUP__
License:    __LICENSE__
Source0:    %{name}-%{version}.tar.gz

BuildRequires:  pkgconfig(libtzplatform-config)
Requires(post):  /usr/bin/__APP_TYPE__-backend

%define internal_name __TIZEN_STUDIO_PACKAGE_NAME__
%define preload___APP_TYPE___path %{TZ_SYS_RO_APP}/.preload-__APP_TYPE__

%description
__VCS_DESCRIPTION__
This is a container package which have preload TPK/WGT files

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{preload___APP_TYPE___path}
install %{internal_name}-%{version}.__APP_TYPE__ %{buildroot}/%{preload___APP_TYPE___path}/

%post

%files
%defattr(-,root,root,-)
%{preload___APP_TYPE___path}/*