blob: b7af64e000a92240b4565806069ceac1f46ed0dc (
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#978d156b5758291186f49f5eeb4c0a0372e3ff0b
#RS_Ver: 20160919_1
Summary: Alarm application
Version: 2.3.2
Release: 1
Group: N/A
License: Apache-2.0
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#978d156b5758291186f49f5eeb4c0a0372e3ff0b
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}/*
|