From 3c3f86127d09178bafd061a828edcf17832c4ea8 Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Wed, 5 Apr 2017 18:03:40 +0900 Subject: [PATCH] build: Change policy for elementary-mobile from replacement to add-on Signed-Off-By: Jeeyong Um Change-Id: Id60028fc796f3a7b746ff4da24433adc313c6b3f --- packaging/elementary.spec | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/packaging/elementary.spec b/packaging/elementary.spec index 833fc87..b1861ae 100644 --- a/packaging/elementary.spec +++ b/packaging/elementary.spec @@ -64,11 +64,11 @@ fine-grained library splitting means all of this is shared, just a new widget "personality" is on top. And that is... Elementary, my dear watson. Elementary. -%package mobile -Summary: EFL toolkit for small touchscreens for Tizen mobile/wearable -Provides: %{name} +%package tizen +Summary: EFL toolkit for small touchscreens for Tizen devices +Requires: %{name} -%description mobile +%description tizen Elementary is a widget set. It is a new-style of widget set much more canvas object based than anything else. Why not ETK? Why not EWL? Well they both tend to veer away from the core of Evas, Ecore and Edje a lot to build their @@ -77,8 +77,8 @@ specifically small touchscreens. Unlike GTK+ and Qt, 75% of the "widget set" is already embodied in a common core - Ecore, Edje, Evas etc. So this fine-grained library splitting means all of this is shared, just a new widget "personality" is on top. And that is... Elementary, my dear watson. -Elementary. This is an alternative package for Tizen mobile/wearable that uses -different set of source code. +Elementary. This is an alternative package for Tizen devices that uses different +set of source code. %package examples Summary: EFL elementary examples @@ -180,29 +180,19 @@ install -m 0644 %SOURCE100 %{buildroot}%{_tmpfilesdir}/elementary.conf %exclude %{_libdir}/libelementary.so.%{version}.mobile %exclude %{_datadir}/elementary/config/ -%post mobile +%post tizen mv %{_libdir}/libelementary.so.%{version}.mobile %{_libdir}/libelementary.so.%{version} /sbin/ldconfig -%preun mobile +%preun tizen mv %{_libdir}/libelementary.so.%{version} %{_libdir}/libelementary.so.%{version}.mobile -%postun mobile -p /sbin/ldconfig +%postun tizen -p /sbin/ldconfig -%files mobile +%files tizen %manifest %{name}.manifest %defattr(-,root,root,-) -%license COPYING -%{_libdir}/edje/* -%{_libdir}/elementary/modules/* -%{_libdir}/*.so.* -%{_datadir}/elementary/edje_externals/* -%{_datadir}/icons/elementary.png -%{_tmpfilesdir}/elementary.conf - -%exclude %{_libdir}/libelementary.so.%{version} -%exclude %{_datadir}/elementary/config/ - +%{_libdir}/libelementary.so.%{version}.mobile %if ! %dbus_unavailable %files examples -- 2.7.4