[Tizen-submit] 20698: New package Tizen:IVI:Genivi/tel-plugin-packetservice

noreply at tizen.org noreply at tizen.org
Fri Jan 31 06:11:56 GMT 2014


Hi,
Adding new package tel-plugin-packetservice in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.060934
Git project: platform/core/telephony/tel-plugin-packetservice
Tag: submit/tizen_ivi_genivi/20140131.060934
Commit: c27df6a115c29b8dd3c66944cc1d91792ec8b147 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20698

  submit:       Tizen:IVI:Genivi:build/tel-plugin-packetservice(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.060934
Git project: platform/core/telephony/tel-plugin-packetservice
Tag: submit/tizen_ivi_genivi/20140131.060934
Commit: c27df6a115c29b8dd3c66944cc1d91792ec8b147 resetting manifest requested domain to floor

State:   new        2014-01-31T06:12:59 tizenrobot
Comment: <no comment>
new:
----
  tel-plugin-packetservice-0.1.34.tar.gz
  tel-plugin-packetservice.manifest
  tel-plugin-packetservice.spec

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

++++++ new spec file:
--- tel-plugin-packetservice.spec
+++ tel-plugin-packetservice.spec
@@ -0,0 +1,69 @@
+Name:       tel-plugin-packetservice
+VCS:        platform/core/telephony/tel-plugin-packetservice#c27df6a115c29b8dd3c66944cc1d91792ec8b147
+Summary:    Telephony Packet Service library
+Version:    0.1.34
+Release:    1
+Group:      System/Libraries
+License:    Apache
+Source0:    tel-plugin-packetservice-%{version}.tar.gz
+Source1001: 	tel-plugin-packetservice.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(tcore)
+BuildRequires:  pkgconfig(iniparser)
+
+%description
+Telephony Packet Service library
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%cmake . -DSYSCONFDIR=%{_sysconfdir}
+make %{?jobs:-j%jobs}
+
+%post 
+/sbin/ldconfig
+
+#create db
+mkdir -p /opt/dbspace
+
+if [ ! -f /opt/dbspace/.dnet.db ]
+then
+  sqlite3 /opt/dbspace/.dnet.db < /usr/share/ps-plugin/dnet_db.sql
+  sqlite3 /opt/dbspace/.dnet.db < /usr/share/ps-plugin/dnet_db_data.sql
+fi
+
+rm -f /usr/share/ps-plugin/dnet_db.sql
+rm -f /usr/share/ps-plugin/dnet_db_data.sql
+
+#change file permission
+if [ -f /opt/dbspace/.dnet.db ]
+then
+  chmod 660 /opt/dbspace/.dnet.db
+fi
+
+if [ -f /opt/dbspace/.dnet.db-journal ]
+then
+  chmod 664 /opt/dbspace/.dnet.db-journal
+fi
+
+%postun -p /sbin/ldconfig
+
+%install
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+/usr/share/ps-plugin/dnet_db.sql
+/usr/share/ps-plugin/dnet_db_data.sql
+%{_sysconfdir}/dbus-1/system.d/*
+%{_libdir}/telephony/plugins/ps-plugin*
+/usr/share/license/tel-plugin-packetservice

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


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


More information about the Tizen-submit mailing list