1 %define debug_package %{nil}
2 %define __strip /bin/true
5 Summary: osp web library
8 Group: System/Libraries
9 License: TO_BE/FILLED_IN
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(capi-appfw-application)
13 BuildRequires: pkgconfig(capi-network-connection)
14 BuildRequires: pkgconfig(capi-web-favorites)
15 BuildRequires: pkgconfig(capi-content-media-content)
16 BuildRequires: pkgconfig(dbus-1)
17 BuildRequires: pkgconfig(ecore)
18 BuildRequires: pkgconfig(edbus)
19 BuildRequires: pkgconfig(eina)
20 BuildRequires: pkgconfig(elementary)
21 BuildRequires: pkgconfig(ethumb)
22 BuildRequires: pkgconfig(evas)
23 BuildRequires: pkgconfig(ewebkit2)
24 BuildRequires: pkgconfig(bundle)
25 BuildRequires: pkgconfig(glib-2.0)
26 BuildRequires: pkgconfig(osp-appfw)
27 BuildRequires: pkgconfig(osp-content)
28 BuildRequires: osp-appfw-internal-devel
29 BuildRequires: osp-content-internal-devel
30 BuildRequires: pkgconfig(osp-net)
31 BuildRequires: osp-net-internal-devel
32 BuildRequires: pkgconfig(osp-uifw)
33 BuildRequires: pkgconfig(osp-content)
34 BuildRequires: osp-uifw-internal-devel
35 BuildRequires: pkgconfig(osp-image-core)
36 BuildRequires: pkgconfig(osp-image)
37 BuildRequires: pkgconfig(osp-media)
38 BuildRequires: osp-media-internal-devel
39 BuildRequires: pkgconfig(osp-json)
40 BuildRequires: pkgconfig(libsoup-2.4)
41 BuildRequires: pkgconfig(vconf)
42 BuildRequires: pkgconfig(openssl)
43 BuildRequires: pkgconfig(haptic)
56 Summary: osp web library (Development)
57 Group: TO_BE/FILLED_IN
58 Requires: %{name} = %{version}-%{release}
63 %package internal-devel
64 Summary: osp web framework internel (Internal)
65 Group: TO_BE/FILLED_IN
66 Requires: %{name} = %{version}-%{release}
68 %description internal-devel
69 The Web Framework library of OSP (Internal-DEV)
72 Summary: osp web library (Development)
73 Group: TO_BE/FILLED_IN
74 Requires: %{name} = %{version}-%{release}
83 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
85 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
87 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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
90 # Call make instruction with smp support
95 mkdir -p %{buildroot}/usr/share/license
96 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 >> %{buildroot}/usr/share/license/%{name}
100 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
105 %manifest osp-web.manifest
106 /usr/share/license/%{name}
107 %{_libdir}/osp/libosp-web.so*
108 %{_libdir}/osp/browser-plugin/*.so
111 %{_includedir}/osp/*.h
112 %{_libdir}/pkgconfig/osp-web.pc
114 %files internal-devel
115 %{_includedir}/osp/web/controls/*.h
118 %{_libdir}/osp/debug/*.so.*
119 %{_libdir}/osp/browser-plugin/debug/*.so