2 Summary: osp content library
5 Group: System/Libraries
6 License: Apache License, Version 2.0
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(alarm-service)
10 BuildRequires: pkgconfig(chromium)
11 BuildRequires: pkgconfig(aul)
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(capi-content-media-content)
14 BuildRequires: pkgconfig(capi-media-metadata-extractor)
15 BuildRequires: pkgconfig(capi-content-mime-type)
16 BuildRequires: pkgconfig(capi-web-url-download)
17 BuildRequires: pkgconfig(osp-appfw)
18 BuildRequires: osp-appfw-internal-devel
19 BuildRequires: pkgconfig(osp-net)
20 BuildRequires: osp-net-internal-devel
21 BuildRequires: pkgconfig(osp-uifw)
22 BuildRequires: osp-uifw-internal-devel
23 BuildRequires: pkgconfig(osp-media)
24 BuildRequires: osp-media-internal-devel
25 BuildRequires: pkgconfig(osp-image-core)
26 BuildRequires: osp-image-core-internal-devel
27 BuildRequires: pkgconfig(osp-image)
28 BuildRequires: osp-image-internal-devel
29 BuildRequires: pkgconfig(osp-locations)
30 BuildRequires: libexif-devel
31 BuildRequires: libcurl-devel
32 BuildRequires: openssl-devel
40 Requires: osp-locations
41 Requires: capi-web-url-download
43 Requires(post): /sbin/ldconfig
44 Requires(post): coreutils
45 Requires(postun): /sbin/ldconfig
51 Summary: osp content library (Development)
52 Group: TO_BE/FILLED_IN
53 Requires: %{name} = %{version}-%{release}
54 Requires: osp-appfw-devel
55 Requires: osp-uifw-devel
56 Requires: osp-image-core-devel
57 Requires: osp-image-devel
58 Requires: osp-locations-devel
59 Requires: osp-net-devel
62 osp content library (DEV)
64 %package internal-devel
65 Summary: osp content library (Internal)
66 Group: TO_BE/FILLED_IN
67 Requires: %{name} = %{version}-%{release}
69 %description internal-devel
70 osp content library (Internal-DEV)
76 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
79 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
81 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
84 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}
87 # Call make instruction with smp support
92 mkdir -p %{buildroot}/usr/share/license
93 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
97 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %manifest osp-content.manifest
103 /usr/share/license/%{name}
107 %{_includedir}/osp/*.h
108 %{_libdir}/pkgconfig/osp-content.pc
110 %files internal-devel
111 %{_includedir}/osp/content/*.h