summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorGraydon, Tracy <tracy.graydon@intel.com>2012-10-01 15:29:45 -0700
committerGraydon, Tracy <tracy.graydon@intel.com>2012-10-01 15:29:45 -0700
commit375bd926b26772363dec91f6854a5ff07eb3df03 (patch)
tree8dcdee1919a82110c039b841206ac560fba5c30e /packaging
parent9eef124aac8b5b53360a80d045a6b70bbcde780d (diff)
downloadivi-demo-config-375bd926b26772363dec91f6854a5ff07eb3df03.tar.gz
ivi-demo-config-375bd926b26772363dec91f6854a5ff07eb3df03.tar.bz2
ivi-demo-config-375bd926b26772363dec91f6854a5ff07eb3df03.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/ivi-demo-config.changes11
-rw-r--r--packaging/ivi-demo-config.spec55
2 files changed, 66 insertions, 0 deletions
diff --git a/packaging/ivi-demo-config.changes b/packaging/ivi-demo-config.changes
new file mode 100644
index 0000000..1f61103
--- /dev/null
+++ b/packaging/ivi-demo-config.changes
@@ -0,0 +1,11 @@
+* Mon Oct 01 2012 Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> 2bf0bed
+- Add postinstall script to give any system a unique, friendly name
+- Revamp of rundemo.sh script to use 'case' instead of nested 'if'
+- Correct path to AMB config file - Bump up version
+- Fix automotive-message-broker version requirement
+- Update AMB config file for demo - Add couple of scripts to use gear stick pad buttons
+- Remove conflicts with Wayland as it causes a list of things to be removed
+
+* Tue Sep 04 2012 Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> 710cff4
+- Initial packaging of Tizen IVI demo config (xorg.conf)
+
diff --git a/packaging/ivi-demo-config.spec b/packaging/ivi-demo-config.spec
new file mode 100644
index 0000000..f55d9ef
--- /dev/null
+++ b/packaging/ivi-demo-config.spec
@@ -0,0 +1,55 @@
+Name: ivi-demo-config
+Summary: Custom configs for Tizen IVI demos
+Version: 0.0.3
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+URL: http://www.tizen.org
+Source0: xorg-dual.conf
+Source1: configwheeldemo
+Source2: rundemo.sh
+Source3: start_video.sh
+Requires: xorg-x11-server
+Requires: automotive-message-broker >= 0.3
+#Conflicts: wayland
+
+%description
+Provides customizations for Tizen IVI demos
+
+%prep
+
+%build
+# >> build pre
+# << build pre
+
+# >> build post
+# << build post
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{_sysconfdir}/X11/
+install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/X11/xorg.conf
+
+mkdir -p %{buildroot}%{_sysconfdir}/ambd/
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/ambd/config
+
+mkdir -p %{buildroot}%{_libdir}/automotive-message-broker/scripts
+install -m 755 %{SOURCE2} %{buildroot}%{_libdir}/automotive-message-broker/scripts/rundemo.sh
+install -m 755 %{SOURCE3} %{buildroot}%{_libdir}/automotive-message-broker/scripts/start_video.sh
+
+%post
+# Create a new machine-info file in order to have a friendly name
+#!/bin/bash
+if [ ! -e %{_sysconfdir}/machine-info ]; then
+ HOST_ID=$(hostid)
+ cat > %{_sysconfdir}/machine-info <<EOF
+PRETTY_NAME=Tizen IVI $HOST_ID
+ICON_NAME=Tizen IVI
+EOF
+fi
+
+%files
+%defattr(-,root,root,-)
+%config %{_sysconfdir}/X11/xorg.conf
+%config %{_sysconfdir}/ambd/config
+%{_libdir}/automotive-message-broker/scripts/*