1 Name: apps.CertificateSelector
2 Summary: The app-control of the certificate manager
6 License: Apache License, Version 2.0
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(osp-appfw)
10 BuildRequires: osp-appfw-internal-devel
11 BuildRequires: pkgconfig(osp-uifw)
12 BuildRequires: hash-signer
14 # smack domain requires
15 Requires(post): osp-security-service
22 The app-control of the certificate manager
28 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
31 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
33 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " 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 -funwind-tables -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.Apache-2.0 %{buildroot}/usr/share/license/%{name}
48 ###### for package signing step ######
51 %define tizen_sign_base /usr/apps/${PKG_ID}
52 %define tizen_sign_level platform
53 %define tizen_author_sign 1
54 %define tizen_dist_sign 1
57 /bin/rm -fr /opt/apps/hyCsE05ySM
58 /usr/etc/package-manager/backend/tpk -i /usr/apps/hyCsE05ySM
61 %manifest apps.CertificateSelector.manifest
62 %defattr(-,root,root,-)
63 /usr/share/license/%{name}