1 %define debug_package %{nil}
2 %define __strip /bin/true
5 Summary: osp social library
8 Group: System/Libraries
9 License: Apache License, Version 2.0
10 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(contacts-service2)
13 BuildRequires: pkgconfig(calendar-service2)
14 BuildRequires: pkgconfig(accounts-svc)
15 BuildRequires: pkgconfig(libwbxml2)
16 BuildRequires: pkgconfig(glib-2.0)
17 BuildRequires: pkgconfig(db-util)
18 BuildRequires: pkgconfig(osp-appfw)
19 BuildRequires: osp-appfw-internal-devel
20 BuildRequires: pkgconfig(osp-uifw)
21 BuildRequires: osp-uifw-internal-devel
22 BuildRequires: pkgconfig(osp-image)
23 BuildRequires: osp-image-internal-devel
24 BuildRequires: pkgconfig(osp-image-core)
25 BuildRequires: osp-image-core-internal-devel
35 Summary: osp social library (Development)
36 Group: TO_BE/FILLED_IN
37 Requires: %{name} = %{version}-%{release}
40 osp social library (DEV)
42 %package internal-devel
43 Summary: osp social library (Internal)
44 Group: TO_BE/FILLED_IN
45 Requires: %{name} = %{version}-%{release}
47 %description internal-devel
48 osp social library (Internal-DEV)
51 Summary: osp social library (Development)
52 Group: TO_BE/FILLED_IN
53 Requires: %{name} = %{version}-%{release}
56 osp social library (DEV)
62 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
64 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
66 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
69 # Call make instruction with smp support
74 mkdir -p %{buildroot}/usr/share/license
75 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
79 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %manifest osp-social.manifest
85 /usr/share/license/%{name}
87 /usr/etc/package-manager/parserlib/libaccount.so
90 %{_includedir}/osp/*.h
91 %{_libdir}/pkgconfig/osp-social.pc
94 %{_includedir}/osp/social/*.h
97 %{_libdir}/osp/debug/*.so*