1 %define debug_package %{nil}
2 %define __strip /bin/true
5 Summary: The Shell library of OSP
9 License: Apache License, Version 2.0 or Flora
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(capi-appfw-application)
13 BuildRequires: pkgconfig(capi-appfw-app-manager)
14 BuildRequires: pkgconfig(capi-appfw-package-manager)
15 BuildRequires: pkgconfig(chromium)
16 BuildRequires: pkgconfig(osp-appfw)
17 BuildRequires: pkgconfig(osp-uifw)
18 BuildRequires: pkgconfig(evas)
19 BuildRequires: pkgconfig(ecore)
20 BuildRequires: pkgconfig(elementary)
21 BuildRequires: pkgconfig(notification)
22 BuildRequires: pkgconfig(appsvc)
23 BuildRequires: pkgconfig(pkgmgr)
24 BuildRequires: pkgconfig(minicontrol-provider)
25 BuildRequires: pkgconfig(x11)
26 BuildRequires: pkgconfig(xext)
27 BuildRequires: pkgconfig(xfixes)
28 BuildRequires: pkgconfig(xdamage)
29 BuildRequires: pkgconfig(libdri2)
30 BuildRequires: pkgconfig(libdrm)
31 BuildRequires: pkgconfig(libtbm)
32 BuildRequires: pkgconfig(dri2proto)
33 BuildRequires: pkgconfig(glib-2.0)
34 BuildRequires: pkgconfig(provider)
35 BuildRequires: pkgconfig(livebox-viewer)
36 BuildRequires: pkgconfig(livebox-service)
37 BuildRequires: pkgconfig(libdri2)
38 BuildRequires: pkgconfig(libdrm)
39 BuildRequires: pkgconfig(shortcut)
40 BuildRequires: pkgconfig(osp-image-core)
41 BuildRequires: pkgconfig(osp-media)
42 BuildRequires: pkgconfig(osp-net)
43 BuildRequires: pkgconfig(vconf)
44 BuildRequires: osp-image-core-internal-devel
45 BuildRequires: osp-appfw-internal-devel
46 BuildRequires: osp-uifw-internal-devel
47 BuildRequires: boost-devel
48 BuildRequires: pkgconfig(badge)
56 Provides: libosp-shell.so.1
58 Requires(post): /sbin/ldconfig
59 Requires(post): coreutils
60 Requires(postun): /sbin/ldconfig
63 The Shell library of OSP
66 Summary: The Shell library of OSP (Development)
67 Group: TO_BE/FILLED_IN
68 Requires: %{name} = %{version}-%{release}
71 The Shell library of OSP (DEV)
73 %package internal-devel
74 Summary: osp shell internel (Internal)
75 Group: TO_BE/FILLED_IN
76 Requires: %{name} = %{version}-%{release}
78 %description internal-devel
79 The Shell library of OSP (Internal-DEV)
82 Summary: The Shell library of OSP (Development)
83 Group: TO_BE/FILLED_IN
84 Requires: %{name} = %{version}-%{release}
87 The Shell library of OSP (debug)
94 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
96 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=x86
98 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_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=arm
101 # Call make instruction with smp support
102 make %{?jobs:-j%jobs}
106 mkdir -p %{buildroot}/usr/share/license
107 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
108 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
112 %post -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
117 %manifest osp-shell.manifest
118 /usr/share/license/%{name}
122 %{_includedir}/osp/*.h
123 %{_libdir}/pkgconfig/osp-shell.pc
125 %files internal-devel
126 %{_includedir}/osp/shell/*
130 %{_libdir}/osp/debug/*.so*