1 Name: ico-uxf-homescreen
2 Summary: Sample homescreen and system controller
5 Group: Automotive/ICO Homescreen
7 Source0: %{name}-%{version}.tar.bz2
8 Source1001: %{name}.manifest
10 BuildRequires: pkgconfig(wayland-client) >= 1.4
11 BuildRequires: ico-uxf-weston-plugin-devel >= 0.9.21
12 BuildRequires: pkgconfig(egl)
13 BuildRequires: pkgconfig(glib-2.0)
14 BuildRequires: pkgconfig(ecore)
15 BuildRequires: pkgconfig(ecore-wayland)
16 BuildRequires: pkgconfig(eina)
17 BuildRequires: pkgconfig(evas)
18 BuildRequires: pkgconfig(eina)
19 BuildRequires: pkgconfig(edje)
20 BuildRequires: pkgconfig(dbus-1)
21 BuildRequires: pkgconfig(json-glib-1.0)
22 BuildRequires: pkgconfig(aul)
23 BuildRequires: pkgconfig(ail)
24 BuildRequires: pkgconfig(bundle)
25 BuildRequires: pkgconfig(pkgmgr)
26 BuildRequires: pkgconfig(capi-appfw-application)
27 BuildRequires: pkgconfig(libwebsockets)
28 BuildRequires: pkgconfig(murphy-common)
29 BuildRequires: pkgconfig(murphy-domain-controller)
30 BuildRequires: pkgconfig(murphy-ecore)
31 BuildRequires: pkgconfig(murphy-resource)
32 BuildRequires: pkgconfig(notification)
33 BuildRequires: pkgconfig(appsvc)
34 BuildRequires: boost-devel
35 BuildRequires: mesa-devel
36 BuildRequires: weston-ivi-shell
37 BuildRequires: weston-ivi-shell-devel
38 BuildRequires: genivi-shell
39 BuildRequires: genivi-shell-devel
40 BuildRequires: ico-uxf-utilities-devel >= 0.9.07
41 BuildRequires: pkgconfig(libtzplatform-config)
43 Requires: weston >= 1.4
44 Requires: weston-ivi-shell
45 Requires: genivi-shell
46 Requires: ico-uxf-weston-plugin >= 0.9.21
47 Requires: ico-uxf-utilities >= 0.9.07
48 Requires: system-controller
50 Requires(post): pkgmgr
54 This package provides the sample homescreen application.
57 %package system-controller-devel
58 Summary: Development files for %{name}
59 Group: Automotive/ICO Homescreen
60 Requires: %{name} = %{version}-%{release}
61 Requires: capi-base-common-devel
62 Requires: pkgconfig(eina)
63 Requires: pkgconfig(evas)
64 Requires: pkgconfig(eina)
65 Requires: pkgconfig(edje)
66 Requires: pkgconfig(ecore-wayland)
67 Requires: pkgconfig(glib-2.0)
68 Requires: pkgconfig(appsvc)
70 %description system-controller-devel
71 Development files for application that communicate homescreen.
74 %setup -q -n %{name}-%{version}
78 cp -av %{TZ_SYS_SHARE}/genivi-shell/protocol/*.xml weston/
80 ls weston/*.xml | while read protocol ; do
82 %{_bindir}/wayland-scanner client-header \
83 < "${protocol}" > "${protocol/.xml/}-client-protocol.h"
85 %{_bindir}/wayland-scanner code \
86 < "${protocol}" > "${protocol/.xml/.c}"
92 %__make %{?_smp_mflags}
99 cp tool/ico_clear_screen %{buildroot}%{_bindir}
100 cp tool/ico_change_loginuser %{buildroot}%{_bindir}
101 cp tool/notification/ico_del_notification %{buildroot}%{_bindir}
102 cp tool/notification/ico_dump_notification %{buildroot}%{_bindir}
103 cp tool/notification/ico_send_notification %{buildroot}%{_bindir}
104 cp tool/notification/ico_send_notification2 %{buildroot}%{_bindir}
110 # Update the app database.
116 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.homescreen.desktop
117 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.statusbar.desktop
118 rm -f %{TZ_SYS_RW_DESKTOP_APP}/org.tizen.ico.onscreen.desktop
123 %defattr(-,root,root,-)
124 %manifest %{name}.manifest
125 %{TZ_SYS_RW_APP}/org.tizen.ico.homescreen
126 %{TZ_SYS_RW_APP}/org.tizen.ico.statusbar
127 %{TZ_SYS_RW_APP}/org.tizen.ico.onscreen
128 %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.homescreen.xml
129 %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.statusbar.xml
130 %{TZ_SYS_RW_PACKAGES}/org.tizen.ico.onscreen.xml
131 %{_libdir}/libico-appfw.*
132 %{_bindir}/ico_clear_screen
133 %{_bindir}/ico_change_loginuser
134 %{_bindir}/ico_del_notification
135 %{_bindir}/ico_dump_notification
136 %{_bindir}/ico_send_notification
137 %{_bindir}/ico_send_notification2
138 %{_datadir}/icons/default/small/org.tizen.ico.homescreen.png
139 %{_datadir}/icons/default/small/org.tizen.ico.statusbar.png
140 %{_datadir}/icons/default/small/org.tizen.ico.onscreen.png
141 # retain the system control configuration inside homescreen at least for now
142 /usr/apps/org.tizen.ico.system-controller/res/config
144 %files system-controller-devel
145 %defattr(-,root,root,-)
146 %manifest %{name}.manifest
147 %{_includedir}/ico-appfw/ico_syc_application.h
148 %{_includedir}/ico-appfw/ico_syc_appresctl.h
149 %{_includedir}/ico-appfw/ico_syc_common.h
150 %{_includedir}/ico-appfw/ico_syc_error.h
151 %{_includedir}/ico-appfw/ico_syc_inputctl.h
152 %{_includedir}/ico-appfw/ico_syc_private.h
153 %{_includedir}/ico-appfw/ico_syc_privilege.h
154 %{_includedir}/ico-appfw/ico_syc_type.h
155 %{_includedir}/ico-appfw/ico_syc_userctl.h
156 %{_includedir}/ico-appfw/ico_syc_winctl.h