run as dbus session
[scm/meta/abs.git] / spec.template
1 Name:       __OBS_PACKAGE_NAME__
2 __VCS__
3 #RS_Ver:    __ROOTSTRAP_VERSION__
4 Summary:    __SUMMARY__
5 Version:    __VERSION__
6 Release:    1
7 Group:      __GROUP__
8 License:    __LICENSE__
9 Source0:    %{name}-%{version}.tar.gz
10
11 __EXCLUSIVE_ARCH__
12 __EXCLUDE_ARCH__
13
14 BuildRequires:  pkgconfig(libtzplatform-config)
15 Requires(post):  /usr/bin/__APP_TYPE__-backend
16
17 %define internal_name __TIZEN_STUDIO_PACKAGE_NAME__
18 %define preload___APP_TYPE___path %{TZ_SYS_RO_APP}/.preload-__APP_TYPE__
19
20 %define build_mode __BUILD_MODE__
21
22 %ifarch arm armv7l
23 %define target arm
24 %endif
25 %ifarch aarch64
26 %define target aarch64
27 %endif
28 %ifarch x86_64
29 %define target x86_64
30 %endif
31 %ifarch i386 i486 i586 i686
32 %define target x86
33 %endif
34
35 %description
36 __VCS_DESCRIPTION__
37 This is a container package which have preload TPK/WGT files
38
39 %prep
40 %setup -q
41
42 %build
43
44 %install
45 rm -rf %{buildroot}
46 mkdir -p %{buildroot}/%{preload___APP_TYPE___path}
47 install %{internal_name}-%{version}-%{target}%{build_mode}.__APP_TYPE__ %{buildroot}/%{preload___APP_TYPE___path}/
48
49 %post
50
51 %files
52 %defattr(-,root,root,-)
53 %{preload___APP_TYPE___path}/*
54