Name: apps.Internet Summary: Internet application Version: 1.0.0.1 Release: 1 Group: TO_BE/FILLED_IN License: TO BE FILLED IN Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(osp-content) BuildRequires: pkgconfig(osp-appfw) BuildRequires: osp-appfw-internal-devel BuildRequires: pkgconfig(osp-uifw) BuildRequires: osp-uifw-internal-devel BuildRequires: pkgconfig(osp-media) BuildRequires: osp-media-internal-devel BuildRequires: pkgconfig(osp-image) BuildRequires: osp-image-internal-devel BuildRequires: pkgconfig(osp-net) BuildRequires: osp-net-internal-devel BuildRequires: pkgconfig(osp-shell) BuildRequires: osp-shell-internal-devel BuildRequires: pkgconfig(osp-json) BuildRequires: pkgconfig(osp-web) BuildRequires: pkgconfig(osp-image-core) BuildRequires: pkgconfig(osp-locations) BuildRequires: pkgconfig(osp-shell) BuildRequires: pkgconfig(osp-shell-core) BuildRequires: hash-signer %description Verification application: Internet %prep %setup -q %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} %if 0%{?simulator} CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} %else CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} %endif %else CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} %endif # Call make instruction with smp support make %{?jobs:-j%jobs} %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/license cp LICENSE.Flora %{buildroot}/usr/share/license/%{name} %make_install ###### for package signing step ###### PKG_ID=kmcele1k0n %define tizen_sign 1 %define tizen_sign_base /usr/apps/${PKG_ID} %define tizen_sign_level platform %define tizen_author_sign 1 %define tizen_dist_sign 1 %post /sbin/ldconfig PKG_ID=kmcele1k0n echo "/usr/etc/package-manager/backend/tpk -i /usr/apps/"${PKG_ID} /usr/etc/package-manager/backend/tpk -i /usr/apps/${PKG_ID} cp -f /usr/lib/osp/osp-ui-app-loader /usr/apps/${PKG_ID}/bin/Internet %postun /sbin/ldconfig PKG_ID=kmcele1k0n echo "/usr/etc/package-manager/backend/tpk -u "${PKG_ID} /usr/etc/package-manager/backend/tpk -u ${PKG_ID} %files %defattr(-,root,root,-) /usr/apps/* /usr/share/license/%{name}