2 Summary: Gallery application
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(osp-appfw)
10 BuildRequires: pkgconfig(osp-content)
11 BuildRequires: pkgconfig(osp-image)
12 BuildRequires: pkgconfig(osp-image-core)
13 BuildRequires: pkgconfig(osp-locations)
14 BuildRequires: pkgconfig(osp-media)
15 BuildRequires: pkgconfig(osp-net)
16 BuildRequires: pkgconfig(osp-uifw)
17 BuildRequires: osp-appfw-internal-devel
18 BuildRequires: osp-image-internal-devel
19 BuildRequires: osp-media-internal-devel
20 BuildRequires: osp-net-internal-devel
21 BuildRequires: osp-uifw-internal-devel
22 BuildRequires: hash-signer
24 Requires: osp-installer
27 Verification application: Gallery
33 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
36 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
38 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
41 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
44 # Call make instruction with smp support
49 mkdir -p %{buildroot}/usr/share/license
50 cp LICENSE.Flora %{buildroot}/usr/share/license/%{name}
52 ###### for package signing step ######
55 %define tizen_sign_base /usr/apps/${PKG_ID}
56 %define tizen_sign_level platform
57 %define tizen_author_sign 1
58 %define tizen_dist_sign 1
64 echo "/usr/etc/package-manager/backend/tpk -i /usr/apps/"${PKG_ID}
65 /usr/etc/package-manager/backend/tpk -i /usr/apps/${PKG_ID}
66 cp -f /usr/lib/osp/osp-ui-app-loader /usr/apps/${PKG_ID}/bin/Gallery
71 echo "/usr/etc/package-manager/backend/tpk -u "${PKG_ID}
72 /usr/etc/package-manager/backend/tpk -u ${PKG_ID}
75 %defattr(-,root,root,-)
77 /usr/share/license/%{name}