[Tizen-submit] 5338: Changes to Tizen/wrt-commons

noreply at tizen.org noreply at tizen.org
Mon May 20 11:14:29 GMT 2013


Hi,
Prajwal Mohan have made the following changes to wrt-commons in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5338

  submit:       Tizen:build/wrt-commons(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.020313
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20130517.020313
Commit: 5835a89 Update User Agent String

State:   accepted   2013-05-16T20:58:00 pkarurmo
Comment: Ok

History: new        2013-05-16T19:00:36 tizenrobot
new:
----
  wrt-commons-0.2.54.tar.gz
  wrt-commons.spec

spec files:
-----------

++++++ new spec file:
--- wrt-commons.spec
+++ wrt-commons.spec
@@ -0,0 +1,123 @@
+#sbs-git:slp/pkgs/w/wrt-commons wrt-commons 0.2.54
+Name:       wrt-commons
+Summary:    Wrt common library
+Version:    0.2.54
+Release:    1
+VCS:        platform/framework/web/wrt-commons#submit/tizen/20130517.020313-0-g5835a89
+Group:      Development/Libraries
+License:    Apache License, Version 2.0
+URL:        N/A
+Source0:    %{name}-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(ecore)
+BuildRequires:  pkgconfig(appcore-efl)
+BuildRequires:  pkgconfig(libssl)
+BuildRequires:  pkgconfig(sqlite3)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(db-util)
+BuildRequires:  pkgconfig(zlib)
+BuildRequires:  pkgconfig(libpcrecpp)
+BuildRequires:  pkgconfig(icu-i18n)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(libiri)
+BuildRequires:  pkgconfig(libidn)
+
+%description
+Wrt common library
+
+%package devel
+Summary:    Wrt common library development headers
+Group:      Development/Libraries
+Requires:   %{name} = %{version}
+
+%description devel
+Wrt common library development headers
+
+%prep
+%setup -q
+
+%build
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
+
+cmake . -DVERSION=%{version} \
+        -DDPL_LOG="OFF"      \
+        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+        -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%post
+mkdir -p /opt/apps/widget/system
+mkdir -p /opt/apps/widget/user
+mkdir -p /opt/apps/widget/exec
+mkdir -p /opt/apps/widget/data/Public
+mkdir -p /usr/lib/wrt-plugins
+
+if [ -z ${2} ]; then
+    echo "This is new install of wrt-commons"
+    echo "Calling /usr/bin/wrt_commons_reset_db.sh"
+    /usr/bin/wrt_commons_reset_db.sh
+else
+    # Find out old and new version of databases
+    WRT_OLD_DB_VERSION=`sqlite3 /opt/dbspace/.wrt.db ".tables" | grep "DB_VERSION_"`
+    WRT_NEW_DB_VERSION=`cat /usr/share/wrt-engine/wrt_db.sql | tr '[:blank:]' '\n' | grep DB_VERSION_`
+    echo "OLD wrt database version ${WRT_OLD_DB_VERSION}"

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


More information about the Tizen-submit mailing list