summaryrefslogtreecommitdiff
path: root/packaging/org.tizen.alarm.spec
blob: 71a108c6e01bcc3786fde09da28d54c58a60971a (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
Name:       org.tizen.alarm
#VCS_FROM:   profile/wearable/apps/native/alarm#5f1c0f5237afd87f79308fa84ff0b174d060866f
#RS_Ver:    20161006_2 
Summary:    alarm
Version:    2.3.2
Release:    1
Group:      N/A
License:    N/A
Source0:    %{name}-%{version}.tar.gz

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

%define internal_name org.tizen.alarm
%define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk 

%define build_mode %{nil}

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

%description
profile/wearable/apps/native/alarm#5f1c0f5237afd87f79308fa84ff0b174d060866f
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}/*