Name: ivi-demo-config Summary: Custom configs for Tizen IVI demos Version: 0.1.1 Release: 1 Group: System Environment/Libraries License: Apache License, Version 2.0 URL: http://www.tizen.org Requires: /usr/bin/hostid Source0: xorg-dual.conf Source1: configwheeldemo Source2: rundemo.sh Source3: start_video.sh Source4: wheel.sh %description Provides customizations for Tizen IVI demos %prep %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/X11 install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/X11/xorg.conf mkdir -p %{buildroot}/root/ambd install -m 644 %{SOURCE1} %{buildroot}/root/ambd/config 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 install -m 755 %{SOURCE4} %{buildroot}%{_libdir}/automotive-message-broker/scripts %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 <