[Tizen-submit] 43497: New package Tizen:IVI:Panda/service-adaptor

noreply at tizen.org noreply at tizen.org
Mon Sep 14 11:48:12 GMT 2015


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

Justification for this new package:

Submitter: HyungGi Lee <hyunggi.lee at samsung.com>
Comments: revert service-adaptor to M1 release
Git project: platform/core/convergence/service-adaptor
Tag: submit/tizen/20150914.114621
Commit: 7d3111e756e68092604cc97cac2f485f7936ae2f Modify systemd service

Thank You,
HyungGi Lee

[This message was auto-generated]

---

Request: #43497

  submit:       Tizen:IVI:Panda:build/service-adaptor at 15(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: HyungGi Lee <hyunggi.lee at samsung.com>
Comments: revert service-adaptor to M1 release
Git project: platform/core/convergence/service-adaptor
Tag: submit/tizen/20150914.114621
Commit: 7d3111e756e68092604cc97cac2f485f7936ae2f Modify systemd service

State:   new        2015-09-14T11:47:27 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:org.tizen.serviceadaptor.client.conf.in
  _service:gbs:org.tizen.serviceadaptor.client.service
  _service:gbs:service-adaptor-1.1.3.tar.gz
  _service:gbs:service-adaptor.service
  _service:gbs:service-adaptor.spec

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

++++++ new spec file:
--- _service:gbs:service-adaptor.spec
+++ _service:gbs:service-adaptor.spec
@@ -0,0 +1,98 @@
+Name:       service-adaptor
+VCS:        platform/core/convergence/service-adaptor#7d3111e756e68092604cc97cac2f485f7936ae2f
+Summary:    Service Adaptor Framework for Convergence
+Version:    1.1.3
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1:    service-adaptor.service
+Source2:    org.tizen.serviceadaptor.client.service
+
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(dlog)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  pkgconfig(gthread-2.0)
+BuildRequires:  pkgconfig(capi-base-common)
+BuildRequires:  pkgconfig(capi-appfw-application)
+BuildRequires:  pkgconfig(capi-appfw-app-manager)
+BuildRequires:  pkgconfig(capi-appfw-package-manager)
+BuildRequires:  pkgconfig(libsmack)
+BuildRequires:  pkgconfig(service-discovery)
+BuildRequires:  pkgconfig(service-federation)
+BuildRequires:  service-discovery-devel
+BuildRequires:  service-federation-devel
+
+%description
+Service Adaptor Framework Library/Binary package
+
+%package -n service-adaptor-devel
+Summary:    Headers for Service Adaptor Framework (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description -n service-adaptor-devel
+This package contains the header and pc files of Service Adaptor.
+
+%prep
+%setup -q
+
+%build
+export CFLAGS="${CFLAGS} -fPIC -Wall -g -fvisibility=hidden -fdata-sections -ffunction-sections"
+export CXXFLAGS="${CXXFLAGS} -fPIC -Wall -g -fvisibility=hidden"
+export LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
+
+%if 0%{?sec_build_binary_debug_enable}
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
+%endif
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+        -DLIB_INSTALL_DIR:PATH=%{_libdir} \
+	-DTZ_SYS_USER_GROUP=%TZ_SYS_USER_GROUP \
+	-DTZ_SYS_DEFAULT_USER=%TZ_SYS_DEFAULT_USER
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_unitdir_user}/default.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_unitdir_user}/service-adaptor.service
+ln -s ../service-adaptor.service %{buildroot}%{_unitdir_user}/default.target.wants/service-adaptor.service
+
+mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services
+install -m 0644 %SOURCE2 %{buildroot}%{_datadir}/dbus-1/system-services/org.tizen.serviceadaptor.client.service

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


More information about the Tizen-submit mailing list