summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hofemeier <ulf.hofemeier@intel.com>2012-10-22 12:25:24 -0700
committerUlf Hofemeier <ulf.hofemeier@intel.com>2012-10-22 12:25:24 -0700
commitf5ed3c10b1baf80636221c15636a5bb5613fe2a5 (patch)
tree2f360110cd075287c543d4ba12bf6c332a331b1a
parent88504f35b32d780877592814a7c6a7ff077b7d6c (diff)
downloadivi-demo-config-f5ed3c10b1baf80636221c15636a5bb5613fe2a5.tar.gz
ivi-demo-config-f5ed3c10b1baf80636221c15636a5bb5613fe2a5.tar.bz2
ivi-demo-config-f5ed3c10b1baf80636221c15636a5bb5613fe2a5.zip
Fixing spec file for package to build.submit/trunk/20121022.192542
-rw-r--r--packaging/ivi-demo-config.spec30
1 files changed, 18 insertions, 12 deletions
diff --git a/packaging/ivi-demo-config.spec b/packaging/ivi-demo-config.spec
index d340f9e..822d5f2 100644
--- a/packaging/ivi-demo-config.spec
+++ b/packaging/ivi-demo-config.spec
@@ -1,6 +1,6 @@
Name: ivi-demo-config
Summary: Custom configs for Tizen IVI demos
-Version: 0.0.3
+Version: 0.0.4
Release: 1
Group: System Environment/Libraries
License: Apache License, Version 2.0
@@ -9,8 +9,10 @@ Source0: xorg-dual.conf
Source1: configwheeldemo
Source2: rundemo.sh
Source3: start_video.sh
-Requires: xorg-x11-server
-Requires: automotive-message-broker >= 0.3
+Source4: settings
+Source5: tizen-base.repo
+Source6: tizen-ivi-demo.repo
+Source7: tizen-ivi.repo
#Conflicts: wayland
%description
@@ -19,23 +21,25 @@ 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/
+mkdir -p %{buildroot}%{_sysconfdir}/X11
install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/X11/xorg.conf
-mkdir -p %{buildroot}%{_sysconfdir}/ambd/
+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
+mkdir -p %{buildroot}%{_libdir}/automotive-message-broker/scripts
+install -m 755 %{SOURCE2} %{buildroot}%{_libdir}/automotive-message-broker/scripts
+install -m 755 %{SOURCE3} %{buildroot}%{_libdir}/automotive-message-broker/scripts
+mkdir -p %{buildroot}/var/lib/connman
+install -m 600 %{SOURCE4} %{buildroot}/var/lib/connman
+mkdir -p %{buildroot}%{_sysconfdir}/zypp/repos.d
+install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/zypp/repos.d
+install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/zypp/repos.d
+install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/zypp/repos.d
%post
# Create a new machine-info file in order to have a friendly name
@@ -53,3 +57,5 @@ fi
%config %{_sysconfdir}/X11/xorg.conf
%config %{_sysconfdir}/ambd/config
%{_libdir}/automotive-message-broker/scripts/*
+/etc/zypp/repos.d/*
+/var/lib/connman/settings