From f5ed3c10b1baf80636221c15636a5bb5613fe2a5 Mon Sep 17 00:00:00 2001 From: Ulf Hofemeier Date: Mon, 22 Oct 2012 12:25:24 -0700 Subject: Fixing spec file for package to build. --- packaging/ivi-demo-config.spec | 30 ++++++++++++++++++------------ 1 file 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 -- cgit v1.2.3