+++ /dev/null
-gi2qxenosh system::homedir r-x--
-gi2qxenosh system::use_internet r----
-gi2qxenosh system::vconf rwx--
-gi2qxenosh sys-assert::core rwxa-
-gi2qxenosh syslogd -w---
-gi2qxenosh pkgmgr::db rw---
-gi2qxenosh ail::db rw---
-gi2qxenosh notification::db rw---
-gi2qxenosh xorg -w---
-gi2qxenosh isf r-x--
-gi2qxenosh data-provider-master -w---
-gi2qxenosh data-provider-master::share --x--
-gi2qxenosh osp::system-server-res r-x--
-Name: osp-appwidget-service
+Name: osp-appwidget-service
Summary: osp appwidget service
Version: 1.2.2.0
Release: 2
Group: System/Libraries
-License: Apache License, Version 2.0
+License: Flora
Source0: %{name}-%{version}.tar.gz
-Source1: %{name}.rule
BuildRequires: cmake
BuildRequires: pkgconfig(chromium)
BuildRequires: pkgconfig(capi-appfw-application)
Requires: osp-appfw
Requires: osp-shell
Requires: data-provider-master
-
+
%description
osp appwidget service
%prep
%setup -q
-%build
+%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%ifarch %{ix86}
CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
%make_install
PKG_ID=gi2qxenosh
%define tizen_sign 1
-%define tizen_sign_base /usr/apps/${PKG_ID}
+%define tizen_sign_base /usr/apps/gi2qxenosh
%define tizen_sign_level platform
%define tizen_author_sign 1
%define tizen_dist_sign 1
-mkdir -p %{buildroot}/opt/etc/smack/accesses.d
-install -m 644 %{SOURCE1} %{buildroot}/opt/etc/smack/accesses.d/osp-appwidget-service.rule
-
%post
/usr/etc/package-manager/backend/tpk -i /usr/apps/gi2qxenosh
cp -f %{_libdir}/osp/osp-system-service-loader /usr/apps/gi2qxenosh/bin/%{name}
-#%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
/usr/share/license/%{name}
-/usr/apps/*
-/opt/etc/smack/accesses.d/osp-appwidget-service.rule
-/usr/apps/gi2qxenosh/author-signature.xml
-/usr/apps/gi2qxenosh/signature1.xml
+/usr/apps/*
\ No newline at end of file