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

noreply at tizen.org noreply at tizen.org
Tue Apr 8 08:05:15 GMT 2014


Hi,
Dongchul Lim 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: #25432

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


Message:
Submitter: Dongchul Lim <dc7.lim at samsung.com>
Comments: Initial refactoring merge
Git project: platform/core/telephony/tel-plugin-imc
Tag: submit/tizen/20140408.080437
Commit: f6fa5175e76b859cb2a3d1d2f6de33835a857c8a Initial refactoring merge

State:   new        2014-04-08T08:04:04 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-3.0.1.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,72 @@
+#sbs-git:slp/pkgs/t/tel-plugin-imc
+%define major 3
+%define minor 0
+%define patchlevel 1
+
+Name:		tel-plugin-imc
+VCS:   platform/core/telephony/tel-plugin-imc#f6fa5175e76b859cb2a3d1d2f6de33835a857c8a
+Summary:	imc plugin for telephony
+Version:        %{major}.%{minor}.%{patchlevel}
+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)
+BuildRequires:	pkgconfig(vconf)
+
+%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

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


More information about the Tizen-submit mailing list