[Tizen-submit] 19336: New package Tizen:Mobile/tel-plugin-vpc

noreply at tizen.org noreply at tizen.org
Wed Jan 8 02:10:36 GMT 2014


Hi,
Adding new package tel-plugin-vpc in project Tizen:Mobile. Please review and accept ASAP.

Justification for this new package:

Submitter: Caiwen Zhang <caiwen.zhang at intel.com>
Comments: add modem control plugin for geek
Git project: platform/adaptation/intel_clovertrail/tel-plugin-vpc
Tag: submit/tizen/20140108.141432
Commit: 5747e18d682392114cf7fd6ab3cde5fc0c4cec26 fix mode_t conflict with glib issue

Thank You,
Caiwen Zhang

[This message was auto-generated]

---

Request: #19336

  submit:       Tizen:Mobile:build/tel-plugin-vpc(cleanup) -> Tizen:Mobile


Message:
Submitter: Caiwen Zhang <caiwen.zhang at intel.com>
Comments: add modem control plugin for geek
Git project: platform/adaptation/intel_clovertrail/tel-plugin-vpc
Tag: submit/tizen/20140108.141432
Commit: 5747e18d682392114cf7fd6ab3cde5fc0c4cec26 fix mode_t conflict with glib issue

State:   new        2014-01-08T02:08:00 tizenrobot
Comment: <no comment>
new:
----
  tel-plugin-vpc-0.1.0.tar.gz
  tel-plugin-vpc.spec
  telephony.path

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

++++++ new spec file:
--- tel-plugin-vpc.spec
+++ tel-plugin-vpc.spec
@@ -0,0 +1,58 @@
+%define major 0
+%define minor 1
+%define patchlevel 0
+Name:       tel-plugin-vpc
+VCS:        platform/adaptation/intel_clovertrail/tel-plugin-vpc#5747e18d682392114cf7fd6ab3cde5fc0c4cec26
+Summary:    Telephony voice processor control plugin
+Version:    %{major}.%{minor}.%{patchlevel}
+Release:    1
+Group:      Development/Libraries
+License:    Apache-2.0
+Source0:    tel-plugin-vpc-%{version}.tar.gz
+Source1:    telephony.path
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires:       telephony-daemon
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(tcore)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(alsa)
+
+
+%description
+Telephony voice processor control plugin
+
+%prep
+%setup -q
+
+%build
+versionint=$[%{major} * 1000000 + %{minor} * 1000 + %{patchlevel}]
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DVERSION=$versionint
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+install -d %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/
+ln -sf ../telephony.path %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/telephony.path
+
+%post
+/sbin/ldconfig
+rm -rf %{_libdir}/systemd/system/multi-user.target.wants/telephony.service
+
+%postun
+/sbin/ldconfig
+if [ -f %{_libdir}/systemd/system/telephony.service ]; then
+    ln -sf ../telephony.service %{_libdir}/systemd/system/multi-user.target.wants/telephony.service
+fi
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/telephony/plugins/vpc-plugin*
+/usr/share/license/tel-plugin-vpc
+%{_libdir}/systemd/system/multi-user.target.wants/telephony.path
+%{_libdir}/systemd/system/telephony.path

other changes:
--------------

++++++ tel-plugin-vpc-0.1.0.tar.gz (new)

++++++ telephony.path (new)
--- telephony.path
+++ telephony.path
@@ -0,0 +1,5 @@
+[Unit]
+Description=Path activation for the "telephony" programme
+
+[Path]
+PathExists=/tmp/.pa_ready


More information about the Tizen-submit mailing list