[Tizen-submit] 40489: New package Tizen:IVI:Panda/mmsvc-core

noreply at tizen.org noreply at tizen.org
Fri Jul 31 05:36:26 GMT 2015


Hi,
Adding new package mmsvc-core in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: Wait to destroy the client memory until to close the data channel
Git project: platform/core/multimedia/mmsvc-core
Tag: submit/tizen/20150731.053257
Commit: 74183dea16cf71bf77e347e43717236ffff68d6c Wait to destroy the client memory until to close the data channel

Thank You,
Jeon Hee Chul

[This message was auto-generated]

---

Request: #40489

  submit:       Tizen:IVI:Panda:build/mused at 5(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Jeon Hee Chul <heechul.jeon at samsung.com>
Comments: Wait to destroy the client memory until to close the data channel
Git project: platform/core/multimedia/mmsvc-core
Tag: submit/tizen/20150731.053257
Commit: 74183dea16cf71bf77e347e43717236ffff68d6c Wait to destroy the client memory until to close the data channel

State:   new        2015-07-31T05:36:03 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:mused-0.1.1.tar.gz
  _service:gbs:mused.service
  _service:gbs:mused.socket
  _service:gbs:mused.spec

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

++++++ new spec file:
--- _service:gbs:mused.spec
+++ _service:gbs:mused.spec
@@ -0,0 +1,89 @@
+Name:       mused
+VCS:        platform/core/multimedia/mmsvc-core#74183dea16cf71bf77e347e43717236ffff68d6c
+Summary:    A Media Daemon library in Tizen Native API
+Version:    0.1.1
+Release:    0
+Group:      Multimedia/Service
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1:    mused.service
+Source2:    mused.socket
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(mm-common)
+BuildRequires:  pkgconfig(iniparser)
+BuildRequires:  pkgconfig(json-c)
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+
+%package devel
+Summary:  A Media Daemon library in Tizen (Development)
+Group:    Multimedia/Service
+Requires: %{name} = %{version}-%{release}
+Requires:  pkgconfig(mm-common)
+Requires:  pkgconfig(iniparser)
+%description devel
+
+%prep
+%setup -q
+
+
+%build
+%if 0%{?sec_build_binary_debug_enable}
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -D_GNU_SOURCE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE -D_GNU_SOURCE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE -D_GNU_SOURCE"
+%endif
+MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DLIBDIR=%{_libdir}
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/usr/bin
+cp mused-server %{buildroot}/usr/bin
+
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/mused.service
+ln -s ../mused.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/mused.service
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/sockets.target.wants
+install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/mused.socket
+ln -s ../mused.socket %{buildroot}%{_libdir}/systemd/system/sockets.target.wants/mused.socket
+
+%post
+/sbin/ldconfig
+chown 200:200 %{_libdir}/systemd/system/mused.socket
+
+%postun -p /sbin/ldconfig
+

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


More information about the Tizen-submit mailing list