Name: apps.CertificateSelector Summary: The app-control of the certificate manager Version: 1.2.1.0 Release: 1 Group: TO_BE/FILLED_IN License: Apache License, Version 2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(osp-appfw) BuildRequires: osp-appfw-internal-devel BuildRequires: pkgconfig(osp-uifw) Requires: chromium Requires: osp-security-service Requires: pkgmgr %description The app-control of the certificate manager %prep %setup -q %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} %else 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} %endif # Call make instruction with smp support make %{?jobs:-j%jobs} %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/license cp %{_builddir}/%{name}-%{version}/LICENSE.Apache-2.0 %{buildroot}/usr/share/license/%{name} %make_install %post /sbin/ldconfig PKG_ID=hyCsE05ySM pkgcmd -q -i -t tpk -p /usr/apps/${PKG_ID} %postun /sbin/ldconfig PKG_ID=hyCsE05ySM pkgcmd -q -u -t tpk -n ${PKG_ID} %files %defattr(-,root,root,-) /usr/share/license/%{name} /usr/apps/*