[Tizen-submit] 42633: Changes to Tizen:IVI:Panda/tel-plugin-database

noreply at tizen.org noreply at tizen.org
Thu Sep 3 02:18:01 GMT 2015


Hi,
Wootak Jung have made the following changes to tel-plugin-database in project Tizen:IVI:Panda. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #42633

  submit:       Tizen:IVI:Panda:build/tel-plugin-database at 4(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Wootak Jung <wootak.jung at samsung.com>
Comments: Sync from SPIN branch
Git project: platform/core/telephony/tel-plugin-database
Tag: submit/tizen/20150903.021205
Commit: ede5fa45006f5853b4b9fb52e4f8480aa99b5b1a Sync from SPIN branch

State:   new        2015-09-03T02:17:36 tizenrobot
Comment: <no comment>
old:
----
  tel-plugin-database-3.0.1.tar.gz
  tel-plugin-database.manifest
  tel-plugin-database.spec

new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:tel-plugin-database-0.1.21.tar.gz
  _service:gbs:tel-plugin-database.spec

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

++++++ new spec file:
--- _service:gbs:tel-plugin-database.spec
+++ _service:gbs:tel-plugin-database.spec
@@ -0,0 +1,75 @@
+%define major 0
+%define minor 1
+%define patchlevel 21
+
+Name:           tel-plugin-database
+VCS:            platform/core/telephony/tel-plugin-database#ede5fa45006f5853b4b9fb52e4f8480aa99b5b1a
+Version:        %{major}.%{minor}.%{patchlevel}
+Release:        1
+License:        Apache-2.0
+Summary:        Telephony DataBase storage plugin
+Group:          System/Libraries
+Source0:        tel-plugin-database-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(db-util)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(tcore)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+Telephony DataBase storage plugin
+
+%prep
+%setup -q
+
+%build
+versionint=$[%{major} * 1000000 + %{minor} * 1000 + %{patchlevel}]
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DLIB_INSTALL_DIR=%{_libdir} \
+	-DVERSION=$versionint \
+%if 0%{?sec_product_feature_telephony_cdma}
+    -DOPERATOR_CDMA=1 \
+%endif
+
+make %{?_smp_mflags}
+
+%post
+/sbin/ldconfig
+
+mkdir -p /opt/dbspace
+
+rm -f /opt/dbspace/.mcc_mnc_oper_list.db
+sqlite3 /opt/dbspace/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
+rm -f /tmp/mcc_mnc_oper_list.sql
+
+chmod 600 /opt/dbspace/.mcc_mnc_oper_list.db
+chown system:system /opt/dbspace/.mcc_mnc_oper_list.db
+chmod 644 /opt/dbspace/.mcc_mnc_oper_list.db-journal
+chown system:system /opt/dbspace/.mcc_mnc_oper_list.db-journal
+
+%if 0%{?sec_product_feature_telephony_cdma}
+	rm -f /opt/dbspace/.mcc_sid_list.db
+	sqlite3 /opt/dbspace/.mcc_sid_list.db < /tmp/mcc_sid_list.sql
+	rm -f /tmp/mcc_sid_list.sql
+	chmod 600 /opt/dbspace/.mcc_sid_list.db
+	chown system:system /opt/dbspace/.mcc_mnc_oper_list.db
+	chmod 644 /opt/dbspace/.mcc_sid_list.db-journal
+	chown system:system /opt/dbspace/.mcc_mnc_oper_list.db-journal
+%endif
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_datadir}/license
+

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


More information about the Tizen-submit mailing list