1 Name: apps.CertificateSelector
2 Summary: The app-control of the certificate manager
5 Group: Application Framework
6 Url: https://review.tizen.org/git/?p=platform/framework/native/certificate-selector.git;a=summary
8 Source0: %{name}-%{version}.tar.gz
9 Source1001: %{name}.manifest
11 BuildRequires: pkgconfig(osp-appfw)
12 BuildRequires: osp-appfw-internal-devel
13 BuildRequires: pkgconfig(osp-uifw)
14 BuildRequires: hash-signer
16 # smack domain requires
17 Requires(post): osp-security-service
24 The app-control of the certificate manager
31 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
35 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_"
37 CXXFLAGS="$CXXFLAGS -D_OSP_EMUL_"
41 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_"
44 %if 0%{?tizen_build_binary_release_type_eng}
45 CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
48 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
55 ###### for package signing step ######
58 %define tizen_sign_base /usr/apps/${PKG_ID}
59 %define tizen_sign_level platform
60 %define tizen_author_sign 1
61 %define tizen_dist_sign 1
64 /bin/rm -fr /opt/apps/hyCsE05ySM
65 /usr/etc/package-manager/backend/tpk -i /usr/apps/hyCsE05ySM
68 %manifest %{name}.manifest
69 %license LICENSE.Apache-2.0
70 %defattr(-,root,root,-)