[Tizen-submit] 19973: Changes to Tizen:Generic/tel-plugin-imc

noreply at tizen.org noreply at tizen.org
Thu Jan 30 10:05:39 GMT 2014


Hi,
Suresh Kumar N have made the following changes to tel-plugin-imc in project Tizen:Generic. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #19973

  submit:       Tizen:Generic:build/tel-plugin-imc(cleanup) -> Tizen:Generic


Message:
Submitter: Suresh Kumar N <suresh.n at samsung.com>
Comments: Fix for PTREL-286
Git project: platform/core/telephony/tel-plugin-imc
Tag: submit/tizen/20140130.101536
Commit: 7127604162e84e453fbab99bd46da533f43683fa Fix For PTREL-286 : Multi-User Architecture Change updated for review comments

State:   new        2014-01-30T10:07:32 tizenrobot
Comment: <no comment>
old:
----
  _service
  _service:gbs:tel-plugin-imc-0.1.42.tar.gz
  _service:gbs:tel-plugin-imc.manifest
  _service:gbs:tel-plugin-imc.spec

new:
----
  tel-plugin-imc-0.1.42.tar.gz
  tel-plugin-imc.manifest
  tel-plugin-imc.spec

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

++++++ new spec file:
--- tel-plugin-imc.spec
+++ tel-plugin-imc.spec
@@ -0,0 +1,67 @@
+#sbs-git:slp/pkgs/t/tel-plugin-imc
+Name:		tel-plugin-imc
+VCS:   platform/core/telephony/tel-plugin-imc#7127604162e84e453fbab99bd46da533f43683fa
+Summary:	imc plugin for telephony
+Version:	0.1.42
+Release:	1
+Group:		Development/Libraries
+License:	Apache-2.0
+Source0:	tel-plugin-imc-%{version}.tar.gz
+Source1001: 	tel-plugin-imc.manifest
+Requires(post):	/sbin/ldconfig
+Requires(postun):/sbin/ldconfig
+BuildRequires:	cmake
+BuildRequires:	pkgconfig(glib-2.0)
+BuildRequires:	pkgconfig(dlog)
+BuildRequires:	pkgconfig(tcore)
+BuildRequires:	pkgconfig(db-util)
+BuildRequires:	pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(libtzplatform-config)
+
+%description
+IMC plugin for telephony
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%cmake .
+make %{?jobs:-j%jobs}
+
+%post
+/sbin/ldconfig
+mkdir -p %{TZ_SYS_DB}
+
+if [ ! -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db ]
+then
+	sqlite3 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
+fi
+
+rm -f /tmp/mcc_mnc_oper_list.sql
+
+if [ -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db ]
+then
+	chmod 600 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db
+fi
+if [ -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db-journal ]
+then
+	chmod 644 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db-journal
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
+%files
+%manifest %{name}.manifest
+
+%defattr(-,root,root,-)
+
+%{_libdir}/telephony/plugins/modems/*
+/tmp/mcc_mnc_oper_list.sql

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


More information about the Tizen-submit mailing list