2 Summary: osp face library
5 Group: System/Libraries
6 License: TO_BE/FILLED_IN
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(face-engine)
10 BuildRequires: pkgconfig(osp-appfw)
11 BuildRequires: osp-appfw-internal-devel
12 BuildRequires: pkgconfig(osp-uifw)
13 BuildRequires: osp-uifw-internal-devel
15 Provides: libface-engine-plugin.so
26 Summary: osp face library (Development)
27 Group: TO_BE/FILLED_IN
28 Requires: %{name} = %{version}-%{release}
31 osp face library (DEV)
37 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
40 CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
42 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}
45 # Call make instruction with smp support
50 mkdir -p %{buildroot}/usr/share/license
51 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/license/%{name}
52 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
55 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %manifest osp-face.manifest
61 /usr/share/license/%{name}
65 %{_includedir}/osp/*.h
66 %{_libdir}/pkgconfig/osp-face.pc