2 Summary: Application basic
5 Group: Application Framework/Libraries
7 Source0: app-core-%{version}.tar.gz
8 BuildRequires: pkgconfig(ecore-wl2)
9 BuildRequires: pkgconfig(wayland-client)
10 BuildRequires: pkgconfig(tizen-extension-client)
11 BuildRequires: pkgconfig(wayland-tbm-client)
12 Source1001: app-core.manifest
13 BuildRequires: pkgconfig(gio-2.0)
14 BuildRequires: pkgconfig(sensor)
15 BuildRequires: pkgconfig(vconf)
16 BuildRequires: pkgconfig(aul)
17 BuildRequires: pkgconfig(bundle)
18 BuildRequires: pkgconfig(dlog)
19 BuildRequires: pkgconfig(elementary)
20 BuildRequires: pkgconfig(ecore)
21 BuildRequires: pkgconfig(gobject-2.0)
22 BuildRequires: pkgconfig(glib-2.0)
23 BuildRequires: pkgconfig(pkgmgr-info)
24 BuildRequires: pkgconfig(ttrace)
25 BuildRequires: pkgconfig(gmock)
27 BuildRequires: pkgconfig(capi-system-info)
35 SLP common application basic
39 Summary: App basic EFL
40 Group: Development/Libraries
41 Requires(post): /sbin/ldconfig
42 Requires(postun): /sbin/ldconfig
49 Summary: App basic EFL (devel)
50 Group: Development/Libraries
51 Requires: %{name}-efl = %{version}-%{release}
52 Requires: %{name}-ui-devel = %{version}-%{release}
54 %description efl-devel
55 Application basic EFL (devel)
58 Summary: Application core for multiwindow
59 Group: Development/Libraries
60 Requires(post): /sbin/ldconfig
61 Requires(postun): /sbin/ldconfig
63 %description multiwindow
64 Application core for multiwindow
66 %package multiwindow-devel
67 Summary: Application core for multiwindow (devel)
68 Group: Development/Libraries
69 Requires: %{name}-multiwindow = %{version}-%{release}
70 Requires: %{name}-common-devel = %{version}-%{release}
72 %description multiwindow-devel
73 Application core for multiwindow (devel)
76 Summary: App basics common
77 Group: Development/Libraries
78 Requires(post): /sbin/ldconfig
79 Requires(postun): /sbin/ldconfig
82 Application basics common
86 Summary: App basics common (devel)
87 Group: Development/Libraries
88 Requires: %{name}-common = %{version}-%{release}
89 Requires: pkgconfig(sensor)
90 Requires: pkgconfig(vconf)
91 Requires: pkgconfig(elementary)
92 Requires: pkgconfig(aul)
94 %description common-devel
95 Application basics common (devel)
99 Group: Development/Libraries
100 Requires(post): /sbin/ldconfig
101 Requires(postun): /sbin/ldconfig
107 Summary: App basic UI (devel)
108 Group: Development/Libraries
109 Requires: %{name}-ui = %{version}-%{release}
110 Requires: %{name}-common-devel = %{version}-%{release}
112 %description ui-devel
113 Application basic EFL (devel)
117 Summary: App basics template
118 Group: Development/Libraries
120 %description template
121 Application basics template
126 Summary: Application Core API(gcov)
127 Group: Application Framework/Libraries
130 gcov objects of a widget application library
139 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
140 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
141 export FFLAGS+=" -fprofile-arcs -ftest-coverage"
142 export LDFLAGS+=" -lgcov"
144 export CFLAGS+=" -DEFL_BETA_API_SUPPORT "
145 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
148 -DFULLVER=%{version} \
149 -DMAJORVER=${MAJORVER}
155 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
163 mkdir -p %{buildroot}%{_datadir}/gcov/obj/%{name}
164 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj/%{name}
170 lcov -c --ignore-errors graph --no-external -q -d . -o app-core.info
171 genhtml app-core.info -o app-core.out
172 zip -r app-core.zip app-core.out
173 install -m 0644 app-core.zip %{buildroot}%{_datadir}/gcov/
177 %post -n app-core-efl -p /sbin/ldconfig
179 %postun -n app-core-efl -p /sbin/ldconfig
181 %post -n app-core-multiwindow -p /sbin/ldconfig
183 %postun -n app-core-multiwindow -p /sbin/ldconfig
185 %post -n app-core-common -p /sbin/ldconfig
187 %postun -n app-core-common -p /sbin/ldconfig
189 %post -n app-core-ui -p /sbin/ldconfig
191 %postun -n app-core-ui -p /sbin/ldconfig
194 %manifest %{name}.manifest
195 %{_libdir}/libappcore-efl.so.*
197 %{_libdir}/libapp-core-efl-cpp.so.*
201 %manifest %{name}.manifest
202 %{_includedir}/appcore/appcore-efl.h
203 %{_includedir}/appcore/appcore_efl_base.h
204 %{_libdir}/libappcore-efl.so
205 %{_libdir}/pkgconfig/appcore-efl.pc
207 %{_includedir}/appcore_cpp/app_core_efl_base.hh
208 %{_libdir}/libapp-core-efl-cpp.so
209 %{_libdir}/pkgconfig/app-core-efl-cpp.pc
212 %manifest %{name}.manifest
213 %{_libdir}/libappcore-multiwindow.so.*
215 %{_libdir}/libapp-core-multi-window-cpp.so.*
218 %files multiwindow-devel
219 %manifest %{name}.manifest
220 %{_includedir}/appcore/appcore_multiwindow_base.h
221 %{_libdir}/libappcore-multiwindow.so
222 %{_libdir}/pkgconfig/appcore-multiwindow.pc
224 %{_includedir}/appcore_cpp/app_core_multi_window_base.hh
225 %{_libdir}/libapp-core-multi-window-cpp.so
226 %{_libdir}/pkgconfig/app-core-multi-window-cpp.pc
229 %manifest %{name}.manifest
230 %{_libdir}/libappcore-common.so.*
232 %{_libdir}/libapp-core-cpp.so.*
236 %manifest %{name}.manifest
237 %{_libdir}/libappcore-common.so
238 %{_libdir}/pkgconfig/appcore-common.pc
239 %{_includedir}/appcore/appcore-common.h
240 %{_includedir}/appcore/appcore_base.h
241 %{_includedir}/appcore/appcore_watchdog.h
242 %{_includedir}/appcore/appcore_base_control.h
244 %{_includedir}/appcore_cpp/app_core_base.hh
245 %{_includedir}/appcore_cpp/interface_app_core.hh
246 %{_includedir}/appcore_cpp/interface_app_core_ui.hh
247 %{_includedir}/appcore_cpp/interface_app_core_ui_event.hh
248 %{_includedir}/appcore_cpp/interface_main_loop.hh
249 %{_includedir}/appcore_cpp/interface_window.hh
250 %{_libdir}/libapp-core-cpp.so
251 %{_libdir}/pkgconfig/app-core-cpp.pc
254 %manifest %{name}.manifest
255 %{_libdir}/libappcore-ui.so.*
257 %{_libdir}/libapp-core-ui-cpp.so.*
261 %manifest %{name}.manifest
262 %{_includedir}/appcore/appcore_ui_base.h
263 %{_libdir}/libappcore-ui.so
264 %{_libdir}/pkgconfig/appcore-ui.pc
266 %{_includedir}/appcore_cpp/app_core_task_base.hh
267 %{_includedir}/appcore_cpp/app_core_ui_base.hh
268 %{_includedir}/appcore_cpp/api/app_core_ui_base.h
269 %{_libdir}/libapp-core-ui-cpp.so
270 %{_libdir}/pkgconfig/app-core-ui-cpp.pc