X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fapp-core.spec;h=3775ca2ff43162925373858547ffef0c2bcefea9;hb=634ee44ee1ad18bc2308b3a73e1197b05215629f;hp=d28720c855cb767bc4c8c99f5f040582e1facba7;hpb=ceeae6608d8b3c181ab5028f895e2785596450d9;p=platform%2Fcore%2Fappfw%2Fapp-core.git diff --git a/packaging/app-core.spec b/packaging/app-core.spec index d28720c..3775ca2 100644 --- a/packaging/app-core.spec +++ b/packaging/app-core.spec @@ -1,19 +1,17 @@ -%bcond_with x -%bcond_with wayland - Name: app-core Summary: Application basic -Version: 1.2 +Version: 1.8.2 Release: 0 Group: Application Framework/Libraries License: Apache-2.0 +AutoReq: no Source0: app-core-%{version}.tar.gz -%if %{with x} -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(ecore-x) -%endif +BuildRequires: pkgconfig(ecore-wayland) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(tizen-extension-client) +BuildRequires: pkgconfig(wayland-tbm-client) Source1001: app-core.manifest -BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(sensor) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(aul) @@ -23,8 +21,11 @@ BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(libtzplatform-config) +BuildRequires: pkgconfig(pkgmgr-info) +BuildRequires: pkgconfig(ttrace) BuildRequires: cmake +BuildRequires: pkgconfig(capi-system-info) +BuildRequires: pkgconfig(voice-control-elm) %description SLP common application basic @@ -49,6 +50,23 @@ Requires: %{name}-common-devel = %{version}-%{release} %description efl-devel Application basic EFL (devel) +%package multiwindow +Summary: Application core for multiwindow +Group: Development/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description multiwindow +Application core for multiwindow + +%package multiwindow-devel +Summary: Application core for multiwindow (devel) +Group: Development/Libraries +Requires: %{name}-multiwindow = %{version}-%{release} +Requires: %{name}-common-devel = %{version}-%{release} + +%description multiwindow-devel +Application core for multiwindow (devel) %package common Summary: App basics common @@ -64,9 +82,10 @@ Application basics common Summary: App basics common (devel) Group: Development/Libraries Requires: %{name}-common = %{version}-%{release} -%if %{with x} -Requires: pkgconfig(x11) -%endif +Requires: pkgconfig(sensor) +Requires: pkgconfig(vconf) +Requires: pkgconfig(elementary) +Requires: pkgconfig(aul) %description common-devel Application basics common (devel) @@ -79,22 +98,16 @@ Group: Development/Libraries %description template Application basics template - %prep %setup -q cp %{SOURCE1001} . - %build - +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . \ -%if %{with wayland} --Dwith_wayland=TRUE\ -%endif -%if %{with x} --Dwith_x11=TRUE\ -%endif --DENABLE_GTK=OFF + -DENABLE_GTK=OFF \ + -DFULLVER=%{version} \ + -DMAJORVER=${MAJORVER} make %{?_smp_mflags} @@ -108,6 +121,10 @@ rm -rf %{buildroot} %postun -n app-core-efl -p /sbin/ldconfig +%post -n app-core-multiwindow -p /sbin/ldconfig + +%postun -n app-core-multiwindow -p /sbin/ldconfig + %post -n app-core-common -p /sbin/ldconfig %postun -n app-core-common -p /sbin/ldconfig @@ -115,27 +132,36 @@ rm -rf %{buildroot} %files efl %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-efl.so.* %license LICENSE %files efl-devel %manifest %{name}.manifest -%defattr(-,root,root,-) %{_includedir}/appcore/appcore-efl.h +%{_includedir}/appcore/appcore_ui_base.h %{_libdir}/libappcore-efl.so %{_libdir}/pkgconfig/appcore-efl.pc +%files multiwindow +%manifest %{name}.manifest +%{_libdir}/libappcore-multiwindow.so.* +%license LICENSE + +%files multiwindow-devel +%manifest %{name}.manifest +%{_includedir}/appcore/appcore_multiwindow_base.h +%{_libdir}/libappcore-multiwindow.so +%{_libdir}/pkgconfig/appcore-multiwindow.pc + %files common %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-common.so.* %license LICENSE %files common-devel %manifest %{name}.manifest -%defattr(-,root,root,-) %{_libdir}/libappcore-common.so %{_libdir}/pkgconfig/appcore-common.pc %{_includedir}/appcore/appcore-common.h -%{_includedir}/SLP_Appcore_PG.h +%{_includedir}/appcore/appcore_base.h +