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(dbus-1)
16 BuildRequires: pkgconfig(ecore)
17 BuildRequires: pkgconfig(edbus)
18 BuildRequires: pkgconfig(eina)
19 BuildRequires: pkgconfig(elementary)
20 BuildRequires: pkgconfig(ethumb)
21 BuildRequires: pkgconfig(evas)
22 BuildRequires: pkgconfig(ewebkit2)
23 BuildRequires: pkgconfig(bundle)
24 BuildRequires: pkgconfig(glib-2.0)
25 BuildRequires: pkgconfig(osp-appfw)
26 BuildRequires: pkgconfig(osp-content)
27 BuildRequires: osp-appfw-internal-devel
28 BuildRequires: osp-content-internal-devel
29 BuildRequires: pkgconfig(osp-net)
30 BuildRequires: osp-net-internal-devel
31 BuildRequires: pkgconfig(osp-uifw)
32 BuildRequires: pkgconfig(osp-content)
33 BuildRequires: osp-uifw-internal-devel
34 BuildRequires: pkgconfig(osp-image-core)
35 BuildRequires: pkgconfig(osp-image)
36 BuildRequires: pkgconfig(osp-media)
37 BuildRequires: osp-media-internal-devel
38 BuildRequires: pkgconfig(osp-json)
39 BuildRequires: pkgconfig(libsoup-2.4)
40 BuildRequires: pkgconfig(vconf)
41 BuildRequires: pkgconfig(openssl)
42 BuildRequires: pkgconfig(haptic)
55 Summary: osp web library (Development)
56 Group: TO_BE/FILLED_IN
57 Requires: %{name} = %{version}-%{release}
63 Summary: osp web library (Development)
64 Group: TO_BE/FILLED_IN
65 Requires: %{name} = %{version}-%{release}
74 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
76 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
78 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}
81 # Call make instruction with smp support
86 mkdir -p %{buildroot}/usr/share/license
87 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 >> %{buildroot}/usr/share/license/%{name}
91 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %manifest osp-web.manifest
97 /usr/share/license/%{name}
98 %{_libdir}/osp/libosp-web.so*
99 %{_libdir}/osp/browser-plugin/*.so
102 %{_includedir}/osp/*.h
103 %{_libdir}/pkgconfig/osp-web.pc
106 %{_libdir}/osp/debug/*.so.*
107 %{_libdir}/osp/browser-plugin/debug/*.so