build: Change policy for elementary-mobile from replacement to add-on 64/123364/3
authorJeeyong Um <conr2d@gmail.com>
Wed, 5 Apr 2017 09:03:40 +0000 (18:03 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 12 Apr 2017 09:55:10 +0000 (02:55 -0700)
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Id60028fc796f3a7b746ff4da24433adc313c6b3f

packaging/elementary.spec

index 833fc87..b1861ae 100644 (file)
@@ -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