2 Summary: Launchpad for launching applications
5 Group: Application Framework/Daemons
7 Source0: %{name}-%{version}.tar.gz
8 Source101: launchpad-process-pool.service
9 Source102: launchpad-process-pool.socket
13 BuildRequires: pkgconfig(bundle)
14 BuildRequires: pkgconfig(gio-2.0)
15 BuildRequires: pkgconfig(ecore)
16 BuildRequires: pkgconfig(dlog)
17 BuildRequires: pkgconfig(libsystemd)
18 BuildRequires: pkgconfig(elementary)
19 BuildRequires: pkgconfig(vconf)
20 BuildRequires: pkgconfig(buxton2)
21 BuildRequires: pkgconfig(security-manager)
22 BuildRequires: pkgconfig(aul)
23 BuildRequires: pkgconfig(ttrace)
24 BuildRequires: pkgconfig(libtzplatform-config)
25 BuildRequires: pkgconfig(libcap)
26 BuildRequires: pkgconfig(tanchor)
28 Requires(post): /sbin/ldconfig
29 Requires(post): /usr/bin/systemctl
30 Requires(postun): /sbin/ldconfig
31 Requires(postun): /usr/bin/systemctl
32 Requires(preun): /usr/bin/systemctl
34 Provides: app-launchpad
35 Obsoletes: amd-mod-launchpad
37 %define tizen_feature_priority_change 0
38 %define tizen_feature_loader_priority 0
40 %define tizen_arch32 1
42 %define tizen_arch32 0
46 Launchpad for launching applications
49 Summary: Launchpad for launching applications (devel)
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
54 Launchpad for launching applications (devel)
56 %package -n launchpad-loader
57 Summary: Launchpad-Loader for launching applications
58 Group: Application Framework/Application Launcher
60 %description -n launchpad-loader
61 Launchpad-Loader for launching applications
67 %if 0%{?sec_build_binary_debug_enable}
68 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
69 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
70 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
72 %if 0%{?tizen_feature_priority_change}
73 _TIZEN_FEATURE_PRIORITY_CHANGE=ON
75 %if 0%{?tizen_feature_loader_priority}
76 _TIZEN_FEATURE_LOADER_PRIORITY=ON
79 _TIZEN_FEATURE_SET_PERSONALITY_32=ON
82 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
83 %cmake -DVERSION=%{version} \
84 -DMAJORVER=${MAJORVER} \
85 -D_TIZEN_FEATURE_PRIORITY_CHANGE:BOOL=${_TIZEN_FEATURE_PRIORITY_CHANGE} \
86 -D_TIZEN_FEATURE_LOADER_PRIORITY:BOOL=${_TIZEN_FEATURE_LOADER_PRIORITY} \
87 -D_TIZEN_FEATURE_SET_PERSONALITY_32:BOOL=${_TIZEN_FEATURE_SET_PERSONALITY_32} \
89 %__make %{?_smp_mflags}
95 mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants
96 mkdir -p %{buildroot}%{_unitdir_user}/sockets.target.wants
97 install -m 0644 %SOURCE101 %{buildroot}%{_unitdir_user}/launchpad-process-pool.service
98 install -m 0644 %SOURCE102 %{buildroot}%{_unitdir_user}/launchpad-process-pool.socket
99 ln -sf ../launchpad-process-pool.socket %{buildroot}%{_unitdir_user}/sockets.target.wants/launchpad-process-pool.socket
100 ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.target.wants/launchpad-process-pool.service
105 %manifest launchpad.manifest
107 %{_prefix}/share/aul/default.debugger
108 %{_unitdir_user}/launchpad-process-pool.service
109 %{_unitdir_user}/launchpad-process-pool.socket
110 %{_unitdir_user}/sockets.target.wants/launchpad-process-pool.socket
111 %{_unitdir_user}/basic.target.wants/launchpad-process-pool.service
112 %if 0%{?tizen_feature_priority_change} || 0%{?tizen_feature_loader_priority}
113 %caps(cap_mac_admin,cap_dac_override,cap_setgid,cap_sys_admin,cap_sys_nice=ei) %{_bindir}/launchpad-process-pool
115 %caps(cap_mac_admin,cap_dac_override,cap_setgid,cap_sys_admin=ei) %{_bindir}/launchpad-process-pool
117 %attr(0644,root,root) %{_libdir}/liblaunchpad.so.*
120 %{_includedir}/launchpad/*.h
122 %{_libdir}/pkgconfig/*.pc
124 %files -n launchpad-loader
125 %manifest %{name}.manifest
127 %{_prefix}/share/aul/default.loader
128 %if 0%{?tizen_feature_priority_change} || 0%{?tizen_feature_loader_priority}
129 %caps(cap_setgid,cap_sys_admin,cap_sys_nice=ei) %{_bindir}/launchpad-loader
131 %caps(cap_setgid,cap_sys_admin=ei) %{_bindir}/launchpad-loader