summaryrefslogtreecommitdiff
path: root/packaging/org.tizen.watch-face-editor.spec
blob: 194035658bc9cada0706e36463931fa17e6935d3 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name:       org.tizen.watch-face-editor
#VCS_FROM:   profile/wearable/apps/native/watch-face-editor#71f93aa548b235b185a25ab133db87896c0aafeb
#RS_Ver:    20180804_1
Summary:    watch-face-editor
Version:    1.0.0
Release:    1
Group:      N/A
License:    Flora-1.1
Source0:    %{name}-%{version}.tar.gz

ExclusiveArch:  i586 x86 i486 i686 i386 armv7l arm


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

%define internal_name org.tizen.watch-face-editor
%define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk

%define build_mode %{nil}

%ifarch arm armv7l
%define target arm
%endif
%ifarch aarch64
%define target aarch64
%endif
%ifarch x86_64
%define target x86_64
%endif
%ifarch i386 i486 i586 i686
%define target x86
%endif

%description
profile/wearable/apps/native/watch-face-editor#71f93aa548b235b185a25ab133db87896c0aafeb
This is a container package which have preload TPK files

%prep
%setup -q

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{preload_tpk_path}
install %{internal_name}-%{version}-%{target}%{build_mode}.tpk %{buildroot}/%{preload_tpk_path}/

%post

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