--- /dev/null
+Copyright © 2014 Intel Corporation
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that copyright
+notice and this permission notice appear in supporting documentation, and
+that the name of the copyright holders not be used in advertising or
+publicity pertaining to distribution of the software without specific,
+written prior permission. The copyright holders make no representations
+about the suitability of this software for any purpose. It is provided "as
+is" without express or implied warranty.
+
+THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+OF THIS SOFTWARE.
--- /dev/null
+* Wed Jun 04 2014 Ossama Othman <ossama.othman@intel.com> da92575
+- Initial commit based on weston-ivi package.
+
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
--- /dev/null
+Name: weston-emulator
+Version: 1
+Release: 0
+Summary: Tizen emulator Weston configuration and set-up
+License: MIT
+Group: Graphics & UI Framework/Configuration
+BuildArch: noarch
+Source0: %{name}-%{version}.tar.bz2
+Source1001: weston-emulator.manifest
+Provides: weston-startup
+
+%description
+This package contains Tizen emulator-specific set-up for the Weston
+compositor, including systemd unit files, etc.
+
+%package config
+Summary: Tizen emulator Weston configuration
+Group: Graphics & UI Framework/Configuration
+Requires: weekeyboard
+Conflicts: ico-uxf-weston-plugin
+Conflicts: weston-ivi-config
+%description config
+This package contains Tizen emulator-specific configuration for the Weston
+compositor.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+
+%install
+
+install -d %{buildroot}%{_unitdir_user}/weston.target.wants
+install -m 644 weston.service %{buildroot}%{_unitdir_user}/weston.service
+ln -sf ../weston.service %{buildroot}/%{_unitdir_user}/weston.target.wants/
+
+mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
+install -m 0644 weston.sh %{buildroot}%{_sysconfdir}/profile.d/
+
+%define weston_config_dir %{_sysconfdir}/xdg/weston
+mkdir -p %{buildroot}%{weston_config_dir}
+install -m 0644 weston.ini %{buildroot}%{weston_config_dir}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%{_unitdir_user}/weston.service
+%{_unitdir_user}/weston.target.wants/weston.service
+%config %{_sysconfdir}/profile.d/*
+
+%files config
+%manifest %{name}.manifest
+%config %{weston_config_dir}/weston.ini
--- /dev/null
+[core]
+#modules=cms-colord.so
+#shell=desktop-shell.so
+
+[shell]
+background-image=/usr/share/backgrounds/gnome/Aqua.jpg
+background-color=0xff248bd1
+background-type=tile
+panel-color=0xff2a3c4a
+locking=true
+animation=zoom
+startup-animation=fade
+
+[input-method]
+path=/bin/weekeyboard
+
+#[output]
+#name=LVDS1
+#mode=1680x1050
+#transform=90
+#icc_profile=/usr/share/color/icc/colord/Bluish.icc
+
+#[output]
+#name=VGA1
+#mode=173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
+#transform=flipped
+
+#[output]
+#name=X1
+#mode=1024x768
+#transform=flipped-270
+
+#[touchpad]
+#constant_accel_factor = 50
+#min_accel_factor = 0.16
+#max_accel_factor = 1.0
--- /dev/null
+[Unit]
+Description=Weston
+Requires=dbus.socket
+
+[Service]
+ExecStart=/usr/bin/weston-launch -- -i0
+StandardInput=tty
+StandardOutput=journal
+StandardError=journal
+TTYPath=/dev/tty1
+
+[Install]
+WantedBy=weston.target
--- /dev/null
+export ELM_ENGINE=wayland_egl
+export ECORE_EVAS_ENGINE=wayland_egl
+
+# Make EFL apps use the wayland-based input method.
+export ECORE_IMF_MODULE=wayland
+
+# also export dbus session address for dbus clients (details on bug TIVI-1686 [https://bugs.tizen.org/jira/browse/TIVI-1686])
+export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/dbus/user_bus_socket