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

noreply at tizen.org noreply at tizen.org
Thu Jul 2 08:53:48 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: #38724

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


Message:
Submitter: Wootak Jung <wootak.jung at samsung.com>
Comments: Code sync from tizen_2.4
Git project: platform/core/telephony/tel-plugin-database
Tag: submit/tizen/20150630.051205
Commit: 4589eac9b1aa548b9f2842caa3fc549f045e300a Remove smack command

State:   new        2015-07-02T08:53:21 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.20.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 20
+
+Name:           tel-plugin-database
+VCS:            platform/core/telephony/tel-plugin-database#4589eac9b1aa548b9f2842caa3fc549f045e300a
+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