1 Name: ico-uxf-homescreen
2 Summary: Sample homescreen and system controller
5 Group: Automotive / ICO Homescreen
8 Source0: %{name}-%{version}.tar.bz2
10 BuildRequires: pkgconfig(wayland-client) >= 1.5
11 BuildRequires: pkgconfig(egl)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(ecore)
14 BuildRequires: pkgconfig(ecore-wayland)
15 BuildRequires: pkgconfig(eina)
16 BuildRequires: pkgconfig(evas)
17 BuildRequires: pkgconfig(eina)
18 BuildRequires: pkgconfig(edje)
19 BuildRequires: pkgconfig(dbus-1)
20 BuildRequires: pkgconfig(json-glib-1.0)
21 BuildRequires: pkgconfig(aul)
22 BuildRequires: pkgconfig(ail)
23 BuildRequires: pkgconfig(bundle)
24 BuildRequires: pkgconfig(pkgmgr)
25 BuildRequires: pkgconfig(capi-appfw-application)
26 BuildRequires: pkgconfig(libwebsockets)
27 BuildRequires: pkgconfig(murphy-common)
28 BuildRequires: pkgconfig(murphy-domain-controller)
29 BuildRequires: pkgconfig(murphy-ecore)
30 BuildRequires: pkgconfig(murphy-resource)
31 BuildRequires: pkgconfig(notification)
32 BuildRequires: pkgconfig(appsvc)
33 BuildRequires: boost-devel
34 BuildRequires: mesa-devel
35 BuildRequires: weston-ivi-shell-devel >= 0.1.7
36 BuildRequires: genivi-shell-devel >= 0.2.3
37 BuildRequires: ico-uxf-utilities-devel >= 0.9.07
38 Requires: weston >= 1.5
39 Requires: weston-ivi-shell >= 0.1.7
40 Requires: genivi-shell >= 0.2.3
41 Requires: ico-uxf-utilities >= 0.9.07
42 Requires: system-controller
43 Conflicts: weston-ivi-config
44 Conflicts: weston-ivi-shell-config
47 Sample homescreen application.
50 %package system-controller
51 Summary: System controller for ICO HomeScreen
52 Group: Automotive / ICO Homescreen
53 Requires: %{name} = %{version}-%{release}
54 Requires: weston >= 1.5
55 Requires: weston-ivi-shell >= 0.1.7
56 Requires: genivi-shell >= 0.2.3
57 Requires: ico-uxf-utilities >= 0.9.07
58 Provides: system-controller
60 %description system-controller
61 A service to provide the low-level functionality that ICO HomeScreen
65 %package system-controller-devel
66 Summary: Development files for %{name}
67 Group: Automotive / ICO Homescreen
68 Requires: %{name} = %{version}-%{release}
69 Requires: capi-base-common-devel
70 Requires: pkgconfig(eina)
71 Requires: pkgconfig(evas)
72 Requires: pkgconfig(eina)
73 Requires: pkgconfig(edje)
74 Requires: pkgconfig(ecore-wayland)
75 Requires: pkgconfig(glib-2.0)
76 Requires: pkgconfig(appsvc)
78 %description system-controller-devel
79 Development files for application that communicate homescreen.
82 %setup -q -n %{name}-%{version}
85 cp -av /usr/share/genivi-shell/protocol/*.xml weston/
87 ls weston/*.xml | while read protocol ; do
89 /usr/bin/wayland-scanner client-header \
90 < "${protocol}" > "${protocol/.xml/}-client-protocol.h"
92 /usr/bin/wayland-scanner code \
93 < "${protocol}" > "${protocol/.xml/.c}"
109 cp tool/ico_change_loginuser %{buildroot}%{_bindir}
112 %define weston_conf %{_sysconfdir}/xdg/weston
113 %define ecore_setting %{_sysconfdir}/profile.d
114 mkdir -p %{buildroot}%{weston_conf} > /dev/null 2>&1
115 mkdir -p %{buildroot}%{ecore_setting} > /dev/null 2>&1
116 install -m 0644 settings/weston.ini %{buildroot}%{weston_conf}
117 install -m 0644 settings/ecore.sh %{buildroot}%{ecore_setting}
122 # Update the app database.
123 %{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.homescreen.xml
124 %{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.statusbar.xml
125 %{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.system-controller.xml
126 %{_bindir}/pkginfo --imd /usr/share/packages/org.tizen.ico.onscreen.xml
129 # Update the app database.
130 %{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.homescreen.xml
131 %{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.statusbar.xml
132 %{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.system-controller.xml
133 %{_bindir}/pkginfo --rmd /usr/share/packages/org.tizen.ico.onscreen.xml
137 rm -f /usr/share/applications/org.tizen.ico.homescreen.desktop
138 rm -f /usr/share/applications/org.tizen.ico.statusbar.desktop
139 rm -f /usr/share/applications/org.tizen.ico.onscreen.desktop
140 rm -f /usr/share/applications/org.tizen.ico.system-controller.desktop
143 %manifest %{name}.manifest
144 %defattr(-,root,root,-)
145 /usr/apps/org.tizen.ico.homescreen
146 /usr/apps/org.tizen.ico.statusbar
147 /usr/apps/org.tizen.ico.onscreen
148 /usr/share/packages/org.tizen.ico.homescreen.xml
149 /usr/share/packages/org.tizen.ico.statusbar.xml
150 /usr/share/packages/org.tizen.ico.onscreen.xml
151 %{_libdir}/libico-appfw.*
152 %{_libdir}/libico-state-machine.*
153 %{_bindir}/ico_change_loginuser
154 %{weston_conf}/weston.ini
155 %{ecore_setting}/ecore.sh
157 %files system-controller
158 %manifest %{name}.manifest
159 %defattr(-,root,root,-)
160 /usr/share/packages/org.tizen.ico.system-controller.xml
161 /usr/lib/systemd/user/ico-uxf-wait-launchpad-ready.path
162 /usr/lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
163 /usr/lib/systemd/user/ico-system-controller.service
164 /usr/apps/org.tizen.ico.system-controller
165 %attr(644,app,app) /home/app/ico/defaultApps.info
166 %attr(755,app,app) /home/app/ico
168 %files system-controller-devel
169 %manifest %{name}.manifest
170 %defattr(-,root,root,-)
171 %{_includedir}/ico-appfw/ico_syc_application.h
172 %{_includedir}/ico-appfw/ico_syc_appresctl.h
173 %{_includedir}/ico-appfw/ico_syc_common.h
174 %{_includedir}/ico-appfw/ico_syc_error.h
175 %{_includedir}/ico-appfw/ico_syc_inputctl.h
176 %{_includedir}/ico-appfw/ico_syc_private.h
177 %{_includedir}/ico-appfw/ico_syc_privilege.h
178 %{_includedir}/ico-appfw/ico_syc_type.h
179 %{_includedir}/ico-appfw/ico_syc_userctl.h
180 %{_includedir}/ico-appfw/ico_syc_winctl.h
181 %{_includedir}/ico-state-machine/CicoBlockParser.h
182 %{_includedir}/ico-state-machine/CicoEvent.h
183 %{_includedir}/ico-state-machine/CicoEventInfo.h
184 %{_includedir}/ico-state-machine/CicoFinalState.h
185 %{_includedir}/ico-state-machine/CicoHistoryState.h
186 %{_includedir}/ico-state-machine/CicoState.h
187 %{_includedir}/ico-state-machine/CicoStateAction.h
188 %{_includedir}/ico-state-machine/CicoStateCore.h
189 %{_includedir}/ico-state-machine/CicoStateMachine.h
190 %{_includedir}/ico-state-machine/CicoStateMachineCreator.h