1 Name: osp-common-service
2 Summary: osp common service
5 Group: System/Libraries
6 License: Apache License, Version 2.0 or Flora
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(glib-2.0)
10 BuildRequires: pkgconfig(chromium)
11 BuildRequires: pkgconfig(capi-appfw-package-manager)
12 BuildRequires: pkgconfig(pkgmgr)
13 BuildRequires: pkgconfig(osp-appfw)
14 BuildRequires: pkgconfig(osp-uifw)
15 BuildRequires: osp-appfw-internal-devel
16 BuildRequires: osp-uifw-internal-devel
17 BuildRequires: pkgconfig(ecore)
18 BuildRequires: pkgconfig(x11)
19 BuildRequires: pkgconfig(utilX)
32 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
34 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
36 CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
39 # Call make instruction with smp support
44 mkdir -p %{buildroot}/usr/share/license
45 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
50 /bin/rm -fr /opt/apps/sjjevolsjk
51 /usr/etc/package-manager/backend/tpk -i /usr/apps/sjjevolsjk
54 /usr/apps/sjjevolsjk/*
55 %manifest osp-common-service.manifest
56 /usr/share/license/%{name}