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

noreply at tizen.org noreply at tizen.org
Fri Jun 19 07:56:50 GMT 2015


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

Justification for this new package:

Submitter: HaJun, Sung <hajun.sung at samsung.com>
Comments: Fix to support aarch64 build
Git project: platform/core/convergence/service-adaptor
Tag: submit/tizen/20150619.075554
Commit: f29fa9083283bc1ea0981e4523b0bf9c4e9d45d0 Fix to support aarch64 build

Thank You,
HaJun, Sung

[This message was auto-generated]

---

Request: #38102

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


Message:
Submitter: HaJun, Sung <hajun.sung at samsung.com>
Comments: Fix to support aarch64 build
Git project: platform/core/convergence/service-adaptor
Tag: submit/tizen/20150619.075554
Commit: f29fa9083283bc1ea0981e4523b0bf9c4e9d45d0 Fix to support aarch64 build

State:   new        2015-06-19T07:56:30 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:org.tizen.serviceadaptor.client.conf
  _service:gbs:org.tizen.serviceadaptor.client.service
  _service:gbs:service-adaptor-1.1.0.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#f29fa9083283bc1ea0981e4523b0bf9c4e9d45d0
+Summary:    Service Adaptor Framework for Convergence
+Version:    1.1.0
+Release:    1
+Group:      System/Libraries
+License:    Apache-2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1:    service-adaptor.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}
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
+ln -sf ../service-adaptor.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/
+
+mkdir -p %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants
+cp %SOURCE1 %{buildroot}/usr/lib/systemd/user/service-adaptor.service
+ln -s ../service-adaptor.service %{buildroot}/usr/lib/systemd/user/tizen-middleware.target.wants/
+
+mkdir -p %{buildroot}/usr/share/license

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


More information about the Tizen-submit mailing list