diff options
author | Shibata Makoto <shibata@mac.tec.toyota.co.jp> | 2013-04-26 20:33:45 +0900 |
---|---|---|
committer | Shibata Makoto <shibata@mac.tec.toyota.co.jp> | 2013-04-26 20:34:20 +0900 |
commit | 5c19caffb4a17313c5243847f76309f4f70b99a7 (patch) | |
tree | 0c603b9cad24d67c2287d2ae675018d03fe265ca /packaging | |
download | ico-uxf-homescreen-sample-apps-5c19caffb4a17313c5243847f76309f4f70b99a7.tar.gz ico-uxf-homescreen-sample-apps-5c19caffb4a17313c5243847f76309f4f70b99a7.tar.bz2 ico-uxf-homescreen-sample-apps-5c19caffb4a17313c5243847f76309f4f70b99a7.zip |
Updated package changelog.
Change-Id: I8384b78b2d976e65ba439dd01ac50dcb83cebd74
Signed-off-by: Shibata Makoto <shibata@mac.tec.toyota.co.jp>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/ico-uxf-HomeScreen-sample-app.changes | 3 | ||||
-rw-r--r-- | packaging/ico-uxf-HomeScreen-sample-app.spec | 212 |
2 files changed, 215 insertions, 0 deletions
diff --git a/packaging/ico-uxf-HomeScreen-sample-app.changes b/packaging/ico-uxf-HomeScreen-sample-app.changes new file mode 100644 index 0000000..9927cfb --- /dev/null +++ b/packaging/ico-uxf-HomeScreen-sample-app.changes @@ -0,0 +1,3 @@ +* Fri Apr 26 2013 Shibata Makoto <shibata@mac.tec.toyota.co.jp> c744832 +- Import initial. + diff --git a/packaging/ico-uxf-HomeScreen-sample-app.spec b/packaging/ico-uxf-HomeScreen-sample-app.spec new file mode 100644 index 0000000..b7fe12f --- /dev/null +++ b/packaging/ico-uxf-HomeScreen-sample-app.spec @@ -0,0 +1,212 @@ +Name: ico-uxf-HomeScreen-sample-app +Summary: HomeScreen sample application +Version: 0.0.4 +Release: 1 +Group: System/GUI +License: Apache License, Version 2.0 +URL: http://www.toyota.com +Source0: %{name}-%{version}.tar.bz2 + +#ico-app-soundsample +BuildRequires: pkgconfig(wayland-client) >= 1.0 +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(eina) +BuildRequires: pkgconfig(evas) +BuildRequires: pkgconfig(eina) +BuildRequires: pkgconfig(edje) +BuildRequires: pkgconfig(elementary) +BuildRequires: pkgconfig(ecore-wayland) +BuildRequires: pkgconfig(ecore-x) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(aul) +BuildRequires: pkgconfig(bundle) +BuildRequires: pkgconfig(ail) +BuildRequires: libwebsockets-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: ico-uxf-weston-plugin-devel +BuildRequires: ico-uxf-HomeScreen-devel +Requires: weston >= 1.0 +Requires: ico-uxf-weston-plugin +Requires: ico-uxf-HomeScreen +Requires: ecore +Requires: elementary +Requires: evas +Requires: glib2 +Requires: pulseaudio-libs + +#ico-app-vicsample +BuildRequires: pkgconfig(evas) +BuildRequires: pkgconfig(elementary) +BuildRequires: pkgconfig(ecore-wayland) +BuildRequires: pkgconfig(ecore-x) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(aul) +BuildRequires: libwebsockets-devel +BuildRequires: ico-uxf-weston-plugin-devel +BuildRequires: ico-uxf-HomeScreen-devel +Requires: ico-uxf-weston-plugin +Requires: ico-uxf-HomeScreen +Requires: ecore +Requires: elementary +Requires: evas +Requires: dbus +Requires: dbus-glib +Requires: automotive-message-broker + +#ico-app-samplenavi +BuildRequires: pkgconfig(ecore) +BuildRequires: pkgconfig(evas) +BuildRequires: pkgconfig(ecore-evas) +BuildRequires: pkgconfig(eina) +BuildRequires: pkgconfig(elementary) +BuildRequires: pkgconfig(ewebkit2) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(ecore-wayland) +BuildRequires: pkgconfig(glesv2) +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(pango) +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(aul) +BuildRequires: libwebsockets-devel +BuildRequires: ico-uxf-weston-plugin-devel +BuildRequires: ico-uxf-HomeScreen-devel +BuildRequires: edje-tools +#BuildRequires: pkgconfig(opencv) +Requires: ico-uxf-weston-plugin +Requires: ico-uxf-HomeScreen +Requires: ecore +Requires: evas +Requires: ecore-evas +Requires: eina +Requires: elementary +Requires: webkit2-efl +Requires: wayland +Requires: mesa-libwayland-egl +Requires: ecore-wayland +Requires: mesa-libGLESv2 +Requires: mesa-libEGL +Requires: cairo +Requires: pango +Requires: gdk-pixbuf +Requires: glib2 +Requires: json-glib +Requires: aul +Requires: dbus +Requires: dbus-glib +Requires: automotive-message-broker +#Requires: libopencv2_4 + +%description +HomeScreen sample application + +%prep +%setup -q -n %{name}-%{version} + +%build +autoreconf --install + +%configure +make %{?_smp_mflags} +cd data/;sh make.sh;cd ../ + +%install +rm -rf %{buildroot} +%make_install + +# configurations(ico-app-soundsample) +%define sound_PREFIX /opt/apps/org.tizen.ico.app-soundsample + +mkdir -p %{buildroot}%{sound_PREFIX}/bin/ +mkdir -p %{buildroot}%{sound_PREFIX}/sounds/ +mkdir -p %{buildroot}%{sound_PREFIX}/res/icons/default/small/ +mkdir -p %{buildroot}/opt/share/applications/ +install -m 0644 soundsample_config.txt %{buildroot}%{sound_PREFIX}/res/ +install -m 0644 org.tizen.ico.app-soundsample.png %{buildroot}%{sound_PREFIX}/res/icons/default/small/ +install -m 0644 musicbox.wav %{buildroot}%{sound_PREFIX}/sounds/ +install -m 0644 org.tizen.ico.app-soundsample.desktop %{buildroot}/opt/share/applications/ + +# configurations(ico-app-vicsample) +%define vic_PREFIX /opt/apps/org.tizen.ico.app-vicsample + +mkdir -p %{buildroot}%{vic_PREFIX}/bin/ +mkdir -p %{buildroot}%{vic_PREFIX}/res/icons/default/small/ +mkdir -p %{buildroot}/opt/share/applications/ +install -m 0644 vicsample_config.txt %{buildroot}%{vic_PREFIX}/res/ +install -m 0644 org.tizen.ico.app-vicsample.png %{buildroot}%{vic_PREFIX}/res/icons/default/small/ +install -m 0644 org.tizen.ico.app-vicsample.desktop %{buildroot}/opt/share/applications/ + +# configurations(ico-app-samplenavi) +%define navi_PREFIX /opt/apps/org.tizen.ico.app-samplenavi + +mkdir -p %{buildroot}%{navi_PREFIX}/bin/ +mkdir -p %{buildroot}%{navi_PREFIX}/data/ +mkdir -p %{buildroot}/opt/share/applications/ +install -m 0644 data/*.edj %{buildroot}%{navi_PREFIX}/data/ +install -m 0644 org.tizen.ico.app-samplenavi.desktop %{buildroot}/opt/share/applications/ +cp -r res %{buildroot}%{navi_PREFIX}/. + +# configurations(DemoMeterApp.wgt DemoAudioApp.wgt) +mkdir -p %{buildroot}/tmp/ +install -m 0644 wgt/*.wgt %{buildroot}/tmp/ +#mkdir -p %{buildroot}/opt/apps/homescreen-sample-app/wgt/ +#install -m 0644 wgt/*.wgt %{buildroot}/opt/apps/homescreen-sample-app/wgt/ +#install -m 0644 wgt/wgt-install.sh %{buildroot}/opt/apps/homescreen-sample-app/wgt/ +#install -m 0644 wgt/wgt-uninstall.sh %{buildroot}/opt/apps/homescreen-sample-app/wgt/ + +%files +%defattr(-,root,root,-) +# files(ico-app-soundsample) +%{sound_PREFIX}/bin/ico-app-soundsample +%{sound_PREFIX}/res/soundsample_config.txt +%{sound_PREFIX}/res/icons/default/small/org.tizen.ico.app-soundsample.png +%{sound_PREFIX}/sounds/musicbox.wav +/opt/share/applications/org.tizen.ico.app-soundsample.desktop + +# files(ico-app-vicsample) +%{vic_PREFIX}/bin/ico-app-vicsample +%{vic_PREFIX}/res/vicsample_config.txt +%{vic_PREFIX}/res/icons/default/small/org.tizen.ico.app-vicsample.png +/opt/share/applications/org.tizen.ico.app-vicsample.desktop + +# files(ico-app-samplenavi) +%{navi_PREFIX}/bin/ico-app-samplenavi +%{navi_PREFIX}/data/*.edj +%{navi_PREFIX}/res +/opt/share/applications/org.tizen.ico.app-samplenavi.desktop + +# files(DemoMeterApp.wgt DemoAudioApp.wgt) +/tmp/*.wgt +#/opt/apps/homescreen-sample-app/wgt/*.wgt +#/opt/apps/homescreen-sample-app/wgt/wgt-install.sh +#/opt/apps/homescreen-sample-app/wgt/wgt-uninstall.sh + +%post +# install shell(DemoMeterApp.wgt DemoAudioApp.wgt) +#sh /opt/apps/homescreen-sample-app/wgt/wgt-install.sh +wrt-installer -i /tmp/DemoMeterApp.wgt +wrt-installer -i /tmp/DemoAudioApp.wgt +rm -f /tmp/DemoMeterApp.wgt +rm -f /tmp/DemoAudioApp.wgt + +%preun +# uninstall shell(DemoMeterApp.wgt DemoAudioApp.wgt) +#sh /opt/apps/homescreen-sample-app/wgt/wgt-uninstall.sh + +%postun +id=`wrt-launcher -l | grep -e " DemoMeterApp " | sed -e 's/\s\{1,\}/ /g' | cut -d' ' -f3` +wrt-installer -u $id +id=`wrt-launcher -l | grep -e " DemoAudioApp " | sed -e 's/\s\{1,\}/ /g' | cut -d' ' -f3` +wrt-installer -u $id |