[Tizen-submit] 15295: Changes to Tizen/livebox.web-provider

noreply at tizen.org noreply at tizen.org
Wed Oct 2 07:47:31 GMT 2013


Hi,
Hoseon LEE have made the following changes to livebox.web-provider in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15295

  submit:       Tizen:build/livebox.web-provider(cleanup) -> Tizen


Message:
Submitter: Hoseon LEE <hoseon46.lee at samsung.com>
Comments: Rebase web-provider
Git project: platform/framework/web/web-provider
Tag: submit/tizen/20131002.074643
Commit: 07ce8c39a40ac2889d3557857d13788a52437a1e Update package spec file for license

State:   new        2013-10-02T07:45:53 tizenrobot
Comment: <no comment>
old:
----
  livebox.web-provider-1.22.1.tar.gz

new:
----
  livebox.web-provider-1.56.tar.gz

spec files:
-----------
--- livebox.web-provider.spec
+++ livebox.web-provider.spec
@@ -1,12 +1,14 @@
+#git:framework/web/web-provider
 Name: livebox.web-provider
 Summary: web framework for livebox 
-Version: 1.22.1
+Version: 1.56
 Release: 1
-VCS:     platform/framework/web/web-provider#submit/tizen/20130517.045629-0-g4786cf1
+VCS:     platform/framework/web/web-provider#submit/tizen/20131002.074643-0-g07ce8c39a40ac2889d3557857d13788a52437a1e
 Group: main/app
 License: Flora License, Version 1.1
 Source0: %{name}-%{version}.tar.gz
 BuildRequires: cmake, gettext-tools
+BuildRequires: libcap, libcap-devel
 BuildRequires: pkgconfig(aul)
 BuildRequires: pkgconfig(appcore-efl)
 BuildRequires: pkgconfig(dlog)
@@ -27,14 +29,6 @@
 BuildRequires: pkgconfig(json-glib-1.0)
 BuildRequires: pkgconfig(capi-appfw-application)
 
-# requires for smack
-# We need to add smack dependancies here on specific criteria
-Requires(post): sys-assert 
-Requires(post): busybox-symlinks-sysklogd
-Requires(post): data-provider-master
-Requires(post): isf
-Requires(post): e17 
-
 %description
 This is web framework responsible to manage liveboxes that consist of web contents
 
@@ -50,12 +44,20 @@
 %setup -q
 
 %build
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+%endif
+
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_PROJECT_VERSION=%{version}
 #-fpie  LDFLAGS="${LDFLAGS} -pie -O3"
-CFLAGS="${CFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jobs}
+CXXFLAGS="${CXXFLAGS} -Wall -Winline -Werror -fno-builtin-malloc" make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.Flora %{buildroot}/usr/share/license/%{name}
 %make_install
 %define app_data /opt/usr/apps/livebox.web-provider/data
 mkdir -p %{buildroot}%{app_data}
@@ -63,11 +65,10 @@
 %post
 killall -9 web-provider
 /usr/bin/web_provider_reset_db.sh
-if [ -f /usr/lib/rpm-plugins/msm.so ]; then
-        echo "smack setting..."
-        chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db
-        chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db-journal
-fi
+echo "smack setting..."
+chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db
+chsmack -a 'livebox.web-provider::db' /opt/usr/dbspace/.web_provider.db-journal
+setfattr -n security.capability -v 0sAQAAAgABAAAAAAAAAgAAAAAAAAA= %{_prefix}/apps/livebox.web-provider/bin/web-provider
 chown 5000:5000 %{app_data}
 chmod 755 %{app_data}
 
@@ -82,6 +83,9 @@
 %{_prefix}/apps/livebox.web-provider/bin/web-provider
 %{_datarootdir}/packages/livebox.web-provider.xml
 %{_prefix}/share/res/*

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list