2 Summary: osp application loader
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: osp-loader.manifest
10 BuildRequires: pkgconfig(aul)
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(libprivilege-control)
15 Requires: osp-env-config
18 osp application loader
25 %ifarch %{ix86} x86_64
26 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" %cmake .
28 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 -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" %cmake .
31 # Call make instruction with smp support
36 mkdir -p %{buildroot}/usr/share/license
37 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
41 mkdir -p %{buildroot}/opt/usr/apps
44 %manifest %{name}.manifest
45 /usr/share/license/%{name}