2 Summary: Gallery application
6 License: TO BE FILLED IN
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
23 Requires: osp-installer
26 Verification application: Gallery
32 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
34 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
36 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
39 # Call make instruction with smp support
49 echo "/usr/etc/package-manager/backend/tpk -i /usr/apps/"${PKG_ID}
50 /usr/etc/package-manager/backend/tpk -i /usr/apps/${PKG_ID}
51 cp -f /usr/lib/osp/osp-ui-app-loader /usr/apps/${PKG_ID}/bin/Gallery
56 echo "/usr/etc/package-manager/backend/tpk -u "${PKG_ID}
57 /usr/etc/package-manager/backend/tpk -u ${PKG_ID}
60 %defattr(-,root,root,-)